Class DatatypeRange

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

public class DatatypeRange extends AbstractRange implements Range
  • Constructor Details

    • DatatypeRange

      public DatatypeRange(Datatype datatype)
  • 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