메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public static CreateDefault ( ICollection enclosingCollection ) : RuleCondition | ||
enclosingCollection | ICollection | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | bool |
public FindPreCondition ( string name ) : PreCondition | ||
name | string | |
리턴 | PreCondition |
public GetExplain ( TextualExplanation explanation, bool explainSubElements ) : void | ||
explanation | TextualExplanation | |
explainSubElements | bool | Precises if we need to explain the sub elements (if any) |
리턴 | void |
public GetModeForTypedElement ( ITypedElement element ) : Usage.ModeEnum | ||
element | ITypedElement | |
리턴 | Usage.ModeEnum |
public Modifies ( ITypedElement variable ) : VariableUpdateStatement | ||
variable | ITypedElement | |
리턴 | DataDictionary.Interpreter.Statement.VariableUpdateStatement |
public SetUpdateInformation ( ModelElement source ) : void | ||
source | ModelElement | |
리턴 | void |