C# Класс EAAddinFramework.SchemaBuilder.EASchemaElement

Description of EASchemaElement.
Наследование: SchemaBuilderFramework.SchemaElement
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
copyGeneralizations void
getMatchingSchemaLiteral EASchemaLiteral
getSchemaProperties List
setAssociationClassProperties void

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

Метод Описание
EASchemaElement ( TSF.UmlToolingFramework.Wrappers.EA model, EASchema owner, EA objectToWrap ) : System
addAttributeTypeDependencies ( ) : void

adds a dependency from the attributes owner to the type of the attributes

addGeneralizations ( ) : void

Adds generalizations if the parent of the generalization is in the subset elements as well

createSubsetAssociations ( ) : void

duplicates the asociations in the schema to associations between schema elements

createSubsetAttributes ( ) : void

duplicates the attributes in the schema as attributes in the subset element

createSubsetElement ( TSF.UmlToolingFramework.UML destinationPackage ) : TSF.UmlToolingFramework.UML.Classes.Kernel.Classifier
createSubsetLiterals ( ) : void

getMatchingSchemaAssociation ( TSF.UmlToolingFramework.Wrappers.EA association ) : EASchemaAssociation

returns the matching SchemaAssociation for the given Association. the match is made based on the tagged value sourceAssociation on the subset assocation, which references the source association fo the SchemaAssociation

getMatchingSchemaProperty ( TSF.UmlToolingFramework.Wrappers.EA attribute ) : EASchemaProperty

finds the corresponding Schema property for the given attribut

matchSubsetAssociations ( ) : void

matches the association of the subset element with the schema associations. If an association cannot be matched, it is deleted.

matchSubsetAttributes ( ) : void

checks all attributes of the subset element and tries to match it with a SchemaProperty. It it can't be matches te subset attribute is deleted.

matchSubsetElement ( TSF.UmlToolingFramework.UML subsetElement ) : void

matches the given subset element with the schema element, matching attributes and association all attributes or associations that do not exist in the schema are deleted

matchSubsetLiterals ( ) : void

Приватные методы

Метод Описание
copyGeneralizations ( ) : void

copy the generalizations from the source elemnt to the subset element, removing the generalizations that are not present in the source element

getMatchingSchemaLiteral ( TSF.UmlToolingFramework.Wrappers.EA literal ) : EASchemaLiteral

gets the SchemaLiteral that corresponds with the given literal value

getSchemaProperties ( ) : List
setAssociationClassProperties ( ) : void

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

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

public EASchemaElement ( TSF.UmlToolingFramework.Wrappers.EA model, EASchema owner, EA objectToWrap ) : System
model TSF.UmlToolingFramework.Wrappers.EA
owner EASchema
objectToWrap EA
Результат System

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

adds a dependency from the attributes owner to the type of the attributes
public addAttributeTypeDependencies ( ) : void
Результат void

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

Adds generalizations if the parent of the generalization is in the subset elements as well
public addGeneralizations ( ) : void
Результат void

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

duplicates the asociations in the schema to associations between schema elements
public createSubsetAssociations ( ) : void
Результат void

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

duplicates the attributes in the schema as attributes in the subset element
public createSubsetAttributes ( ) : void
Результат void

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

public createSubsetElement ( TSF.UmlToolingFramework.UML destinationPackage ) : TSF.UmlToolingFramework.UML.Classes.Kernel.Classifier
destinationPackage TSF.UmlToolingFramework.UML
Результат TSF.UmlToolingFramework.UML.Classes.Kernel.Classifier

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

public createSubsetLiterals ( ) : void
Результат void

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

returns the matching SchemaAssociation for the given Association. the match is made based on the tagged value sourceAssociation on the subset assocation, which references the source association fo the SchemaAssociation
public getMatchingSchemaAssociation ( TSF.UmlToolingFramework.Wrappers.EA association ) : EASchemaAssociation
association TSF.UmlToolingFramework.Wrappers.EA the association to match
Результат EASchemaAssociation

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

finds the corresponding Schema property for the given attribut
public getMatchingSchemaProperty ( TSF.UmlToolingFramework.Wrappers.EA attribute ) : EASchemaProperty
attribute TSF.UmlToolingFramework.Wrappers.EA attribute
Результат EASchemaProperty

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

matches the association of the subset element with the schema associations. If an association cannot be matched, it is deleted.
public matchSubsetAssociations ( ) : void
Результат void

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

checks all attributes of the subset element and tries to match it with a SchemaProperty. It it can't be matches te subset attribute is deleted.
public matchSubsetAttributes ( ) : void
Результат void

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

matches the given subset element with the schema element, matching attributes and association all attributes or associations that do not exist in the schema are deleted
public matchSubsetElement ( TSF.UmlToolingFramework.UML subsetElement ) : void
subsetElement TSF.UmlToolingFramework.UML the subset element to match
Результат void

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

public matchSubsetLiterals ( ) : void
Результат void