Enum Class FieldType

java.lang.Object
java.lang.Enum<FieldType>
ch.nolix.systemapi.midschema.fieldproperty.FieldType
All Implemented Interfaces:
Serializable, Comparable<FieldType>, Constable

public enum FieldType extends Enum<FieldType>
Author:
Silvan Wyss
  • Enum Constant Details

    • VALUE_FIELD

      public static final FieldType VALUE_FIELD
    • OPTIONAL_VALUE_FIELD

      public static final FieldType OPTIONAL_VALUE_FIELD
    • MULTI_VALUE_FIELD

      public static final FieldType MULTI_VALUE_FIELD
    • REFERENCE

      public static final FieldType REFERENCE
    • OPTIONAL_REFERENCE

      public static final FieldType OPTIONAL_REFERENCE
    • MULTI_REFERENCE

      public static final FieldType MULTI_REFERENCE
    • BACK_REFERENCE

      public static final FieldType BACK_REFERENCE
    • OPTIONAL_BACK_REFERENCE

      public static final FieldType OPTIONAL_BACK_REFERENCE
    • MULTI_BACK_REFERENCE

      public static final FieldType MULTI_BACK_REFERENCE
  • Method Details

    • values

      public static FieldType[] 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 FieldType 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
    • fromSpecification

      public static FieldType fromSpecification(INode<?> specification)
    • getBaseType

      public BaseFieldType getBaseType()
    • getCardinality

      public Cardinality getCardinality()