Enum Class AttributeDataType.LocalizationHint

java.lang.Object
java.lang.Enum<AttributeDataType.LocalizationHint>
se.conciliate.extensions.attribute.AttributeDataType.LocalizationHint
All Implemented Interfaces:
Serializable, Comparable<AttributeDataType.LocalizationHint>, Constable
Enclosing interface:
AttributeDataType

public static enum AttributeDataType.LocalizationHint extends Enum<AttributeDataType.LocalizationHint>
  • Enum Constant Details

    • FULLY

      public static final AttributeDataType.LocalizationHint FULLY
      The refinements are completely localized, meaning an attribute type should have different refinements set in all languages. The refinements in the different languages may differ both in structure (number of refinement elements, number of rows/columns in those element) and in content (the content of the elements). For example, a data type describing a persons height may in English have both meters and feet (for britts and americans) while in French it only has meters. This means the refinement must be different both in structure and content.
    • CONTENT

      public static final AttributeDataType.LocalizationHint CONTENT
      The refinements are content localized, meaning an attribute type should have refinements that are identical in structure in all languages while the content of them may change. For example, a "choice" data type, such as drop-downs or checkboxes, should generally have the same choices in all languages, but you still want the choices' labels to be localized. This means the refinements are structurally identical but the content may differ.
    • NONE

      public static final AttributeDataType.LocalizationHint NONE
      No localization. The exact same refinement should be used in all languages. A change in any one refinement on an attribute type will be mirrored to other refinements on that attribute type.
  • Method Details

    • values

      public static AttributeDataType.LocalizationHint[] 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 AttributeDataType.LocalizationHint 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