Interface DTModel

All Superinterfaces:
Cloneable, DTTimeStampable, IlrDecorableElement, IlrDTContext, IlrDTElement, 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 Details

    • getConditionDefinitionList

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

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

      DTDefinition getDefinition(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

      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

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