|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IlrType
This interface is used to represent types in an object model.
Method Summary | |
---|---|
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. |
String |
getFullyQualifiedRawName()
Returns the fully qualified raw name of this type. |
Class |
getJavaClass()
Deprecated. Use getNativeClass instead. |
Class |
getNativeClass()
Returns the native class represented by this IlrType , or null . |
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. |
Methods inherited from interface ilog.rules.bom.IlrModelElement |
---|
getEnclosingNamespace, getFullyQualifiedName, getName, getObjectModel |
Methods inherited from interface ilog.rules.bom.IlrProperties |
---|
isPropertyPersistent, setPersistentProperty, setPersistentProperty |
Methods inherited from interface ilog.rules.bom.IlrTransientProperties |
---|
getPropertyValue, getPropertyValue, propertyNames, removeProperty, setPropertyValue |
Method Detail |
---|
String getRawName()
IlrModelElement.getName()
.
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.
Class getJavaClass()
getNativeClass
instead.
null
.
Class getNativeClass()
IlrType
, or null
.
void detach()
UnsupportedOperationException
- If the type cannot be detached.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |