Rule Execution Server API

ilog.rules.bom.util
Class IlrModelUtilities

java.lang.Object
  extended by ilog.rules.bom.util.IlrModelUtilities

public class IlrModelUtilities
extends Object

Utility class for using model elements.


Constructor Summary
IlrModelUtilities()
           
 
Method Summary
static IlrModelElement getModelElement(Collection modelElements, String name)
          Returns the first model element in the list having the given name.
static IlrModelElement nextModelElement(Iterator i, String name)
          Returns the next model element in the iterator having the given name.
static IlrType[] parseSignature(IlrMutableObjectModel model, String signature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrModelUtilities

public IlrModelUtilities()
Method Detail

getModelElement

public static IlrModelElement getModelElement(Collection modelElements,
                                              String name)
Returns the first model element in the list having the given name. or null if there is no such element.

Parameters:
modelElements - A list containing model elements.
name - A character string.
Returns:
The first model element with the given name or null.

nextModelElement

public static IlrModelElement nextModelElement(Iterator i,
                                               String name)
Returns the next model element in the iterator having the given name.

Parameters:
i - An iterator containing model elements.
name - A character string
Returns:
A model element or null.

parseSignature

public static IlrType[] parseSignature(IlrMutableObjectModel model,
                                       String signature)

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013