Creating and extending 4G business classes in a TDK code generation transformation patterns model
You can create your own 4G Business Classes or extend the provided 4G Business Classes.
|
Do not change the provided Business Classes - if you do so, your changes will be lost should you update the TDK Code Generation Transformation Patterns model with improvements provided in a future release of Modeler.
|
To create a new 4G Business Class:
1. Create a new Package in the TDK model that is not scoped to the Generator or TDK Generator Framework packages.
2. In the Package you created, create a Class Diagram to show your Business Classes and Business Class extensions.
3. On the Class Diagram, create a Class and name it as required.
4. Apply the
4GBusiness stereotype to the Class you created.
How?
5. Define the Rules and Operations on the Business Class as required:
To extend a provided 4G Business Class:
1. Create a new Package in the TDK model that is not scoped to the Generator or TDK Generator Framework packages.
2. In the Package you created, create a Class Diagram to show your Business Classes and Business Class extensions.
3. On the Class Diagram, create a Class and name it as required.
4. Apply the
4GBusiness stereotype to the Class you created.
How?
5. On the Class you created, define the Rules and Operation that you want to use to extend a provided 4G Business Class:
6. Add to the Class Diagram, the provided 4G Business Class that you want to extend.
7. On the
Class Diagram tab, click the
Abstraction button, click the provided
4G Business Class, and then click the
4G Business Class you created.