Package io.jmix.core.metamodel.model
Interface Range
- All Known Implementing Classes:
- AbstractRange,- ClassRange,- DatatypeRange,- EnumerationRange
public interface Range
Object encapsulating common properties of 
MetaProperty.- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumRelation type for reference property
- 
Method SummaryModifier and TypeMethodDescriptionasClass()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.booleanisClass()Is this property a reference?booleanIs this property of a simple type?booleanisEnum()Is this property an enumeration?booleanIs this property ordered? True for ordered collections.
- 
Method Details- 
isDatatypeboolean isDatatype()Is this property of a simple type?
- 
isClassboolean isClass()Is this property a reference?
- 
isEnumboolean isEnum()Is this property an enumeration?
- 
asDatatypeGet this property Datatype. Throws IllegalStateException if this property is not of a simple type.
- 
asEnumerationEnumeration asEnumeration()Get this property Enumeration. Throws IllegalStateException if this property is not an enumeration.
- 
asClassMetaClass asClass()Get this property MetaClass. Throws IllegalStateException if this property is not a reference.
- 
isOrderedboolean isOrdered()Is this property ordered? True for ordered collections.
- 
getCardinalityRange.Cardinality getCardinality()Get relation type for this property if it is a reference.
 
-