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
DTModelspecifies the DT model contract. This contract contains:- condition definitions
- action definitions
- a tree of partitions and conditions
-
-
Field Summary
-
Fields inherited from interface ilog.rules.shared.model.IlrDecorableElement
INSTANCE, TRANSIENT, VOLATILE
-
-
Method Summary
Methods Modifier and Type Method and Description java.util.List<DTActionDefinition>getActionDefinitionList()This method returns a list of Action Definition of this model.java.util.List<DTActionSet>getActionSetList()Returns the list of action sets handled by this model.java.util.List<DTConditionDefinition>getConditionDefinitionList()This method returns a list of Condition Definition of this model.DTDefinitiongetDefinition(java.lang.String id)This method returns the definition of this model identified by the given id.java.lang.StringgetPreconditionText()Returns the text of the Preconditions, needed to figure out variables local to the DT.DTPartitiongetRootPartition()Returns the root partition.-
Methods inherited from interface ilog.rules.dt.model.IlrDTContext
getDTEnvironment, getDTRuleElement, getExpressionManager, getVocabulary, reset
-
Methods inherited from interface ilog.rules.shared.model.IlrDecorableElement
addProperties, clearProperties, clearVolatileProperties, clone, getProperties, getProperty, setProperty
-
Methods inherited from interface ilog.rules.dt.model.common.DTTimeStampable
getTimeStamp, setTimeStamp
-
-
-
-
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 benulland 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
-
-