C# Класс DataDictionary.Functions.Procedure

Наследование: Generated.Procedure, ISubDeclarator, ICallable, ITextualExplain, IGraphicalDisplay
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddModelElement ( IModelElement element ) : void

Adds a model element in this model element

AdditionalChecks ( ModelElement root, Expression>.Dictionary actualParameters ) : void

Perform additional checks based on the parameter types

ClearAllRequirements ( ) : void

Clears all requirements from this procedure and all sub-rules

CreateDefault ( ICollection enclosingCollection ) : Procedure

Creates a default element

CreateProcedureUpdate ( Dictionary dictionary ) : Procedure

Creates a copy of the procedure in the designated dictionary. The namespace structure is copied over. The new procedure is set to update this one.

CreateStatusMessage ( ) : string

Creates the status message

Find ( string name, List retVal ) : void

Appends the INamable which match the name provided in retVal

FindRule ( string name ) : DataDictionary.Rules.Rule

Provides the rule which corresponds to the name provided

GetExplain ( TextualExplanation explanation, bool explainSubElements ) : void

Builds the explanation of the element

GetFormalParameter ( string name ) : Parameter

Provides the formal parameter whose name corresponds to the name provided

InitDeclaredElements ( ) : void

Initialises the declared elements

ModeForParameter ( Parameter parameter ) : Usage.ModeEnum

Provides the mode of the corresponding parameters

RecoverUpdateInformation ( ) : void

Ensures that all the update information is removed from this procedure

SetUpdateInformation ( ModelElement source ) : void

Sets the update information for this procedure

Описание методов

AddModelElement() публичный Метод

Adds a model element in this model element
public AddModelElement ( IModelElement element ) : void
element IModelElement
Результат void

AdditionalChecks() публичный Метод

Perform additional checks based on the parameter types
public AdditionalChecks ( ModelElement root, Expression>.Dictionary actualParameters ) : void
root ModelElement The element on which the errors should be reported
actualParameters Expression>.Dictionary The parameters applied to this function call
Результат void

ClearAllRequirements() публичный Метод

Clears all requirements from this procedure and all sub-rules
public ClearAllRequirements ( ) : void
Результат void

CreateDefault() публичный статический Метод

Creates a default element
public static CreateDefault ( ICollection enclosingCollection ) : Procedure
enclosingCollection ICollection
Результат Procedure

CreateProcedureUpdate() публичный Метод

Creates a copy of the procedure in the designated dictionary. The namespace structure is copied over. The new procedure is set to update this one.
public CreateProcedureUpdate ( Dictionary dictionary ) : Procedure
dictionary Dictionary The target dictionary of the copy
Результат Procedure

CreateStatusMessage() публичный Метод

Creates the status message
public CreateStatusMessage ( ) : string
Результат string

Find() публичный Метод

Appends the INamable which match the name provided in retVal
public Find ( string name, List retVal ) : void
name string
retVal List
Результат void

FindRule() публичный Метод

Provides the rule which corresponds to the name provided
public FindRule ( string name ) : DataDictionary.Rules.Rule
name string
Результат DataDictionary.Rules.Rule

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

GetFormalParameter() публичный Метод

Provides the formal parameter whose name corresponds to the name provided
public GetFormalParameter ( string name ) : Parameter
name string
Результат Parameter

InitDeclaredElements() публичный Метод

Initialises the declared elements
public InitDeclaredElements ( ) : void
Результат void

ModeForParameter() публичный Метод

Provides the mode of the corresponding parameters
public ModeForParameter ( Parameter parameter ) : Usage.ModeEnum
parameter Parameter
Результат Usage.ModeEnum

RecoverUpdateInformation() публичный Метод

Ensures that all the update information is removed from this procedure
public RecoverUpdateInformation ( ) : void
Результат void

SetUpdateInformation() публичный Метод

Sets the update information for this procedure
public SetUpdateInformation ( ModelElement source ) : void
source ModelElement The source procedure this procedure updates
Результат void