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
-
Method Summary
Modifier and TypeMethodDescriptionasClass()
Get this property MetaClass.<T> Datatype<T>
Get this property Datatype.Get this property Enumeration.boolean
isClass()
Is this property a reference?boolean
Is this property of a simple type?boolean
isEnum()
Is this property an enumeration?toString()
Methods inherited from class io.jmix.core.metamodel.model.impl.AbstractRange
getCardinality, isOrdered, setCardinality, setOrdered
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.jmix.core.metamodel.model.Range
getCardinality, isOrdered
-
Constructor Details
-
ClassRange
-
-
Method Details
-
asClass
Description copied from interface:Range
Get this property MetaClass. Throws IllegalStateException if this property is not a reference. -
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 interfaceRange
-
asEnumeration
Description copied from interface:Range
Get this property Enumeration. Throws IllegalStateException if this property is not an enumeration.- Specified by:
asEnumeration
in interfaceRange
-
isClass
public boolean isClass()Description copied from interface:Range
Is this property a reference? -
isDatatype
public boolean isDatatype()Description copied from interface:Range
Is this property of a simple type?- Specified by:
isDatatype
in interfaceRange
-
isEnum
public boolean isEnum()Description copied from interface:Range
Is this property an enumeration? -
toString
-