Expand description
Transformations between modeling levels.
The flagship operation is conceptual_to_logical, which mirrors the
conversorConceitualParaLogico algorithm from brModelo:
- Each entity becomes a table.
- Attributes become columns; complex attributes (composite, multivalued)
are expanded according to
ConvertOptions. - Specializations are folded according to a
SpecializationStrategy. - Each binary relationship is resolved into either an FK on one side, an associative table, or a table merge based on its cardinalities.
- Ternary and higher-arity relationships always become associative tables.
- Self-relationships are resolved into either a self-referencing FK or an associative table.
Structs§
- Convert
Options - All knobs for the conceptual → logical conversion.
Enums§
- Complex
Attribute Strategy - How to fold a complex attribute (composite or multivalued).
- Relationship
Resolution - How to resolve a relationship into tables/foreign keys.
- Specialization
Strategy - How to fold a specialization hierarchy into the relational model.
Functions§
- conceptual_
to_ logical - Convert a
ConceptualModelinto aLogicalModelusing the givenConvertOptions.