C# 클래스 DataDictionary.Rules.Action

상속: Generated.Action
파일 보기 프로젝트 열기: ERTMSSolutions/ERTMSFormalSpecs 1 사용 예제들

공개 메소드들

메소드 설명
AddModelElement ( IModelElement element ) : void

Adds a model element in this model element

CleanCompilation ( ) : void

Clears the statement tree to ensure new compilation

Compile ( ) : InterpreterTreeNode

Creates the tree according to the statement text

CreateDefault ( ICollection enclosingCollection ) : Action

Creates a default element

GetChanges ( InterpretationContext context, DataDictionary.Rules.ChangeList changes, ExplanationPart explanation, bool apply, Runner runner ) : void

Creates a list of changes to be applied on the system

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 action reads the variable

RequirementDescription ( ) : string

Provides the description of the requirements related to this model element

UpdatedVariable ( ) : string

Indicates the name of the updated variable, if any

checkValidExpression ( string expression ) : bool

Indicates that the expression is valid for this IExpressionable

duplicate ( ) : Action

Duplicates this model element

메소드 상세

AddModelElement() 공개 메소드

Adds a model element in this model element
public AddModelElement ( IModelElement element ) : void
element IModelElement
리턴 void

CleanCompilation() 공개 메소드

Clears the statement tree to ensure new compilation
public CleanCompilation ( ) : void
리턴 void

Compile() 공개 메소드

Creates the tree according to the statement text
public Compile ( ) : InterpreterTreeNode
리턴 InterpreterTreeNode

CreateDefault() 공개 정적인 메소드

Creates a default element
public static CreateDefault ( ICollection enclosingCollection ) : Action
enclosingCollection ICollection
리턴 Action

GetChanges() 공개 메소드

Creates a list of changes to be applied on the system
public GetChanges ( InterpretationContext context, DataDictionary.Rules.ChangeList changes, ExplanationPart explanation, bool apply, Runner runner ) : void
context InterpretationContext The context on which the changes should be computed
changes DataDictionary.Rules.ChangeList The list of changes to be updated
explanation ExplanationPart The explanatino to fill, if any
apply bool Indicates that the changes should be applied immediately
runner Runner
리턴 void

GetExplain() 공개 메소드

Builds the explanation of the element
public GetExplain ( TextualExplanation explanation, bool explainSubElements ) : void
explanation TextualExplanation
explainSubElements bool Precises if we need to explain the sub elements (if any)
리턴 void

GetModeForTypedElement() 공개 메소드

Provides the mode for the typed element provided
public GetModeForTypedElement ( ITypedElement element ) : Usage.ModeEnum
element ITypedElement
리턴 Usage.ModeEnum

Modifies() 공개 메소드

Provides the statement which modifies the variable
public Modifies ( ITypedElement variable ) : VariableUpdateStatement
variable ITypedElement
리턴 VariableUpdateStatement

Reads() 공개 메소드

Indicates whether this action reads the variable
public Reads ( ITypedElement variable ) : bool
variable ITypedElement
리턴 bool

RequirementDescription() 공개 메소드

Provides the description of the requirements related to this model element
public RequirementDescription ( ) : string
리턴 string

UpdatedVariable() 공개 메소드

Indicates the name of the updated variable, if any
public UpdatedVariable ( ) : string
리턴 string

checkValidExpression() 공개 메소드

Indicates that the expression is valid for this IExpressionable
public checkValidExpression ( string expression ) : bool
expression string
리턴 bool

duplicate() 공개 메소드

Duplicates this model element
public duplicate ( ) : Action
리턴 Action