Description
The utility class is for BTT Transaction Editor.
Public Functions
Name | Parameters | Return Value | Description |
getGlobalReferenceHelper | workProduct(WorkProduct) | GlobalReferenceHelper | Get GlobalReferenceHelper instance by the assigned workProduct |
getGlobalTagDefinitionHelper | workProduct(WorkProduct) | GlobalTagDefinitionHelper | Get the GlobalTagDefinitionHelper instance by the assigned workProduct |
getProjectByModel | Object(EObject) | IProject | Get the project instance by the assigned Transaction EObject model |
getRootModel | Domain(EditingDomain) | WorkProduct | Get the rootModel by the assigned EditingDomain |
getEditingDomain | Object(EObject) | EditingDomain | Return the current active EditingDomain by the assigned EObject model |
getTransactionModelEngine | workProduct(WorkProduct) | TransactionModelEngine | Return the transactionModelEngine instance by the assigned WorkProduct |
getNestedDataElement | Id(String), workProduct(WorkProduct) |
DataElement | Get data recursively such as A.B.C |
getDataElement | Id(String), workProduct(WorkProduct) |
DataElement | Get data directly such as A |
getTargetRefData | refData(RefData) workProduct(WorkProduct) |
DataElement | Get the target dataElement by the refData and assigned WorkProduct |
getAliasOrId | Element(MetaData) | String | if the assigned model type is refData,when it has alias will return alias id otherwise will return refId if the assigned model type is dataElement will return dataelement id |