public interface IlrType extends IlrModelElement
| Modifier and Type | Method and Description |
|---|---|
void |
detach()
Detaches this type from its associated Java class.
|
IlrClass |
getArrayClass()
Returns the type "array of this type".
|
IlrType |
getArrayType()
Returns the type "array of this type".
|
IlrType |
getComponentType()
Returns the component type if this type is an array type,
null otherwise. |
IlrDomain |
getDomain()
Returns the domain of the type.
|
java.lang.String |
getFullyQualifiedRawName()
Returns the fully qualified raw name of this type.
|
java.lang.Class |
getJavaClass()
Deprecated.
Use
getNativeClass instead. |
java.lang.Class |
getNativeClass()
Returns the native class represented by this
IlrType, or null. |
java.lang.String |
getRawName()
Returns the raw name of this type.
|
boolean |
isArray()
Returns
true if this type is an array class. |
boolean |
isClass()
Returns
true if the type is a class. |
boolean |
isEnum()
Returns
true if the type is an enum. |
boolean |
isMissingReference()
Returns
true if this type is a missing reference. |
boolean |
isPrimitiveType()
Returns
true if the type is a primitive type. |
boolean |
isTypeVariable()
Returns
true if the type is a type variable. |
boolean |
isWildcardType()
Returns
true if the type is a wild card type. |
getEnclosingNamespace, getFullyQualifiedName, getName, getObjectModelisPropertyPersistent, setPersistentProperty, setPersistentPropertygetPropertyValue, getPropertyValue, propertyNames, removeProperty, setPropertyValuejava.lang.String getRawName()
IlrModelElement.getName().java.lang.String getFullyQualifiedRawName()
IlrModelElement.getFullyQualifiedName().boolean isPrimitiveType()
true if the type is a primitive type.true if the type is an instance of
IlrPrimitiveType.boolean isEnum()
true if the type is an enum.true if the type is an instance of
IlrEnum.boolean isClass()
true if the type is a class.true if the type is a class (see IlrClass).boolean isMissingReference()
true if this type is a missing reference.
A missing reference stands for a missing type in a business object model.boolean isTypeVariable()
true if the type is a type variable.true if the type is a type variable (see IlrTypeVariable).boolean isWildcardType()
true if the type is a wild card type.true if the type is a wild card type (see IlrWildcardType).IlrDomain getDomain()
null if the type does not have
a domain.
Note: The returned domain may be the super type domain if it is applicable, thus be careful if you want to change it.
IlrType getArrayType()
IlrClass getArrayClass()
boolean isArray()
true if this type is an array class.IlrType getComponentType()
null otherwise.java.lang.Class getJavaClass()
getNativeClass instead.null.java.lang.Class getNativeClass()
IlrType, or null.void detach()
java.lang.UnsupportedOperationException - If the type cannot be detached.© Copyright IBM Corp. 1987, 2017