Monday, 02 May 2011 06:51

Copy Tagged Values from a source to a target model using Transformations

Written by
Rate this item
(0 votes)

 

In order to copy a Tagged Value named "mytag" from the source model to the target model you can add the following to the Class template (Ctrl+Alt+H):

 

%if classTag:"mytag" != ""%
Tag
{
  name=%qt%mytag%qt%
  value=%qt%%classTag:"mytag"%%qt%
}
%endIf%

 

For more information on transformation templates see:

http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/software_development/transformationtemplates.html

 

Read 5819 times
sparxsystems

Sparx Systems


99 Albert Street
Creswick,
Victoria
3363
Australia
P: +61 3 5345 1140
F: +61 3 5345 1104
 
Sparx Systems specializes in high performance and scalable visual modeling tools for the planning, design and construction of software intensive systems. A Contributing Member of the Object Management Group (OMG), Sparx Systems is committed to realizing the potential of model-driven development based on open standards. The company’s flagship product, Enterprise Architect, has received numerous accolades since its commercial release in August, 2000. Enterprise Architect is the design tool of choice for over 740,000 registered users worldwide.

community.sparxsystems.com
Login to post comments