Rule Execution Server API

ilog.rules.bom
Interface IlrGenericInfo

All Known Subinterfaces:
IlrClass.IlrGenericClassInfo, IlrMethod.IlrGenericMethodInfo

public interface IlrGenericInfo

This interface provides the information for generic elements such as classes or methods and instantiations of those generic elements.

Since:
JRules 6.0

Method Summary
 IlrType[] getTypeParameters()
          Returns the type parameters of the generic type.
 boolean isFullyBound()
          Returns true if the class is fully bound, that is, if parameters do not refer to any type variable.
 IlrType mapParameter(IlrType originParameter)
          Returns the parameter in this binding that corresponds to the originParameter, or the originParameter itself if there is none.
 

Method Detail

getTypeParameters

IlrType[] getTypeParameters()
Returns the type parameters of the generic type.


isFullyBound

boolean isFullyBound()
Returns true if the class is fully bound, that is, if parameters do not refer to any type variable.


mapParameter

IlrType mapParameter(IlrType originParameter)
Returns the parameter in this binding that corresponds to the originParameter, or the originParameter itself if there is none.

Parameters:
originParameter - An instance of IlrType.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013