Please note : This help page is for an older version of Enteprise Archtiect. The latest help can be found here.

Topic
Prev Next

Generate a Model Subset (Transform)

Having defined the content of your sub-model or library and applied any restrictions, you can now generate the model. The model transforms that can be performed depend on the technology associated with the profile. Each technology and the transforms it supports are listed here:

Access

Access

Method

Ribbon

Design > Tools > Schema Composer > Open Schema Composer : Generate

Model Transform

Select the model transform(s) to run.

Transform Option

Description

NIEM

NIEM Model Subset

This option will generate a NIEM Model Subset containing the schema described by the profile.

When you click on the OK button, you will be prompted to select the target Package for creation of the subset. The <<Namespace>> Packages that make up the subset will then be created at this location. If any of the subset Packages already exist at this location, their content will be added to. All subset Packages will have the 'defaultPurpose' Tagged Value set to 'subset'.

Execute custom script

A user defined language script such as Javascript will be executed. The script can obtain access to the profile using the Schema Composer automation interfaces.

Generic

Generic model Subset

You will be prompted for a target Package. This will be populated with the types from the schema. If a qualifier is entered this will be applied to the Classes generated. Any restrictions in the schema will also be applied. Types that exist in the target Package will be overwritten. New properties will be added. Types or properties that exist in the target but that no longer exist in the profile will not be removed by this process.

Execute custom script

A user defined language script such as Javascript will be executed. The script can obtain access to the profile using the Schema Composer automation interfaces.

UN/CEFACT NDR 3.0

BDT Library

A Business Datatype Library will be populated from core datatypes listed in the profile. Stereotypes will be transformed according to the CCTS specification. The types could be more restricted than their core counterparts. Properties of datatypes that exist will be overwritten. New properties and types will be added to the library. Types are matched by name and stereotype.

Types or properties that exist in the target but no longer exist in the profile will not be removed by this process.

BIE Library

A Business Information Entity library will be populated from aggregated core components. listed in the profile. Stereotypes will be transformed according to the CCTS specification. Properties of datatypes that exist will be overwritten. New properties and types will be added to the library. Types are matched by name and stereotype.

Types or properties that exist in the target but no longer exist in the profile will not be removed by this process.

Execute custom script

A user defined language script such as Javascript will be executed. The script can access the profile using the Schema Composer automation interfaces.

UN/CEFACT NDR 2/1

UDT Library

Performs an unqualified copy of selected core datatypes to a UDT library.

QDT Library

A Qualified Business Datatype Library will be populated from core datatypes listed in the profile. The names of the resultant types will be qualified by the named qualifier in the profile. Stereotypes will be transformed according to the CCTS specification. Properties of datatypes that exist will be overwritten. New properties and types will be added to the library. Types are matched by name and stereotype.

BIE Library

A Business Information Entity library will be populated from aggregated core components. listed in the profile. Stereotypes will be transformed according to the CCTS specification. Properties of datatypes that exist will be overwritten. New properties and types will be added to the library. Types are matched by name and stereotype.

Execute custom script

A user defined language script such as Javascript will be executed. The script can obtain access to the profile using the Schema Composer automation interfaces.

Generate

Click on the OK button to generate the schema. When the generation is complete, the message Export of profile <name> completed displays.

You can then expand the Package in the Project Browser to see the generated UML model.

Notes

  • The Schema Composer is supported in the Corporate, Systems Engineering, Business and Software Engineering and Ultimate editions of Enterprise Architect

Learn more