C# Class DataDictionary.Rules.InsertInListChange

Handles the insertion of a new element in a list. This is done differently from the other changes to allows several insertions in the same list to occur in the same processing cycle.
Inheritance: DataDictionary.Rules.Change
Exibir arquivo Open project: ERTMSSolutions/ERTMSFormalSpecs

Private Properties

Property Type Description

Public Methods

Method Description
Apply ( DataDictionary.Tests.Runner.Runner runner ) : void

Applies the change

CheckChange ( ModelElement element ) : bool

Checks that the change is valid

CheckForCompatibility ( ) : bool

Indicates that this change should be compatible with all the other changes applied during the same execution cycle. Compatibility is defined by the fact that two changes should update the same variable with the same value.

InsertInListChange ( DataDictionary.Interpreter.InterpretationContext context, InsertStatement statement, IVariable variable, ExplanationPart explanation ) : System.Threading

Constructor

Method Details

Apply() public method

Applies the change
public Apply ( DataDictionary.Tests.Runner.Runner runner ) : void
runner DataDictionary.Tests.Runner.Runner
return void

CheckChange() public method

Checks that the change is valid
public CheckChange ( ModelElement element ) : bool
element ModelElement
return bool

CheckForCompatibility() public method

Indicates that this change should be compatible with all the other changes applied during the same execution cycle. Compatibility is defined by the fact that two changes should update the same variable with the same value.
public CheckForCompatibility ( ) : bool
return bool

InsertInListChange() public method

Constructor
public InsertInListChange ( DataDictionary.Interpreter.InterpretationContext context, InsertStatement statement, IVariable variable, ExplanationPart explanation ) : System.Threading
context DataDictionary.Interpreter.InterpretationContext
statement DataDictionary.Interpreter.Statement.InsertStatement
variable IVariable
explanation DataDictionary.Interpreter.ExplanationPart
return System.Threading