Rule Execution Server API

ilog.rules.bom
Interface IlrTypeVariable

All Superinterfaces:
IlrModelElement, IlrProperties, IlrTransientProperties, IlrType
All Known Subinterfaces:
IlrMutableTypeVariable
All Known Implementing Classes:
IlrDynamicTypeVariable

public interface IlrTypeVariable
extends IlrType

This interface represents a type variable of a generic type.

Since:
JRules 6.0

Method Summary
 IlrType[] getBounds()
          Returns the bounds of this type variable.
 IlrModelElement getDeclaringElement()
          Returns the element in which this type variable is declared.
 void setBounds(IlrType[] bounds)
          Sets the bounds of this type variable.
 
Methods inherited from interface ilog.rules.bom.IlrType
detach, getArrayClass, getArrayType, getComponentType, getDomain, getFullyQualifiedRawName, getJavaClass, getNativeClass, getRawName, isArray, isClass, isEnum, isMissingReference, isPrimitiveType, isTypeVariable, isWildcardType
 
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

getDeclaringElement

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

Returns:
The declaring element. A method or a class.

getBounds

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

Returns:
The bounds of this type variable.

setBounds

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

Parameters:
bounds - The bounds.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013