Rule Execution Server API

ilog.rules.bom.dynamic
Class IlrDynamicType

java.lang.Object
  extended by ilog.rules.bom.dynamic.IlrDynamicModelElement
      extended by ilog.rules.bom.dynamic.IlrDynamicType
All Implemented Interfaces:
IlrModelElement, IlrProperties, IlrTransientProperties, IlrType, IlrMutableModelElement, IlrMutableType, Serializable
Direct Known Subclasses:
IlrDynamicClass, IlrDynamicEnum, IlrDynamicTypeVariable, IlrDynamicWildcardType

public abstract class IlrDynamicType
extends IlrDynamicModelElement
implements Serializable, IlrMutableType

An implementation of the IlrType interface.

Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of IBM Decision Server.

See Also:
Serialized Form

Method Summary
 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.
 String getFullyQualifiedRawName()
          Returns the fully qualified raw name of this type.
 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 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 class ilog.rules.bom.dynamic.IlrDynamicModelElement
fireUpdate, fireUpdate, fixType, getFullyQualifiedName, getMutableObjectModel, getName, getObjectModel, getPropertyValue, getPropertyValue, hasListeners, isPropertyPersistent, propertyNames, removeProperty, setPersistentProperty, setPersistentProperty, setPropertyValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableType
setDomain
 
Methods inherited from interface ilog.rules.bom.IlrType
detach, getDomain, getJavaClass, getNativeClass, isMissingReference
 
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableModelElement
getMutableObjectModel
 
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

isPrimitiveType

public boolean isPrimitiveType()
Returns true if the type is a primitive type.

Specified by:
isPrimitiveType in interface IlrType
Returns:
true if the type is an instance of IlrPrimitiveType

isEnum

public boolean isEnum()
Returns true if the type is an enum.

Specified by:
isEnum in interface IlrType
Returns:
true if the type is an instance of IlrEnum

isClass

public boolean isClass()
Returns true if the type is a class.

Specified by:
isClass in interface IlrType
Returns:
true if the type is an instance of IlrClass

isTypeVariable

public boolean isTypeVariable()
Returns true if the type is a type variable.

Specified by:
isTypeVariable in interface IlrType
Since:
JRules 6.0
Returns:
true if the type is a type variable (see IlrTypeVariable).

isWildcardType

public boolean isWildcardType()
Returns true if the type is a wild card type.

Specified by:
isWildcardType in interface IlrType
Since:
JRules 6.0
Returns:
true if the type is a wild card type (see IlrWildcardType).

isArray

public boolean isArray()
Returns true if this type is an array class.

Specified by:
isArray in interface IlrType

getArrayType

public IlrType getArrayType()
Description copied from interface: IlrType
Returns the type "array of this type".

Specified by:
getArrayType in interface IlrType
Returns:
the type "array of this type".

getArrayClass

public IlrClass getArrayClass()
Description copied from interface: IlrType
Returns the type "array of this type".

Specified by:
getArrayClass in interface IlrType
Returns:
the type "array of this type".

getComponentType

public IlrType getComponentType()
Returns the component type if this type is an array type, null otherwise.

Specified by:
getComponentType in interface IlrType

getRawName

public String getRawName()
Description copied from interface: IlrType
Returns the raw name of this type. For a generic type, the raw name is the name without the generic parameters. For a non-generic type, it returns the name of the type, as returned by IlrModelElement.getName().

Specified by:
getRawName in interface IlrType

getFullyQualifiedRawName

public String getFullyQualifiedRawName()
Description copied from interface: IlrType
Returns the fully qualified raw name of this type. For a generic type, the fully qualified raw name is the fully qualified name without the generic parameters. For a non-generic type, it returns the name of the type, as returned by IlrModelElement.getFullyQualifiedName().

Specified by:
getFullyQualifiedRawName in interface IlrType

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013