Interface Range

All Known Implementing Classes:
AbstractRange, ClassRange, DatatypeRange, EnumerationRange

public interface Range
Object encapsulating common properties of MetaProperty.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Relation type for reference property
  • Method Summary

    Modifier and Type
    Method
    Description
    Get this property MetaClass.
    <T> Datatype<T>
    Get this property Datatype.
    Get this property Enumeration.
    Get relation type for this property if it is a reference.
    boolean
    Is this property a reference?
    boolean
    Is this property of a simple type?
    boolean
    Is this property an enumeration?
    boolean
    Is this property ordered? True for ordered collections.
  • Method Details

    • isDatatype

      boolean isDatatype()
      Is this property of a simple type?
    • isClass

      boolean isClass()
      Is this property a reference?
    • isEnum

      boolean isEnum()
      Is this property an enumeration?
    • asDatatype

      <T> Datatype<T> asDatatype()
      Get this property Datatype. Throws IllegalStateException if this property is not of a simple type.
    • asEnumeration

      Enumeration asEnumeration()
      Get this property Enumeration. Throws IllegalStateException if this property is not an enumeration.
    • asClass

      MetaClass asClass()
      Get this property MetaClass. Throws IllegalStateException if this property is not a reference.
    • isOrdered

      boolean isOrdered()
      Is this property ordered? True for ordered collections.
    • getCardinality

      Range.Cardinality getCardinality()
      Get relation type for this property if it is a reference.