REST resource inheritance: a core innovation of Biorn
One of the fundamental principles of software engineering is inheritance, which allows
classes to be specialized according to well-established principles and conventions
One of Biorn's key innovations is its ability to automatically detect and manage
inheritance relationships between REST resources. Thanks to its database conventions
and the analysis of foreign key relationships, Biorn Wizard identifies inheritance
hierarchies directly from the database schema and automatically generates
the necessary source code to handle inheritance across CRUD operations
(Create, Read, Update, and Delete).
Following established software engineering principles, Biorn supports both
complete and incomplete specializations, as well as disjoint and
overlapping constraints, covering all four possible combinations.
For example, when reading a Student resource, Biorn automatically includes
both the student's own attributes and those inherited from User.
Similarly, when updating a Student, you can modify attributes
belonging to both the resource and its superclass in a single operation
Biorn also automatically handles complex inheritance scenarios,
including the ability to change the subtype of an existing instance.
For example, if REST resources B and C both inherit
from A, an instance of B can be transformed into
an instance of C through an Update operation