All Implemented Interfaces:
Serializable

public class EnumSchemaType extends SimpleSchemaType
EnumSchemaType describes a schema element that has a a fixed set of values.
See Also:
  • Constructor Details

    • EnumSchemaType

      public EnumSchemaType()
      Default constructor used by subclasses
    • EnumSchemaType

      public EnumSchemaType(EnumSchemaType template)
      Copy/clone Constructor.
      Parameters:
      template - template object to copy.
  • Method Details

    • getValidValueSetGUID

      public String getValidValueSetGUID()
      Return the unique identifier of the valid value set that lists the valid values of this enumeration.
      Returns:
      string guid
    • setValidValueSetGUID

      public void setValidValueSetGUID(String validValueSetGUID)
      Set up the unique identifier of the valid value set that lists the valid values of this enumeration.
      Parameters:
      validValueSetGUID - string guid
    • cloneSchemaElement

      public SchemaElement cloneSchemaElement()
      Returns a clone of this object as the abstract SchemaElement class.
      Overrides:
      cloneSchemaElement in class SchemaType
      Returns:
      SchemaElement
    • cloneSchemaType

      public SchemaType cloneSchemaType()
      Returns a clone of this object as the abstract SchemaType class.
      Overrides:
      cloneSchemaType in class SchemaType
      Returns:
      PrimitiveSchemaType object
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class SimpleSchemaType
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class SimpleSchemaType
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class SimpleSchemaType
      Returns:
      int