Inheritance is a primary benefit of object oriented technology. PRPC offers multiple types of inheritance that can maximize reuse of your rules while allowing localized overriding as appropriate. Also called polymorphism, inheritance allows a rule created for one class (possibly an abstract class) to be applied to other classes that inherit from it:
Class inheritance uses a sophisticated algorithm to find the parent classes of a specific class. Two types of class inheritance — directed inheritance and pattern inheritance — are available.
Use the Class Inheritance display to confirm which classes are ancestor classes to a specific class, and the order in which PRPC searches these classes during rule resolution using both pattern inheritance and directed inheritance.
Class inheritance does not apply to external classes, even if the class name contains a dash character.