Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Copy Information
In many transformations there is a substantial amount of information to be copied.
It would be tedious to type all of the common information into a template so that it is copied to the transformed Class; the alternative is to use the TRANSFORM_CURRENT and TRANSFORM_TAGS function macros.
Reference
Topic |
Detail |
See also |
---|---|---|
Copy Object |
TRANSFORM_CURRENT(<listOfExcludedItems>) The function generates an exact copy of all the properties of the current item, except for the items named in <listOfExcludedItems>.
|
|
Copy Connector |
Another form of the function is available when transforming connectors that enables either end of the connector to be copied: TRANSFORM_CURRENT(<connectorEnd>,<listOfExcludedItems>) This generates an exact copy of the connector end specified by <connectorEnd>
|
|
Copy Tags |
TRANSFORM_TAGS(<listOfExcludedItems>) The function generates an exact copy of all the Tagged Values of the current item, except for the items named in <listOfExcludedItems>.
|
|