Class ClassRange
java.lang.Object
io.jmix.core.metamodel.model.impl.AbstractRange
io.jmix.core.metamodel.model.impl.ClassRange
- All Implemented Interfaces:
Range
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.core.metamodel.model.Range
Range.Cardinality -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasClass()Get this property MetaClass.<T> Datatype<T>Get this property Datatype.Get this property Enumeration.booleanisClass()Is this property a reference?booleanIs this property of a simple type?booleanisEnum()Is this property an enumeration?toString()Methods inherited from class io.jmix.core.metamodel.model.impl.AbstractRange
getCardinality, isOrdered, setCardinality, setOrderedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.jmix.core.metamodel.model.Range
getCardinality, isOrdered
-
Constructor Details
-
ClassRange
-
-
Method Details
-
asClass
Description copied from interface:RangeGet this property MetaClass. Throws IllegalStateException if this property is not a reference. -
asDatatype
Description copied from interface:RangeGet this property Datatype. Throws IllegalStateException if this property is not of a simple type.- Specified by:
asDatatypein interfaceRange
-
asEnumeration
Description copied from interface:RangeGet this property Enumeration. Throws IllegalStateException if this property is not an enumeration.- Specified by:
asEnumerationin interfaceRange
-
isClass
public boolean isClass()Description copied from interface:RangeIs this property a reference? -
isDatatype
public boolean isDatatype()Description copied from interface:RangeIs this property of a simple type?- Specified by:
isDatatypein interfaceRange
-
isEnum
public boolean isEnum()Description copied from interface:RangeIs this property an enumeration? -
toString
-