C# 클래스 EAAddinFramework.SchemaBuilder.EASchemaElement

Description of EASchemaElement.
상속: SchemaBuilderFramework.SchemaElement
파일 보기 프로젝트 열기: GeertBellekens/Enterprise-Architect-Add-in-Framework 1 사용 예제들

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