Keditance

Keditance is a design pattern in Object Orientated Programming that ensure absolute inheritance. Inheritance is relative by design, a child class inherits from a parent child. With absolute inheritance, both parent and child inherit from an abstract class while relating to each other.

Keditance illustration

Keditance Illustration

Mermaid graph

 graph
 A[Abstract Class] -- Inherit/Extends --> B(Parent Model)
 A -- Inherit/Extends --> C(Child Model 1)
 A -- Inherit/Extends --> D(Child Model 2)

 B --Relate--> C
 B --Relate--> D