Class EnumType

  • All Implemented Interfaces:
    Serializable

    public final class EnumType
    extends Reference
    Represent an enum type in the Schema.
    Author:
    Phillip Kruger (phillip.kruger@redhat.com)
    See Also:
    Enum, Serialized Form
    • Constructor Detail

      • EnumType

        public EnumType()
    • Method Detail

      • setDescription

        public void setDescription​(String description)
      • getDescription

        public String getDescription()
      • setValues

        public void setValues​(Set<EnumValue> values)
      • addValue

        public void addValue​(EnumValue value)
      • hasValues

        public boolean hasValues()