ilog.rules.dt.model.provider

Interface IlrDTDataProvider

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.util.Collection getChildren(java.lang.Object object, IlrDTDefinition definition)
      Returns the child elements of the object.
      java.util.Collection getObjects(IlrDTDefinition definition)
      Returns the root elements of the provided data.
      java.util.Map getProperties(java.lang.Object object)
      Not used in basic use of IlrDTDataProvider.
      java.util.Map getProperties(java.lang.Object object, int index)
      Not used in basic use of IlrDTDataProvider.
      java.lang.Object getValue(java.lang.Object object)
      Not used in basic use of IlrDTDataProvider.
      java.lang.Object getValue(java.lang.Object object, int index)
      Returns the value of the index parameter of the element object.
    • Method Detail

      • getObjects

        java.util.Collection getObjects(IlrDTDefinition definition)
        Returns the root elements of the provided data. These elements will be used to fill items of the decision table model according to the definition's parameter count.
        Parameters:
        definition - Indicates the number of parameters of items corresponding to the returned elements.
        Returns:
        The collection of root elements of the provided data.
        See Also:
        IlrDTDefinition.getExpressionParameterCount()
      • getChildren

        java.util.Collection getChildren(java.lang.Object object,
                                       IlrDTDefinition definition)
        Returns the child elements of the object. These elements will be used to fill items of the decision table model according to the definition's parameter count.
        Parameters:
        object - The parent element of the returned collection of elements.
        definition - The number of parameters of items corresponding to the returned elements.
        Returns:
        The collection of root elements of the provided data.
        See Also:
        IlrDTDefinition.getExpressionParameterCount()
      • getValue

        java.lang.Object getValue(java.lang.Object object,
                                int index)
        Returns the value of the index parameter of the element object.
        Parameters:
        object - The element corresponding to the item from the decision table model to be filled.
        index - Index of the parameter to be retrieved.
        Returns:
        A String value of the index parameter.
      • getValue

        java.lang.Object getValue(java.lang.Object object)
        Not used in basic use of IlrDTDataProvider.
      • getProperties

        java.util.Map getProperties(java.lang.Object object)
        Not used in basic use of IlrDTDataProvider.
      • getProperties

        java.util.Map getProperties(java.lang.Object object,
                                  int index)
        Not used in basic use of IlrDTDataProvider.

© Copyright IBM Corp. 1987, 2017