Enum Class PropertyDefinition.PropertyAttribute

java.lang.Object
java.lang.Enum<PropertyDefinition.PropertyAttribute>
org.gcube.informationsystem.types.reference.properties.PropertyDefinition.PropertyAttribute
All Implemented Interfaces:
Serializable, Comparable<PropertyDefinition.PropertyAttribute>, Constable
Enclosing interface:
PropertyDefinition

public static enum PropertyDefinition.PropertyAttribute extends Enum<PropertyDefinition.PropertyAttribute>
Documents the fixed, schema-level attributes every property field carries in a Type Schema -- a glossary of the schema language itself, not a specific property's actual value (that is what PropertyDefinition's own getters return). Primarily consumed by documentation generation.
  • Enum Constant Details

  • Method Details

    • values

      public static PropertyDefinition.PropertyAttribute[] 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 PropertyDefinition.PropertyAttribute 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
    • getLabel

      public String getLabel()
      Returns the display label of this attribute, e.g. for documentation generation.
      Returns:
      The label.
    • getDescription

      public String getDescription()
      Returns a human-readable description of this attribute, e.g. for documentation generation.
      Returns:
      The description.