public class ClassRange extends AbstractRange implements Range
Range.Cardinality
Constructor and Description |
---|
ClassRange(MetaClass metaClass) |
Modifier and Type | Method and Description |
---|---|
MetaClass |
asClass()
Get this property MetaClass.
|
Datatype |
asDatatype()
Get this property Datatype.
|
Enumeration |
asEnumeration()
Get this property Enumeration.
|
boolean |
isClass()
Is this property a reference?
|
boolean |
isDatatype()
Is this property of a simple type?
|
boolean |
isEnum()
Is this property an enumeration?
|
java.lang.String |
toString() |
getCardinality, isOrdered, setCardinality, setOrdered
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCardinality, isOrdered
public ClassRange(MetaClass metaClass)
public MetaClass asClass()
Range
public Datatype asDatatype()
Range
asDatatype
in interface Range
public Enumeration asEnumeration()
Range
asEnumeration
in interface Range
public boolean isClass()
Range
public boolean isDatatype()
Range
isDatatype
in interface Range
public boolean isEnum()
Range
public java.lang.String toString()
toString
in class java.lang.Object