Method | Description | |
---|---|---|
AddModelElement ( IModelElement element ) : void |
Adds a model element in this model element
|
|
CreateDefault ( ICollection enclosingCollection ) : RuleCondition |
Creates a default element
|
|
CreateStatusMessage ( ) : string |
Creates the status message
|
|
Evaluate ( DataDictionary.Tests.Runner.Runner runner, |
Evaluates the rule and its sub rules
|
|
EvaluatePreConditions ( DataDictionary.Interpreter.InterpretationContext context, |
Provides the actual value for the preconditions
|
|
FindAction ( string name ) : Action |
Provides the action which corresponds to the name provided
|
|
FindPreCondition ( string name ) : PreCondition |
Provides the precondition which corresponds to the name provided
|
|
FindRule ( string name ) : Rule |
Provides the sub rule which corresponds to the name provided
|
|
GetExplain ( TextualExplanation explanation, bool explainSubElements ) : void |
Builds the explanation of the element
|
|
GetModeForTypedElement ( ITypedElement element ) : Usage.ModeEnum |
Provides the mode for the typed element provided
|
|
Modifies ( ITypedElement variable ) : VariableUpdateStatement |
Provides the statement which modifies the variable
|
|
Reads ( ITypedElement variable ) : bool |
Indicates whether this rule reads the content of this variable
|
|
RecoverUpdateInformation ( ) : void |
Ensures that all update information has been deleted
|
|
RuleCondition ( ) : System |
Constructor
|
|
SetUpdateInformation ( ModelElement source ) : void |
Sets the update information for this rule condition (this rule condition updates source)
|
|
Uses ( IVariable variable ) : bool |
Indicates whether this rule uses the typed element
|
|
duplicate ( ) : RuleCondition |
Duplicates this model element
|
public AddModelElement ( IModelElement element ) : void | ||
element | IModelElement | |
return | void |
public static CreateDefault ( ICollection enclosingCollection ) : RuleCondition | ||
enclosingCollection | ICollection | |
return | RuleCondition |
public Evaluate ( DataDictionary.Tests.Runner.Runner runner, |
||
runner | DataDictionary.Tests.Runner.Runner | |
priority | the priority level : a rule can be activated only if its priority level == priority | |
instance | IModelElement | The instance on which the rule must be evaluated |
activations | HashSet |
|
explanation | The explanation part to be filled | |
return | bool |
public EvaluatePreConditions ( DataDictionary.Interpreter.InterpretationContext context, |
||
context | DataDictionary.Interpreter.InterpretationContext | The context on which the precondition must be evaluated |
explanation | The explanation part to fill, if any | |
runner | DataDictionary.Tests.Runner.Runner | |
return | bool |
public FindPreCondition ( string name ) : PreCondition | ||
name | string | |
return | PreCondition |
public GetExplain ( TextualExplanation explanation, bool explainSubElements ) : void | ||
explanation | TextualExplanation | |
explainSubElements | bool | Precises if we need to explain the sub elements (if any) |
return | void |
public GetModeForTypedElement ( ITypedElement element ) : Usage.ModeEnum | ||
element | ITypedElement | |
return | Usage.ModeEnum |
public Modifies ( ITypedElement variable ) : VariableUpdateStatement | ||
variable | ITypedElement | |
return | DataDictionary.Interpreter.Statement.VariableUpdateStatement |
public Reads ( ITypedElement variable ) : bool | ||
variable | ITypedElement | |
return | bool |
public SetUpdateInformation ( ModelElement source ) : void | ||
source | ModelElement | |
return | void |