C# Класс DataDictionary.Types.Structure

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

Private Properties

Свойство Тип Описание

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

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

Adds a model element in this model element

ApplicableRule ( acceptor priority ) : bool

Indicates that a rule is applicable for this type at the provided priority

ClearCache ( ) : void

Clears the cache associated to this model element

CompareForEquality ( IValue left, IValue right ) : bool
ComputeUnifiedStructure ( ) : void

Computes the unified structure according to the update information

CreateDefault ( ICollection enclosingCollection, bool isInterface ) : Structure

Creates a default element

CreateStatusMessage ( ) : string

Creates the status message

CreateStructureUpdate ( Dictionary dictionary ) : Structure

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

Find ( string name, List retVal ) : void

Appends the INamable which match the name provided in retVal

FindProcedure ( string name ) : DataDictionary.Functions.Procedure

Provides the procedure which corresponds to the name provided

FindRule ( string name ) : DataDictionary.Rules.Rule

Provides the rule which corresponds to the name provided

FindStateMachine ( string name ) : StateMachine

Provides the state machine which corresponds to the name provided

FindStructureElement ( string name ) : StructureElement

Provides the structure element which corresponds to the name provided

GenerateInheritedFields ( ) : void

Generates the fields from the interited interfaces, if they are missing

GetExplain ( TextualExplanation explanation, bool explainSubElements ) : void

Builds the explanation of the element

InitDeclaredElements ( ) : void

Initialises the declared elements

InterfaceIsInherited ( Structure anInterface ) : bool

Indicates if the structure implements the interface provided as parameter

Match ( Type otherType ) : bool

Indicates that the other type can be placed in variables of this type

RecoverUpdateInformation ( ) : void

Ensures that all update information has been deleted

ResetUnifiedStructure ( DataDictionary.src.UnifiedStructure newValue ) : void

Checks that the proposed new value for the unified structure used this and, in that case, sets the Unified structure to the proposed value

SetUpdateInformation ( ModelElement source ) : void

Sets the update information for this structure

Structure ( ) : System

Constructor

StructureElementIsInherited ( StructureElement anElement ) : bool

Indicates if the given structure element is inherited from an interface or not

ValidBinaryOperation ( BinaryExpression operation, Type otherType ) : bool

Indicates that binary operation is valid for this type and the other type

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

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

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

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

Indicates that a rule is applicable for this type at the provided priority
public ApplicableRule ( acceptor priority ) : bool
priority DataDictionary.Generated.acceptor
Результат bool

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

Clears the cache associated to this model element
public ClearCache ( ) : void
Результат void

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

public CompareForEquality ( IValue left, IValue right ) : bool
left IValue
right IValue
Результат bool

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

Computes the unified structure according to the update information
public ComputeUnifiedStructure ( ) : void
Результат void

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

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

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

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

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

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

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

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

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

Provides the procedure which corresponds to the name provided
public FindProcedure ( string name ) : DataDictionary.Functions.Procedure
name string
Результат DataDictionary.Functions.Procedure

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

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

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

Provides the state machine which corresponds to the name provided
public FindStateMachine ( string name ) : StateMachine
name string
Результат StateMachine

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

Provides the structure element which corresponds to the name provided
public FindStructureElement ( string name ) : StructureElement
name string
Результат StructureElement

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

Generates the fields from the interited interfaces, if they are missing
public GenerateInheritedFields ( ) : void
Результат 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

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

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

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

Indicates if the structure implements the interface provided as parameter
public InterfaceIsInherited ( Structure anInterface ) : bool
anInterface Structure
Результат bool

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

Indicates that the other type can be placed in variables of this type
public Match ( Type otherType ) : bool
otherType Type
Результат bool

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

Ensures that all update information has been deleted
public RecoverUpdateInformation ( ) : void
Результат void

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

Checks that the proposed new value for the unified structure used this and, in that case, sets the Unified structure to the proposed value
public ResetUnifiedStructure ( DataDictionary.src.UnifiedStructure newValue ) : void
newValue DataDictionary.src.UnifiedStructure The proposed new value for the unified structure
Результат void

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

Sets the update information for this structure
public SetUpdateInformation ( ModelElement source ) : void
source ModelElement The source structure for which this structure has been created (as an update)
Результат void

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

Constructor
public Structure ( ) : System
Результат System

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

Indicates if the given structure element is inherited from an interface or not
public StructureElementIsInherited ( StructureElement anElement ) : bool
anElement StructureElement
Результат bool

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

Indicates that binary operation is valid for this type and the other type
public ValidBinaryOperation ( BinaryExpression operation, Type otherType ) : bool
operation DataDictionary.Interpreter.BinaryExpression
otherType Type
Результат bool