Class inheritance is the method by which a child class can use all of the rules defined for a parent class. The Pega 7 Platform supports two types of class inheritance: directed inheritance and pattern inheritance.
Both types of class inheritance allow rules of ancestor classes to be inherited. However, class inheritance does not apply to external classes, even if the class name contains a hyphen.