Method | Description | |
---|---|---|
Model ( ) : System | ||
Model ( global eaRepository ) : System | ||
SQLQuery ( string sqlQuery ) : |
||
addTab ( string title, string fullControlName ) : |
||
addTaggedValueType ( string tagName, string tagDescription, string tagDetail ) : void | ||
addWindow ( string title, string fullControlName ) : |
||
adviseChange ( TSF.UmlToolingFramework.UML element ) : void | ||
escapeSQLString ( string sqlString ) : string |
escapes a literal string so it can be inserted using sql
|
|
executeSQL ( string SQLString ) : void | ||
formatXPath ( string xpath ) : string |
formats an xpath accordign to the type of database. For Oracle and Firebird it should be ALL CAPS
|
|
getAttributeByID ( int attributID ) : Attribute |
gets the Attribute with the given ID
|
|
getAttributeTagByGUID ( string GUID ) : AttributeTag | ||
getAttributeTagsWithValue ( string value ) : List |
||
getAttributeWrapperByGUID ( string GUID ) : AttributeWrapper |
gets the Attribute with the given GUID
|
|
getAttributesByQuery ( string SQLQuery ) : List |
||
getCurrentRootPackage ( ) : TSF.UmlToolingFramework.UML.Classes.Kernel.Package | ||
getDiagramByGUID ( string diagramGUID ) : Diagram | ||
getDiagramByID ( int diagramID ) : Diagram | ||
getDiagramsByQuery ( string sqlGetDiagrams ) : List |
||
getElementByGUID ( string GUIDstring ) : TSF.UmlToolingFramework.UML.Classes.Kernel.Element | ||
getElementTagByGUID ( string GUID ) : ElementTag | ||
getElementTagsWithValue ( string value ) : HashSet |
||
getElementWrapperByGUID ( string GUID ) : ElementWrapper |
Finds the EA.Element with the given GUID and returns an EAElementwrapper wrapping this element.
|
|
getElementWrapperByID ( int id ) : ElementWrapper | ||
getElementWrapperByPackageID ( int packageID ) : ElementWrapper | ||
getElementWrappersByQuery ( string sqlQuery ) : List |
returns the elementwrappers that are identified by the Object_ID's returned by the given query
|
|
getItemFromFQN ( string FQN ) : TSF.UmlToolingFramework.UML.Extended.UMLItem | ||
getItemFromGUID ( string guidString ) : TSF.UmlToolingFramework.UML.Extended.UMLItem |
finds the item with the given guid
|
|
getOperationByGUID ( string guid ) : Operation | ||
getOperationByID ( int operationID ) : Operation | ||
getOperationTagByGUID ( string GUID ) : OperationTag | ||
getOperationTagsWithValue ( string value ) : List |
||
getOperationsByQuery ( string SQLQuery ) : List |
||
getParameterByGUID ( string GUID ) : ParameterWrapper |
gets the parameter by its GUID. This is a tricky one since EA doesn't provide a getParameterByGUID operation we have to first get the operation, then loop the pamarameters to find the one with the GUID
|
|
getParameterTagByGUID ( string GUID ) : ParameterTag | ||
getParameterTagsWithValue ( string value ) : List |
||
getParametersByQuery ( string SQLQuery ) : List |
||
getQuickSearchResults ( string searchText, int maxResults, bool elements, bool operations, bool attributes, bool diagrams ) : List |
returns the first [maxresults] items who's name starts with the given searchText
|
|
getRelationByGUID ( string relationGUID ) : ConnectorWrapper | ||
getRelationByID ( int relationID ) : ConnectorWrapper | ||
getRelationTagByGUID ( string GUID ) : RelationTag | ||
getRelationTagsWithValue ( string value ) : List |
||
getRelationsByQuery ( string SQLQuery ) : List |
||
getRepositoryType ( ) : RepositoryType |
Gets the Repository type for this model
|
|
getRoootPackage ( TSF.UmlToolingFramework.UML item ) : RootPackage | ||
getTaggedValuesWithValue ( string value ) : HashSet |
||
getUserSelectedElement ( List |
Lets the user select an element from the model and return that
|
|
getUserSelectedPackage ( ) : TSF.UmlToolingFramework.UML.Classes.Kernel.Package |
Show a dialog to the user that allows him to select a package from the model
|
|
initialize ( global eaRepository ) : void |
(re)initialises this model with the given ea repository object
|
|
openProperties ( TSF.UmlToolingFramework.UML item ) : void |
opens the properties dialog for this item
|
|
refreshDiagram ( Diagram diagram ) : void | ||
reloadDiagrams ( ) : void |
reload the open diagrams
|
|
saveDiagram ( TSF.UmlToolingFramework.UML diagram ) : void | ||
saveElement ( TSF.UmlToolingFramework.UML element ) : void | ||
saveOpenedDiagram ( TSF.UmlToolingFramework.UML diagram ) : void |
saves unsaved changes to an opened diagram
|
|
selectDiagram ( Diagram diagram ) : void | ||
showTab ( string title ) : void | ||
showWindow ( string title ) : void | ||
taggedValueTypeExists ( string tagName ) : bool |
checks if a tagged value type with the given name exists in the current model
|
|
toArrayList ( IEnumerable collection ) : ArrayList | ||
toObject ( object someObject ) : Object |
Method | Description | |
---|---|---|
convertFromEANotes ( string EANotes, string newFormat ) : string | ||
convertToEANotes ( string externalNotes, string externalFormat ) : string | ||
formatSQL ( string sqlQuery ) : string |
sets the correct wildcards depending on the database type. changes '%' into '*' if on ms access and _ into ? on msAccess
|
|
formatSQLFunctions ( string sqlQuery ) : string |
Operation to translate SQL functions in there equivalents in different sql syntaxes supported functions: - lcase -> lower in T-SQL (SQLSVR and ASA)
|
|
formatSQLTop ( string sqlQuery ) : string |
limiting the number of results in an sql query is different on different platforms. "SELECT TOP N" is used on SQLSVR ADOJET ASA OPENEDGE ACCESS2007 "WHERE rowcount <= N" is used on ORACLE "LIMIT N" is used on MYSQL POSTGRES This operation will replace the SELECT TOP N by the appropriate sql syntax depending on the repositorytype
|
|
replaceSQLWildCards ( string sqlQuery ) : string |
replace the wildcards in the given sql query string to match either MSAccess or ANSI syntax
|
public Model ( global eaRepository ) : System | ||
eaRepository | global | |
return | System |
public SQLQuery ( string sqlQuery ) : |
||
sqlQuery | string | |
return |
public addTab ( string title, string fullControlName ) : |
||
title | string | |
fullControlName | string | |
return |
public addTaggedValueType ( string tagName, string tagDescription, string tagDetail ) : void | ||
tagName | string | |
tagDescription | string | |
tagDetail | string | |
return | void |
public addWindow ( string title, string fullControlName ) : |
||
title | string | |
fullControlName | string | |
return |
public adviseChange ( TSF.UmlToolingFramework.UML element ) : void | ||
element | TSF.UmlToolingFramework.UML | |
return | void |
public escapeSQLString ( string sqlString ) : string | ||
sqlString | string | the string to be escaped |
return | string |
public executeSQL ( string SQLString ) : void | ||
SQLString | string | |
return | void |
public formatXPath ( string xpath ) : string | ||
xpath | string | the xpath to format |
return | string |
public getAttributeByID ( int attributID ) : Attribute | ||
attributID | int | the attribute's ID |
return | Attribute |
public getAttributeTagByGUID ( string GUID ) : AttributeTag | ||
GUID | string | |
return | AttributeTag |
public getAttributeTagsWithValue ( string value ) : List |
||
value | string | |
return | List |
public getAttributeWrapperByGUID ( string GUID ) : AttributeWrapper | ||
GUID | string | the attribute's GUID |
return | AttributeWrapper |
public getAttributesByQuery ( string SQLQuery ) : List |
||
SQLQuery | string | |
return | List |
public getCurrentRootPackage ( ) : TSF.UmlToolingFramework.UML.Classes.Kernel.Package | ||
return | TSF.UmlToolingFramework.UML.Classes.Kernel.Package |
public getDiagramByGUID ( string diagramGUID ) : Diagram | ||
diagramGUID | string | |
return | Diagram |
public getDiagramByID ( int diagramID ) : Diagram | ||
diagramID | int | |
return | Diagram |
public getDiagramsByQuery ( string sqlGetDiagrams ) : List |
||
sqlGetDiagrams | string | |
return | List |
public getElementByGUID ( string GUIDstring ) : TSF.UmlToolingFramework.UML.Classes.Kernel.Element | ||
GUIDstring | string | |
return | TSF.UmlToolingFramework.UML.Classes.Kernel.Element |
public getElementTagByGUID ( string GUID ) : ElementTag | ||
GUID | string | |
return | ElementTag |
public getElementTagsWithValue ( string value ) : HashSet |
||
value | string | |
return | HashSet |
public getElementWrapperByGUID ( string GUID ) : ElementWrapper | ||
GUID | string | the GUID of the element |
return | ElementWrapper |
public getElementWrapperByID ( int id ) : ElementWrapper | ||
id | int | |
return | ElementWrapper |
public getElementWrapperByPackageID ( int packageID ) : ElementWrapper | ||
packageID | int | |
return | ElementWrapper |
public getElementWrappersByQuery ( string sqlQuery ) : List |
||
sqlQuery | string | query returning the Object_ID's |
return | List |
public getItemFromFQN ( string FQN ) : TSF.UmlToolingFramework.UML.Extended.UMLItem | ||
FQN | string | |
return | TSF.UmlToolingFramework.UML.Extended.UMLItem |
public getItemFromGUID ( string guidString ) : TSF.UmlToolingFramework.UML.Extended.UMLItem | ||
guidString | string | the string with the guid |
return | TSF.UmlToolingFramework.UML.Extended.UMLItem |
public getOperationByGUID ( string guid ) : Operation | ||
guid | string | |
return | Operation |
public getOperationByID ( int operationID ) : Operation | ||
operationID | int | |
return | Operation |
public getOperationTagByGUID ( string GUID ) : OperationTag | ||
GUID | string | |
return | OperationTag |
public getOperationTagsWithValue ( string value ) : List |
||
value | string | |
return | List |
public getOperationsByQuery ( string SQLQuery ) : List |
||
SQLQuery | string | |
return | List |
public getParameterByGUID ( string GUID ) : ParameterWrapper | ||
GUID | string | the parameter's GUID |
return | ParameterWrapper |
public getParameterTagByGUID ( string GUID ) : ParameterTag | ||
GUID | string | |
return | ParameterTag |
public getParameterTagsWithValue ( string value ) : List |
||
value | string | |
return | List |
public getParametersByQuery ( string SQLQuery ) : List |
||
SQLQuery | string | |
return | List |
public getQuickSearchResults ( string searchText, int maxResults, bool elements, bool operations, bool attributes, bool diagrams ) : List |
||
searchText | string | the first part of the name to match |
maxResults | int | the number of results required |
elements | bool | indicates whether elements should be selected |
operations | bool | indicates whether operations should be selected |
attributes | bool | indicates whether attributes should be selected |
diagrams | bool | indicates whether diagrams should be selected |
return | List |
public getRelationByGUID ( string relationGUID ) : ConnectorWrapper | ||
relationGUID | string | |
return | ConnectorWrapper |
public getRelationByID ( int relationID ) : ConnectorWrapper | ||
relationID | int | |
return | ConnectorWrapper |
public getRelationTagByGUID ( string GUID ) : RelationTag | ||
GUID | string | |
return | RelationTag |
public getRelationTagsWithValue ( string value ) : List |
||
value | string | |
return | List |
public getRelationsByQuery ( string SQLQuery ) : List |
||
SQLQuery | string | |
return | List |
public getRepositoryType ( ) : RepositoryType | ||
return | RepositoryType |
public getRoootPackage ( TSF.UmlToolingFramework.UML item ) : RootPackage | ||
item | TSF.UmlToolingFramework.UML | |
return | RootPackage |
public getTaggedValuesWithValue ( string value ) : HashSet |
||
value | string | |
return | HashSet |
public getUserSelectedElement ( List |
||
allowedTypes | List |
the subtypes of UML.Classes.Kernel.Element that should be used as a filter |
return | TSF.UmlToolingFramework.UML.Classes.Kernel.Element |
public getUserSelectedPackage ( ) : TSF.UmlToolingFramework.UML.Classes.Kernel.Package | ||
return | TSF.UmlToolingFramework.UML.Classes.Kernel.Package |
public initialize ( global eaRepository ) : void | ||
eaRepository | global | the ea repository object |
return | void |
public openProperties ( TSF.UmlToolingFramework.UML item ) : void | ||
item | TSF.UmlToolingFramework.UML | the item to open the properties dialog for |
return | void |
public refreshDiagram ( Diagram diagram ) : void | ||
diagram | Diagram | |
return | void |
public saveDiagram ( TSF.UmlToolingFramework.UML diagram ) : void | ||
diagram | TSF.UmlToolingFramework.UML | |
return | void |
public saveElement ( TSF.UmlToolingFramework.UML element ) : void | ||
element | TSF.UmlToolingFramework.UML | |
return | void |
public saveOpenedDiagram ( TSF.UmlToolingFramework.UML diagram ) : void | ||
diagram | TSF.UmlToolingFramework.UML | the diagram that is currently opened |
return | void |
public selectDiagram ( Diagram diagram ) : void | ||
diagram | Diagram | |
return | void |
public taggedValueTypeExists ( string tagName ) : bool | ||
tagName | string | the name of the tagged value type |
return | bool |
public toArrayList ( IEnumerable collection ) : ArrayList | ||
collection | IEnumerable | |
return | ArrayList |
public toObject ( object someObject ) : Object | ||
someObject | object | |
return | Object |