Class EnumerationRange

java.lang.Object
io.jmix.core.metamodel.model.impl.AbstractRange
io.jmix.core.metamodel.model.impl.EnumerationRange
All Implemented Interfaces:
Range

public class EnumerationRange extends AbstractRange implements Range
  • Constructor Details

    • EnumerationRange

      public EnumerationRange(Enumeration enumeration)
  • Method Details

    • asClass

      public MetaClass asClass()
      Description copied from interface: Range
      Get this property MetaClass. Throws IllegalStateException if this property is not a reference.
      Specified by:
      asClass in interface Range
    • asDatatype

      public <T> Datatype<T> asDatatype()
      Description copied from interface: Range
      Get this property Datatype. Throws IllegalStateException if this property is not of a simple type.
      Specified by:
      asDatatype in interface Range
    • asEnumeration

      public Enumeration asEnumeration()
      Description copied from interface: Range
      Get this property Enumeration. Throws IllegalStateException if this property is not an enumeration.
      Specified by:
      asEnumeration in interface Range
    • isClass

      public boolean isClass()
      Description copied from interface: Range
      Is this property a reference?
      Specified by:
      isClass in interface Range
    • isDatatype

      public boolean isDatatype()
      Description copied from interface: Range
      Is this property of a simple type?
      Specified by:
      isDatatype in interface Range
    • isEnum

      public boolean isEnum()
      Description copied from interface: Range
      Is this property an enumeration?
      Specified by:
      isEnum in interface Range
    • toString

      public String toString()
      Overrides:
      toString in class Object