Reuse of rules and operations - 4G business classes (TDK)
4GBusiness Classes store Rules and Operations that can be reused by many 4GGeneration Classes.
A 4GBusiness Classes is a Class that is stereotyped by the «4GBusiness» stereotype. In a TDK Code Generation Transformation Patterns model, the supplied Business Classes reside in the Generator::Model2Text package.
If a 4GGeneration Classes wants to use a Role or Operation that is defined on a 4GBusiness Class, it must be linked to the 4GBusiness Classes through an abstraction Dependency. In turn, a 4GBusiness Classes can import Rules and Operations from another 4GBusiness Class through abstraction.
Do not create new Roles and Operations on the provided 4GBusiness Class. If you do so and then update your TDK Code Generation Transformation Patterns model through a release of Modeler, your changes will be lost. Instead, define your own 4GBusiness Classes and extend the other Classes with them.