Méthode | 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 |
Méthode | 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 | |
Résultat | System |
public SQLQuery ( string sqlQuery ) : |
||
sqlQuery | string | |
Résultat |
public addTab ( string title, string fullControlName ) : |
||
title | string | |
fullControlName | string | |
Résultat |
public addTaggedValueType ( string tagName, string tagDescription, string tagDetail ) : void | ||
tagName | string | |
tagDescription | string | |
tagDetail | string | |
Résultat | void |
public addWindow ( string title, string fullControlName ) : |
||
title | string | |
fullControlName | string | |
Résultat |
public adviseChange ( TSF.UmlToolingFramework.UML element ) : void | ||
element | TSF.UmlToolingFramework.UML | |
Résultat | void |
public escapeSQLString ( string sqlString ) : string | ||
sqlString | string | the string to be escaped |
Résultat | string |
public executeSQL ( string SQLString ) : void | ||
SQLString | string | |
Résultat | void |
public formatXPath ( string xpath ) : string | ||
xpath | string | the xpath to format |
Résultat | string |
public getAttributeByID ( int attributID ) : Attribute | ||
attributID | int | the attribute's ID |
Résultat | Attribute |
public getAttributeTagByGUID ( string GUID ) : AttributeTag | ||
GUID | string | |
Résultat | AttributeTag |
public getAttributeTagsWithValue ( string value ) : List |
||
value | string | |
Résultat | List |
public getAttributeWrapperByGUID ( string GUID ) : AttributeWrapper | ||
GUID | string | the attribute's GUID |
Résultat | AttributeWrapper |
public getAttributesByQuery ( string SQLQuery ) : List |
||
SQLQuery | string | |
Résultat | List |
public getCurrentRootPackage ( ) : TSF.UmlToolingFramework.UML.Classes.Kernel.Package | ||
Résultat | TSF.UmlToolingFramework.UML.Classes.Kernel.Package |
public getDiagramByGUID ( string diagramGUID ) : Diagram | ||
diagramGUID | string | |
Résultat | Diagram |
public getDiagramByID ( int diagramID ) : Diagram | ||
diagramID | int | |
Résultat | Diagram |
public getDiagramsByQuery ( string sqlGetDiagrams ) : List |
||
sqlGetDiagrams | string | |
Résultat | List |
public getElementByGUID ( string GUIDstring ) : TSF.UmlToolingFramework.UML.Classes.Kernel.Element | ||
GUIDstring | string | |
Résultat | TSF.UmlToolingFramework.UML.Classes.Kernel.Element |
public getElementTagByGUID ( string GUID ) : ElementTag | ||
GUID | string | |
Résultat | ElementTag |
public getElementTagsWithValue ( string value ) : HashSet |
||
value | string | |
Résultat | HashSet |
public getElementWrapperByGUID ( string GUID ) : ElementWrapper | ||
GUID | string | the GUID of the element |
Résultat | ElementWrapper |
public getElementWrapperByID ( int id ) : ElementWrapper | ||
id | int | |
Résultat | ElementWrapper |
public getElementWrapperByPackageID ( int packageID ) : ElementWrapper | ||
packageID | int | |
Résultat | ElementWrapper |
public getElementWrappersByQuery ( string sqlQuery ) : List |
||
sqlQuery | string | query returning the Object_ID's |
Résultat | List |
public getItemFromFQN ( string FQN ) : TSF.UmlToolingFramework.UML.Extended.UMLItem | ||
FQN | string | |
Résultat | TSF.UmlToolingFramework.UML.Extended.UMLItem |
public getItemFromGUID ( string guidString ) : TSF.UmlToolingFramework.UML.Extended.UMLItem | ||
guidString | string | the string with the guid |
Résultat | TSF.UmlToolingFramework.UML.Extended.UMLItem |
public getOperationByGUID ( string guid ) : Operation | ||
guid | string | |
Résultat | Operation |
public getOperationByID ( int operationID ) : Operation | ||
operationID | int | |
Résultat | Operation |
public getOperationTagByGUID ( string GUID ) : OperationTag | ||
GUID | string | |
Résultat | OperationTag |
public getOperationTagsWithValue ( string value ) : List |
||
value | string | |
Résultat | List |
public getOperationsByQuery ( string SQLQuery ) : List |
||
SQLQuery | string | |
Résultat | List |
public getParameterByGUID ( string GUID ) : ParameterWrapper | ||
GUID | string | the parameter's GUID |
Résultat | ParameterWrapper |
public getParameterTagByGUID ( string GUID ) : ParameterTag | ||
GUID | string | |
Résultat | ParameterTag |
public getParameterTagsWithValue ( string value ) : List |
||
value | string | |
Résultat | List |
public getParametersByQuery ( string SQLQuery ) : List |
||
SQLQuery | string | |
Résultat | 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 |
Résultat | List |
public getRelationByGUID ( string relationGUID ) : ConnectorWrapper | ||
relationGUID | string | |
Résultat | ConnectorWrapper |
public getRelationByID ( int relationID ) : ConnectorWrapper | ||
relationID | int | |
Résultat | ConnectorWrapper |
public getRelationTagByGUID ( string GUID ) : RelationTag | ||
GUID | string | |
Résultat | RelationTag |
public getRelationTagsWithValue ( string value ) : List |
||
value | string | |
Résultat | List |
public getRelationsByQuery ( string SQLQuery ) : List |
||
SQLQuery | string | |
Résultat | List |
public getRepositoryType ( ) : RepositoryType | ||
Résultat | RepositoryType |
public getRoootPackage ( TSF.UmlToolingFramework.UML item ) : RootPackage | ||
item | TSF.UmlToolingFramework.UML | |
Résultat | RootPackage |
public getTaggedValuesWithValue ( string value ) : HashSet |
||
value | string | |
Résultat | HashSet |
public getUserSelectedElement ( List |
||
allowedTypes | List |
the subtypes of UML.Classes.Kernel.Element that should be used as a filter |
Résultat | TSF.UmlToolingFramework.UML.Classes.Kernel.Element |
public getUserSelectedPackage ( ) : TSF.UmlToolingFramework.UML.Classes.Kernel.Package | ||
Résultat | TSF.UmlToolingFramework.UML.Classes.Kernel.Package |
public initialize ( global eaRepository ) : void | ||
eaRepository | global | the ea repository object |
Résultat | void |
public openProperties ( TSF.UmlToolingFramework.UML item ) : void | ||
item | TSF.UmlToolingFramework.UML | the item to open the properties dialog for |
Résultat | void |
public refreshDiagram ( Diagram diagram ) : void | ||
diagram | Diagram | |
Résultat | void |
public saveDiagram ( TSF.UmlToolingFramework.UML diagram ) : void | ||
diagram | TSF.UmlToolingFramework.UML | |
Résultat | void |
public saveElement ( TSF.UmlToolingFramework.UML element ) : void | ||
element | TSF.UmlToolingFramework.UML | |
Résultat | void |
public saveOpenedDiagram ( TSF.UmlToolingFramework.UML diagram ) : void | ||
diagram | TSF.UmlToolingFramework.UML | the diagram that is currently opened |
Résultat | void |
public selectDiagram ( Diagram diagram ) : void | ||
diagram | Diagram | |
Résultat | void |
public taggedValueTypeExists ( string tagName ) : bool | ||
tagName | string | the name of the tagged value type |
Résultat | bool |
public toArrayList ( IEnumerable collection ) : ArrayList | ||
collection | IEnumerable | |
Résultat | ArrayList |
public toObject ( object someObject ) : Object | ||
someObject | object | |
Résultat | Object |