subtypebasert
Subtypebasert is a design principle used in data modeling and software architecture that organizes systems around explicit subtypes derived from a common base type. In a subtypebasert approach, the base type defines shared attributes and behavior, while each subtype adds specialized state or operations. The approach supports polymorphism and clear separation of concerns by placing variability in well-defined subtypes rather than in a single, monolithic type.
In practice, subtypebasert modeling relies on a hierarchical or discriminated structure in which instances are typed
Applications include object-oriented design, database schemas with table-per-subclass or single-table inheritance patterns, and data interchange formats
Limitations include increased modeling complexity, more elaborate serialization/deserialization logic, and potential performance costs in deep hierarchies.
See also: subtype polymorphism, discriminated unions, base type, inheritance.