Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Transformation Development Kit (TDK) > Customizing an ACS Code Generator DLL > Customizing a TDK code generation transformation patterns model - current TDK models > Changing code generation definition in a TDK code generation transformation patterns model > Creating and extending 4G business classes in a TDK code generation transformation patterns model
  
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.
For more information about 4G Business Classes, see Reuse of rules and operations - 4G business classes (TDK).
* 
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:
Tell me more…
Tell me more…
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:
Tell me more…
Tell me more…
6. Add to the Class Diagram, the provided 4G Business Class that you want to extend.
7. On the Class Diagram toolbar, click the Abstraction button, click the provided 4G Business Class, and then click the 4G Business Class you created.