In Pega PRPC, there are two types of inheritance:
Directed Inheritance
Pattern Inheritance
Pattern Inheritance is Inheritance on naming convention, where as Directed inheritance is external or advanced inheritance.
Pattern Inheritance is given preference above Directed Inheritance. As per Pega, if PRPC needs to find RULES (reusable components) which a particular class can use or have access to, first they search through the pattern inheritance. Which is nothing but, the naming convention followed to name a particular RULE in Pega. If PRPC do not find the RULE through the pattern inheritance, it will search the RULE in Directed inheritance.
For example, While naming a RULE in Pega, we use Org-Sub-Work-ClassName, This means, ClassName is inherited from Org-Sub-Work class as well as it is part of Work-Cover-.
Directed Inheritance
Pattern Inheritance
Pattern Inheritance is Inheritance on naming convention, where as Directed inheritance is external or advanced inheritance.
Pattern Inheritance is given preference above Directed Inheritance. As per Pega, if PRPC needs to find RULES (reusable components) which a particular class can use or have access to, first they search through the pattern inheritance. Which is nothing but, the naming convention followed to name a particular RULE in Pega. If PRPC do not find the RULE through the pattern inheritance, it will search the RULE in Directed inheritance.
For example, While naming a RULE in Pega, we use Org-Sub-Work-ClassName, This means, ClassName is inherited from Org-Sub-Work class as well as it is part of Work-Cover-.