Class YEnumType


public class YEnumType extends YComposedType
  • Constructor Details

  • Method Details

    • allowMetaTypeInheritanceFrom

      protected boolean allowMetaTypeInheritanceFrom(YComposedType superType)
      Dont inherit meta type from 'normal' composed types - using default meta type instead.
      Overrides:
      allowMetaTypeInheritanceFrom in class YComposedType
    • isRootEnumType

      protected boolean isRootEnumType()
    • getDefaultMetaTypeCode

      protected String getDefaultMetaTypeCode()
      Overrides:
      getDefaultMetaTypeCode in class YComposedType
    • 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 YComposedType
    • getValues

      public List<YEnumValue> getValues()
    • getDefaultValue

      public Object getDefaultValue()
    • isDynamic

      public boolean isDynamic()
    • setDynamic

      public void setDynamic(boolean dynamic)
    • getModelPackage

      public String getModelPackage()
    • setModelPackage

      public void setModelPackage(String modelPackage)