This target writes the selected application schemas to an Enterprise Architect model file. The capability is mainly useful for generating a physical model of schemas that have been processed using one or more transformations.
The Enterprise Architect UML model target in ShapeChange is configured using the standard <Target> element.
The following is a sample <Target> definition:
<Target class="de.interactive_instruments.ShapeChange.Target.EA.UmlModel" mode="enabled" inputs="Profile"> <targetParameter name="modelFilename" value="output/Profile.eap"/> </Target>
As for all targets, the “inputs” attribute may be used to specify that a model that is the result of a transformation is used as input model for this target.
A <Target> element of this entry may contain the following target parameters:
|Parameter Name||Required / Optional||Type||Default Value||Explanation|
|modelFilename||Optional||String||ShapeChangeExport.eap||The Enterprise architect EAP file to which the application schema(s) are written.|
|outputDirectory||Optional||String||The path to the folder in which the resulting UML model will be created.|
|documentationTemplate (since 2.0.2)||Optional||String||[[definition]]||The template for the documentation that is placed in the notes field in the EA model. The patterns “[[descriptor]]” will be replaced by the value of the descriptor, or the value of documentationNoValue, if the descriptor has no value for the model element. See here for more information about descriptors.|
|documentationNoValue (since 2.0.2)||Optional||String||If a descriptor is used in the documentation template, but has no value, this parameter will be used. See here for more information about descriptors.|
The result is written in a new view “ShapeChangeOutput-<timestamp>” in the Enterprise Architect model file.