Class AbstractDescriptionType

    • Constructor Detail

      • AbstractDescriptionType

        public AbstractDescriptionType​(UID uid,
                                       String label,
                                       @Nullable String description)
                                throws IllegalArgumentException
        Creates a new instance of this class with the specified parameters.
        Parameters:
        uid - the unique identifier which identifies the according type within the overall system (must neither be null, nor empty)
        label - the human readable label for the according type (must neither be null nor empty)
        description - the human readable description for the according type (could be null or empty)
        Throws:
        IllegalArgumentException - if the UID is null, or the label is null or empty
    • Method Detail

      • getUID

        public UID getUID()
        Returns the unique identifier which identifies the according type within the overall system.
        Specified by:
        getUID in interface Identifiable<UID>
        Returns:
        the unique identifier which identifies the according type within the overall system (neither null, nor empty)
      • getLabel

        public String getLabel()
        Returns the human readable label for the according type.
        Returns:
        the human readable label for the according type (neither null, nor empty)
      • getDescription

        public @Nullable String getDescription()
        Returns the human readable description for the according type.
        Returns:
        the human readable description for the according type (could be null or empty)