public class DatatypeRange extends AbstractRange implements Range
Range.Cardinality| Constructor and Description |
|---|
DatatypeRange(Datatype datatype) |
| 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, setOrderedequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCardinality, isOrderedpublic DatatypeRange(Datatype datatype)
public MetaClass asClass()
Rangepublic Datatype asDatatype()
RangeasDatatype in interface Rangepublic Enumeration asEnumeration()
RangeasEnumeration in interface Rangepublic boolean isClass()
Rangepublic boolean isDatatype()
RangeisDatatype in interface Rangepublic boolean isEnum()
Rangepublic java.lang.String toString()
toString in class java.lang.Object