Rule Execution Server API

ilog.rules.bom.dynamic
Class IlrDynamicTypeVariable

java.lang.Object
  extended by ilog.rules.bom.dynamic.IlrDynamicModelElement
      extended by ilog.rules.bom.dynamic.IlrDynamicType
          extended by ilog.rules.bom.dynamic.IlrDynamicTypeVariable
All Implemented Interfaces:
IlrModelElement, IlrProperties, IlrTransientProperties, IlrType, IlrTypeVariable, IlrMutableModelElement, IlrMutableType, IlrMutableTypeVariable, Serializable

public class IlrDynamicTypeVariable
extends IlrDynamicType
implements IlrMutableTypeVariable

An implementation of the IlrTypeVariable 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.

Since:
JRules 6.0
See Also:
Serialized Form

Method Summary
 void detach()
          Detaches this type from its associated Java class.
 IlrType[] getBounds()
          Returns the bounds of this type variable.
 IlrModelElement getDeclaringElement()
          Returns the element in which this type variable is declared.
 IlrNamespace getEnclosingNamespace()
          Returns null
 Class getNativeClass()
          Returns null
 boolean isTypeVariable()
          Returns true if the type is a type variable.
 void setBounds(IlrType[] bounds)
          Sets the bounds of this type variable.
 
Methods inherited from class ilog.rules.bom.dynamic.IlrDynamicType
getArrayClass, getArrayType, getComponentType, getFullyQualifiedRawName, getRawName, isArray, isClass, isEnum, isPrimitiveType, isWildcardType
 
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.mutable.IlrMutableModelElement
getMutableObjectModel
 
Methods inherited from interface ilog.rules.bom.IlrType
getArrayClass, getArrayType, getComponentType, getDomain, getFullyQualifiedRawName, getJavaClass, getRawName, isArray, isClass, isEnum, isMissingReference, isPrimitiveType, isWildcardType
 
Methods inherited from interface ilog.rules.bom.IlrModelElement
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

isTypeVariable

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

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

setBounds

public void setBounds(IlrType[] bounds)
Sets the bounds of this type variable.

Specified by:
setBounds in interface IlrTypeVariable
Parameters:
bounds - The bounds.

getEnclosingNamespace

public IlrNamespace getEnclosingNamespace()
Returns null

Specified by:
getEnclosingNamespace in interface IlrModelElement
Returns:
a namespace or null

getNativeClass

public Class getNativeClass()
Returns null

Specified by:
getNativeClass in interface IlrType

detach

public void detach()
Detaches this type from its associated Java class.

Specified by:
detach in interface IlrType
Throws:
UnsupportedOperationException - if the type cannot be detached.

getDeclaringElement

public IlrModelElement getDeclaringElement()
Returns the element in which this type variable is declared. It can be a generic method or a generic class.

Specified by:
getDeclaringElement in interface IlrTypeVariable
Returns:
The declaring element. A method or a class.

getBounds

public IlrType[] getBounds()
Returns the bounds of this type variable. This corresponds the bounds that can be set using the keyword extends in Java.

Specified by:
getBounds in interface IlrTypeVariable
Returns:
the bounds of this type variable.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013