Question
4
Replies
402
Views
Capgemini
Posted: March 12, 2019
Last activity: March 27, 2019
Closed
Solved
Best Practice for Properties
Let's suppose I need a property in a class parent class, I, also, need it to have different values on its 'table type' list on child classes.
Something like this:
Class Vehicle > Prop: MyOption
Class Vehicle-Car > Prop: MyOption (inherited) [Local list: 'A', 'B' or 'C']
Class Vehicle-Boat > Prop: MyOption (inherited) [Local list: 'X', 'Y' or 'Z']
What would be the best approach:
- Save the MyOption on child classes (Pega alerts for duplicated);
- Circunstance MyOption by child class (Wouldnt it be a class specialization?);
Thanks
Sorry, can't even Circunstance it.
Pega 7.2.