C# 클래스 hoTools.Utils.Util

파일 보기 프로젝트 열기: Helmut-Ortmann/EnterpriseArchitect_hoTools

공개 메소드들

메소드 설명
AddSequenceNumber ( EA rep, EA dia ) : void
ChangeClassNameToSynonyms ( EA rep, EA el ) : void
ChangePackageClassNameToSynonyms ( EA rep, EA pkg ) : void
GetClassifierGuid ( EA rep, string guid ) : string
GetConnectionString ( EA rep ) : string
GetDiagramLinkFromConnector ( EA dia, int connectorId ) : EA.DiagramLink
GetDiagramObjectById ( EA rep, EA dia, int elementId ) : EA.DiagramObject
GetDiagramObjectLabel ( EA rep, int objectId, int diagramId, int instanceId ) : string
GetElementFromCompositeDiagram ( EA rep, string diagramGuid ) : string
GetElementFromContextObject ( EA rep ) : EA.Element

Get element from Context element. Possible inputs are: Attribute, Operation, Element, Package

GetFirstControlledPackage ( EA rep, EA pkg ) : EA.Package
GetGenFilePath ( EA rep, EA el ) : string

Get file path for an implementation file which uses code generation. It transforms the path into the local path. Note: A file might have one or no implementation language.

GetHighestSequenceNoFromDiagram ( EA rep, EA dia ) : int
GetLatest ( EA rep, EA pkg, bool recursive, int &count, int level, int &errorCount ) : bool
GetModelDocumentFromPackage ( EA rep, EA pkg ) : EA.Package
GetOperationFromAction ( EA rep, EA action ) : Method
GetOperationFromBrehavior ( EA rep, EA el ) : Method
GetOperationFromCallAction ( EA rep, EA obj ) : Method
GetOperationFromConnector ( EA rep, EA con ) : Method
GetParameterFromActivity ( EA rep, EA par, EA act, bool isReturn = false ) : EA.Element
GetParameterType ( EA rep, string actionPinGuid ) : string
GetSignal ( EA rep, string guid ) : string
GetTrigger ( EA rep, string guid ) : string
GetTypeFromName ( EA rep, string &name, string &type ) : int
GetTypeId ( EA rep, string name ) : int
GetVCstate ( EA rep, EA pkg, bool isLong ) : string
GetVccFilePath ( EA rep, EA pkg ) : string
GetVccRootPath ( EA rep, EA pkg ) : string
GetWildCard ( Repository rep ) : string
ObjectTypeToString ( EA objectType ) : string
OpenBehaviorForElement ( EA repository, EA el ) : void
ResetVc ( EA rep, EA pkg ) : void
ResetVcRecursive ( EA rep, EA pkg ) : void
SetActivityCompositeDiagram ( EA rep, EA el, string s ) : bool
SetBehaviorForOperation ( EA rep, Method op, EA act ) : bool
SetConnectorGuard ( EA rep, int connectorId, string connectorGuard ) : bool
SetDiagramHasAttchaedLink ( EA rep, EA el ) : bool
SetDiagramObjectLabel ( EA rep, int objectId, int diagramId, int instanceId, string s ) : bool
SetElementHasAttchaedLink ( EA rep, EA el, EA elNote ) : bool
SetElementPdata1 ( EA rep, EA el, string s ) : bool
SetFrameLinksToDiagram ( EA rep, EA frm, EA dia ) : bool
SetLineStyleDiagram ( EA rep, EA d, string lineStyle ) : void
SetLineStyleDiagramObjectsAndConnectors ( EA rep, EA d, string lineStyle ) : void
SetLineStyleForDiagramLink ( string lineStyle, EA link ) : void
SetReadOnlyAttribute ( string fullName, bool readOnly ) : void
SetSequenceNumber ( EA rep, EA dia, EA obj, string sequence ) : void
SetShowBehaviorInDiagram ( EA rep, Method m ) : bool
SetVcFlags ( EA rep, EA pkg, string flags ) : bool
SetXmlPath ( EA rep, string guid, string path ) : bool
StartApp ( string app, string par ) : void
StartFile ( string filePath ) : void

Start file

UpdateAttribute ( EA rep, EA a ) : bool
UpdateClass ( EA rep, EA el ) : bool
UpdateMethod ( EA rep, Method m ) : bool
UpdatePackage ( EA rep, EA pkg ) : bool
UpdateVc ( EA rep, EA pkg ) : string

Update VC (Version Control state of a controlled package: - Returns user name of user who have checked out the package - Updates the package flags

VisualizePortForDiagramobject ( int pos, EA dia, EA diaObjSource, EA port, EA interf, string portBoundTo = "right" ) : void

비공개 메소드들

메소드 설명
GetSingleSqlValue ( EA rep, string query, string attributeName ) : string

메소드 상세

AddSequenceNumber() 공개 정적인 메소드

public static AddSequenceNumber ( EA rep, EA dia ) : void
rep EA
dia EA
리턴 void

ChangeClassNameToSynonyms() 공개 정적인 메소드

public static ChangeClassNameToSynonyms ( EA rep, EA el ) : void
rep EA
el EA
리턴 void

ChangePackageClassNameToSynonyms() 공개 정적인 메소드

public static ChangePackageClassNameToSynonyms ( EA rep, EA pkg ) : void
rep EA
pkg EA
리턴 void

GetClassifierGuid() 공개 정적인 메소드

public static GetClassifierGuid ( EA rep, string guid ) : string
rep EA
guid string
리턴 string

GetConnectionString() 공개 정적인 메소드

public static GetConnectionString ( EA rep ) : string
rep EA
리턴 string

GetDiagramLinkFromConnector() 공개 정적인 메소드

public static GetDiagramLinkFromConnector ( EA dia, int connectorId ) : EA.DiagramLink
dia EA
connectorId int
리턴 EA.DiagramLink

GetDiagramObjectById() 공개 정적인 메소드

public static GetDiagramObjectById ( EA rep, EA dia, int elementId ) : EA.DiagramObject
rep EA
dia EA
elementId int
리턴 EA.DiagramObject

GetDiagramObjectLabel() 공개 정적인 메소드

public static GetDiagramObjectLabel ( EA rep, int objectId, int diagramId, int instanceId ) : string
rep EA
objectId int
diagramId int
instanceId int
리턴 string

GetElementFromCompositeDiagram() 공개 정적인 메소드

public static GetElementFromCompositeDiagram ( EA rep, string diagramGuid ) : string
rep EA
diagramGuid string
리턴 string

GetElementFromContextObject() 공개 정적인 메소드

Get element from Context element. Possible inputs are: Attribute, Operation, Element, Package
public static GetElementFromContextObject ( EA rep ) : EA.Element
rep EA
리턴 EA.Element

GetFirstControlledPackage() 공개 정적인 메소드

public static GetFirstControlledPackage ( EA rep, EA pkg ) : EA.Package
rep EA
pkg EA
리턴 EA.Package

GetGenFilePath() 공개 정적인 메소드

Get file path for an implementation file which uses code generation. It transforms the path into the local path. Note: A file might have one or no implementation language.
public static GetGenFilePath ( EA rep, EA el ) : string
rep EA
el EA
리턴 string

GetHighestSequenceNoFromDiagram() 공개 정적인 메소드

public static GetHighestSequenceNoFromDiagram ( EA rep, EA dia ) : int
rep EA
dia EA
리턴 int

GetLatest() 공개 정적인 메소드

public static GetLatest ( EA rep, EA pkg, bool recursive, int &count, int level, int &errorCount ) : bool
rep EA
pkg EA
recursive bool
count int
level int
errorCount int
리턴 bool

GetModelDocumentFromPackage() 공개 정적인 메소드

public static GetModelDocumentFromPackage ( EA rep, EA pkg ) : EA.Package
rep EA
pkg EA
리턴 EA.Package

GetOperationFromAction() 공개 정적인 메소드

public static GetOperationFromAction ( EA rep, EA action ) : Method
rep EA
action EA
리턴 Method

GetOperationFromBrehavior() 공개 정적인 메소드

public static GetOperationFromBrehavior ( EA rep, EA el ) : Method
rep EA
el EA
리턴 Method

GetOperationFromCallAction() 공개 정적인 메소드

public static GetOperationFromCallAction ( EA rep, EA obj ) : Method
rep EA
obj EA
리턴 Method

GetOperationFromConnector() 공개 정적인 메소드

public static GetOperationFromConnector ( EA rep, EA con ) : Method
rep EA
con EA
리턴 Method

GetParameterFromActivity() 공개 정적인 메소드

public static GetParameterFromActivity ( EA rep, EA par, EA act, bool isReturn = false ) : EA.Element
rep EA
par EA
act EA
isReturn bool
리턴 EA.Element

GetParameterType() 공개 정적인 메소드

public static GetParameterType ( EA rep, string actionPinGuid ) : string
rep EA
actionPinGuid string
리턴 string

GetSignal() 공개 정적인 메소드

public static GetSignal ( EA rep, string guid ) : string
rep EA
guid string
리턴 string

GetTrigger() 공개 정적인 메소드

public static GetTrigger ( EA rep, string guid ) : string
rep EA
guid string
리턴 string

GetTypeFromName() 공개 정적인 메소드

public static GetTypeFromName ( EA rep, string &name, string &type ) : int
rep EA
name string
type string
리턴 int

GetTypeId() 공개 정적인 메소드

public static GetTypeId ( EA rep, string name ) : int
rep EA
name string
리턴 int

GetVCstate() 공개 정적인 메소드

public static GetVCstate ( EA rep, EA pkg, bool isLong ) : string
rep EA
pkg EA
isLong bool
리턴 string

GetVccFilePath() 공개 정적인 메소드

public static GetVccFilePath ( EA rep, EA pkg ) : string
rep EA
pkg EA
리턴 string

GetVccRootPath() 공개 정적인 메소드

public static GetVccRootPath ( EA rep, EA pkg ) : string
rep EA
pkg EA
리턴 string

GetWildCard() 공개 정적인 메소드

public static GetWildCard ( Repository rep ) : string
rep Repository
리턴 string

ObjectTypeToString() 공개 정적인 메소드

public static ObjectTypeToString ( EA objectType ) : string
objectType EA
리턴 string

OpenBehaviorForElement() 공개 정적인 메소드

public static OpenBehaviorForElement ( EA repository, EA el ) : void
repository EA
el EA
리턴 void

ResetVc() 공개 정적인 메소드

public static ResetVc ( EA rep, EA pkg ) : void
rep EA
pkg EA
리턴 void

ResetVcRecursive() 공개 정적인 메소드

public static ResetVcRecursive ( EA rep, EA pkg ) : void
rep EA
pkg EA
리턴 void

SetActivityCompositeDiagram() 공개 정적인 메소드

public static SetActivityCompositeDiagram ( EA rep, EA el, string s ) : bool
rep EA
el EA
s string
리턴 bool

SetBehaviorForOperation() 공개 정적인 메소드

public static SetBehaviorForOperation ( EA rep, Method op, EA act ) : bool
rep EA
op Method
act EA
리턴 bool

SetConnectorGuard() 공개 정적인 메소드

public static SetConnectorGuard ( EA rep, int connectorId, string connectorGuard ) : bool
rep EA
connectorId int
connectorGuard string
리턴 bool

SetDiagramHasAttchaedLink() 공개 정적인 메소드

public static SetDiagramHasAttchaedLink ( EA rep, EA el ) : bool
rep EA
el EA
리턴 bool

SetDiagramObjectLabel() 공개 정적인 메소드

public static SetDiagramObjectLabel ( EA rep, int objectId, int diagramId, int instanceId, string s ) : bool
rep EA
objectId int
diagramId int
instanceId int
s string
리턴 bool

SetElementHasAttchaedLink() 공개 정적인 메소드

public static SetElementHasAttchaedLink ( EA rep, EA el, EA elNote ) : bool
rep EA
el EA
elNote EA
리턴 bool

SetElementPdata1() 공개 정적인 메소드

public static SetElementPdata1 ( EA rep, EA el, string s ) : bool
rep EA
el EA
s string
리턴 bool

SetFrameLinksToDiagram() 공개 정적인 메소드

public static SetFrameLinksToDiagram ( EA rep, EA frm, EA dia ) : bool
rep EA
frm EA
dia EA
리턴 bool

SetLineStyleDiagram() 공개 정적인 메소드

public static SetLineStyleDiagram ( EA rep, EA d, string lineStyle ) : void
rep EA
d EA
lineStyle string
리턴 void

SetLineStyleDiagramObjectsAndConnectors() 공개 정적인 메소드

public static SetLineStyleDiagramObjectsAndConnectors ( EA rep, EA d, string lineStyle ) : void
rep EA
d EA
lineStyle string
리턴 void

SetLineStyleForDiagramLink() 공개 정적인 메소드

public static SetLineStyleForDiagramLink ( string lineStyle, EA link ) : void
lineStyle string
link EA
리턴 void

SetReadOnlyAttribute() 공개 정적인 메소드

public static SetReadOnlyAttribute ( string fullName, bool readOnly ) : void
fullName string
readOnly bool
리턴 void

SetSequenceNumber() 공개 정적인 메소드

public static SetSequenceNumber ( EA rep, EA dia, EA obj, string sequence ) : void
rep EA
dia EA
obj EA
sequence string
리턴 void

SetShowBehaviorInDiagram() 공개 정적인 메소드

public static SetShowBehaviorInDiagram ( EA rep, Method m ) : bool
rep EA
m Method
리턴 bool

SetVcFlags() 공개 정적인 메소드

public static SetVcFlags ( EA rep, EA pkg, string flags ) : bool
rep EA
pkg EA
flags string
리턴 bool

SetXmlPath() 공개 정적인 메소드

public static SetXmlPath ( EA rep, string guid, string path ) : bool
rep EA
guid string
path string
리턴 bool

StartApp() 공개 정적인 메소드

public static StartApp ( string app, string par ) : void
app string
par string
리턴 void

StartFile() 공개 정적인 메소드

Start file
public static StartFile ( string filePath ) : void
filePath string
리턴 void

UpdateAttribute() 공개 정적인 메소드

public static UpdateAttribute ( EA rep, EA a ) : bool
rep EA
a EA
리턴 bool

UpdateClass() 공개 정적인 메소드

public static UpdateClass ( EA rep, EA el ) : bool
rep EA
el EA
리턴 bool

UpdateMethod() 공개 정적인 메소드

public static UpdateMethod ( EA rep, Method m ) : bool
rep EA
m Method
리턴 bool

UpdatePackage() 공개 정적인 메소드

public static UpdatePackage ( EA rep, EA pkg ) : bool
rep EA
pkg EA
리턴 bool

UpdateVc() 공개 정적인 메소드

Update VC (Version Control state of a controlled package: - Returns user name of user who have checked out the package - Updates the package flags
public static UpdateVc ( EA rep, EA pkg ) : string
rep EA Repository
pkg EA Package to check
리턴 string

VisualizePortForDiagramobject() 공개 정적인 메소드

public static VisualizePortForDiagramobject ( int pos, EA dia, EA diaObjSource, EA port, EA interf, string portBoundTo = "right" ) : void
pos int
dia EA
diaObjSource EA
port EA
interf EA
portBoundTo string
리턴 void