C# Класс TSF.UmlToolingFramework.Wrappers.EA.ConnectorWrapper

Наследование: Element, TSF.UmlToolingFramework.UML.Classes.Kernel.Relationship
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
getLinkedFeature TSF.UmlToolingFramework.UML.Extended.UMLItem
saveElement void

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

Метод Описание
ConnectorWrapper ( Model model, global connector ) : System
Equals ( object obj ) : bool
GetHashCode ( ) : int
addRelatedElement ( TSF.UmlToolingFramework.UML relatedElement ) : void

adds a related element to this connector. This operation checks if the source or target is empty and then adds the related element to the empty spot. If none of the two are empty then the target is being replaced

addToCurrentDiagram ( ) : void

adding both the start and the end element to the diagram will automatically add the connector to the diagram

deleteOwnedElement ( Element ownedElement ) : void
getDependentDiagrams ( ) : List

getInformationFlows ( ) : HashSet

convenience method to return the information flows that realize this Relationship

getItemFromRelativePath ( List relativePath ) : TSF.UmlToolingFramework.TSF.UmlToolingFramework.UML.Extended.UMLItem
getLockedUser ( ) : string
getLockedUserID ( ) : string
getReferencingTaggedValues ( ) : HashSet
makeWritable ( bool overrideLocks ) : bool
open ( ) : void
save ( ) : void

Due to a bug in EA we first need to save the end with aggregation kind none, and then the other end. If not then the aggregationkind of the other set is reset to none.

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

Метод Описание
getLinkedFeature ( bool start ) : TSF.UmlToolingFramework.UML.Extended.UMLItem
saveElement ( ) : void

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

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

public ConnectorWrapper ( Model model, global connector ) : System
model Model
connector global
Результат System

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

public Equals ( object obj ) : bool
obj object
Результат bool

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

public GetHashCode ( ) : int
Результат int

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

adds a related element to this connector. This operation checks if the source or target is empty and then adds the related element to the empty spot. If none of the two are empty then the target is being replaced
public addRelatedElement ( TSF.UmlToolingFramework.UML relatedElement ) : void
relatedElement TSF.UmlToolingFramework.UML
Результат void

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

adding both the start and the end element to the diagram will automatically add the connector to the diagram
public addToCurrentDiagram ( ) : void
Результат void

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

public deleteOwnedElement ( Element ownedElement ) : void
ownedElement Element
Результат void

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

public getDependentDiagrams ( ) : List
Результат List

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

convenience method to return the information flows that realize this Relationship
public getInformationFlows ( ) : HashSet
Результат HashSet

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

public getItemFromRelativePath ( List relativePath ) : TSF.UmlToolingFramework.TSF.UmlToolingFramework.UML.Extended.UMLItem
relativePath List
Результат TSF.UmlToolingFramework.TSF.UmlToolingFramework.UML.Extended.UMLItem

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

public getLockedUser ( ) : string
Результат string

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

public getLockedUserID ( ) : string
Результат string

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

public getReferencingTaggedValues ( ) : HashSet
Результат HashSet

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

public makeWritable ( bool overrideLocks ) : bool
overrideLocks bool
Результат bool

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

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

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

Due to a bug in EA we first need to save the end with aggregation kind none, and then the other end. If not then the aggregationkind of the other set is reset to none.
public save ( ) : void
Результат void