[Link] [Link]
co/kgs/KV29AX
Types of classes and class group
On creation of application,default classes will be created.
UHG-Claims-Work Implementation class group.
UHG-FW-MedInsur-WorkFW class group.
All the business implementation has to happen in these work classes.
We Can access FW classes also from Impl applications.
Right click on Class group and click on definition.
Chandra PEGA Trainings Call/WhatsApp +91 8106090080
[Link] [Link]
Check that class is concrete.
Since concrete classes are meant for transactions instantiations, it should have DB table mapped to
that.
To identify DB table name, scroll down and click test connectivity.
Chandra PEGA Trainings Call/WhatsApp +91 8106090080
[Link] [Link]
Similarly check for definition of another work class also.
Division and Org classes will be abstract and doesn’t have Test connection.
Chandra PEGA Trainings Call/WhatsApp +91 8106090080
[Link] [Link]
Abstract:-
Abstract Classes are meant for the purpose of defining the reusable business components which
can be reused across different Implementations (Concrete Business Classes)
Concrete:-
Concrete classes are meant for defining the business functionalities as well as for executing them
(Run the business).
Chandra PEGA Trainings Call/WhatsApp +91 8106090080
[Link] [Link]
Inheritance
Check for the Inheritance for IMPL class group
Impl CG is derived from work-cover-
work-cover- is derived from Work-
Work- is derived from @ baseclass.
Chandra PEGA Trainings Call/WhatsApp +91 8106090080
[Link] [Link]
Above image explains about inheritance of impl CG.
Now check for the inheritance of FW class group
FW Class group is also derived from Work-cover-
We can conclude that parent for FW & Impl Class group is Work-cover-
Chandra PEGA Trainings Call/WhatsApp +91 8106090080
[Link] [Link]
Here FW class group and Impl class group acts as sibilings, where inheriting of components is not
possible.
So need to change the existing structure.
If we make FW as parent to Impl, inheriting will be possible.
If structure is changed as above, we can make FW as parent to Impl, Hence inheriting is possible.
Check for the definition of Frame work class group
Check Class inheritance section…Its getting derived from work-cover-
Now check for the inheritance of Implementation class group.
Its also deriving from work-cover-
Chandra PEGA Trainings Call/WhatsApp +91 8106090080
[Link] [Link]
Both Impl and FW class groups are derived from Work-cover-.
Accessing components from FW will not be possible for Impl applications.
So change the parent to FW class group for implementation application. Implementation can utilize
the rules of Framework.
Click save.
Now check for inheritance of Impl CG(class group)
Chandra PEGA Trainings Call/WhatsApp +91 8106090080
[Link] [Link]
Chandra PEGA Trainings Call/WhatsApp +91 8106090080