ilog.rules.dt.model.common

Interface DTModel

  • All Superinterfaces:
    java.lang.Cloneable, DTTimeStampable, IlrDecorableElement, IlrDTContext, IlrDTElement, java.io.Serializable
    All Known Subinterfaces:
    IlrDTModel


    public interface DTModel
    extends IlrDTContext
    DTModel specifies the DT model contract. This contract contains:
    • condition definitions
    • action definitions
    • a tree of partitions and conditions
    The leaves of this tree are action sets that contains actions.
    • Method Detail

      • getConditionDefinitionList

        java.util.List<DTConditionDefinition> getConditionDefinitionList()
        This method returns a list of Condition Definition of this model.
        Returns:
        a list of DTConditionDefinition
      • getActionDefinitionList

        java.util.List<DTActionDefinition> getActionDefinitionList()
        This method returns a list of Action Definition of this model.
        Returns:
        a list of DTActionDefinition
      • getDefinition

        DTDefinition getDefinition(java.lang.String id)
        This method returns the definition of this model identified by the given id.
        Parameters:
        id - the id of the definition to search. Cannot be null.
        Returns:
        the definition or null if no definition with this id exists in this model.
      • getRootPartition

        DTPartition getRootPartition()
        Returns the root partition.
        Returns:
        The root partition.
      • getActionSetList

        java.util.List<DTActionSet> getActionSetList()
        Returns the list of action sets handled by this model. The returned list should not be null and must not be modified.
        Returns:
        The list of action sets of the model.
      • getPreconditionText

        java.lang.String getPreconditionText()
        Returns the text of the Preconditions, needed to figure out variables local to the DT.
        Returns:
        the text of the Preconditions

© Copyright IBM Corp. 1987, 2020