ilog.rules.bom.util

Class IlrModelUtilities

  • java.lang.Object
    • ilog.rules.bom.util.IlrModelUtilities


  • public class IlrModelUtilities
    extends java.lang.Object
    Utility class for using model elements.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static IlrModelElement getModelElement(java.util.Collection modelElements, java.lang.String name)
      Returns the first model element in the list having the given name.
      static IlrModelElement nextModelElement(java.util.Iterator i, java.lang.String name)
      Returns the next model element in the iterator having the given name.
      static IlrType[] parseSignature(IlrMutableObjectModel model, java.lang.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(java.util.Collection modelElements,
                                      java.lang.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(java.util.Iterator i,
                                       java.lang.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.

© Copyright IBM Corp. 1987, 2017