Enum Class DesignationType

java.lang.Object
java.lang.Enum<DesignationType>
org.projecthusky.valueset.enums.DesignationType
All Implemented Interfaces:
Serializable, Comparable<DesignationType>, Constable

public enum DesignationType extends Enum<DesignationType>
The Class DesignationType. Designations are language dependent display names for the code. For any language there might be multiple, each specifying the type (fully specified name, preferred, synonym, ...). See also: https://art-decor.org/mediawiki/index.php?title=DECOR-terminology
Die Klasse DesignationType enthält Bezeichnungen in Form von sprachabhängigen Anzeigenamen für den Code. Für jede Sprache kann es mehrere geben, die jeweils den Typ angeben (vollständiger Name, bevorzugter Name, Synonym, ...). Siehe auch: https://art-decor.org/mediawiki/index.php?title=DECOR-terminology
  • Enum Constant Details

    • PREFERRED

      public static final DesignationType PREFERRED
      Preferred designation as specified by Art-DECOR.
    • SYNONYM

      public static final DesignationType SYNONYM
      Synonym designation as specified by Art-DECOR.
    • ABBREVIATION

      public static final DesignationType ABBREVIATION
      abbreviation designation as specified by Art-DECOR.
    • FULLY_SPECIFIED_NAME

      public static final DesignationType FULLY_SPECIFIED_NAME
      The fully specified name designation as specified by Art-DECOR.
  • Method Details

    • values

      public static DesignationType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DesignationType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getEnum

      public static DesignationType getEnum(String code)
      Gets the Enum with a given code
      Liefert den Enum anhand eines gegebenen codes
      Parameters:
      code -
      code
      Returns:
      the enum