Class YEnumValue

All Implemented Interfaces:
Comparable<YEnumValue>

public class YEnumValue extends YTypeSystemElement implements Comparable<YEnumValue>
  • Constructor Details

  • Method Details

    • getCode

      public String getCode()
    • getEnumTypeCode

      public String getEnumTypeCode()
    • getEnumType

      public YEnumType getEnumType()
    • isDefault

      public boolean isDefault()
    • setDefault

      public void setDefault(boolean isDefault)
    • getPosition

      public int getPosition()
    • setPosition

      public void setPosition(int position)
    • compareTo

      public int compareTo(YEnumValue enumValue)
      Specified by:
      compareTo in interface Comparable<YEnumValue>
    • getDefaultMetaTypeCode

      protected String getDefaultMetaTypeCode()
      Specified by:
      getDefaultMetaTypeCode in class YTypeSystemElement
    • validate

      public void validate()
      Description copied from class: YNameSpaceElement
      Validates the element. This should check whether or not lazy references can be resolved or any data is missing.
      Overrides:
      validate in class YTypeSystemElement
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)