In data modeling, type relationships are used to represent the way entities interact and connect with each other. Akwatype offers a range of tools for structuring these relationships and defining associations tailored to business needs, while ensuring greater clarity and consistency. This section explores the different relationships between types in Akwatype and the features that enable them to be formalized, from simple one-to-one links to more complex associations with inheritance and reuse.
To discover our various concepts, click here!
Relationship Types: One-to-One, One-to-Many, Many-to-Many
Relationship types define the main links between entities, such as one-to-one, one-to-many, and many-to-many relationships. These relationships structure the basic connections between types, ensuring the logic of the model and the validity of interactions between entities. This chapter guides you through the essential relationships required to model consistent data structures.
How to Define and Manage Relationships in Akwatype
Akwatype provides tools for defining relationships in a detailed and rigorous way, including concepts such as composition and aggregation, as well as cardinality rules. These features enable you to structure complex relationships, ensuring that every link between entities is both business-compliant and technically sound.
Reuse Attributes from One Type in Another Using "using"
Reuse is a key element in ensuring model consistency and efficiency. Akwatype offers a "using" feature that allows attributes from one type to be integrated into another, without unnecessary duplication. This ensures standardization of attributes and simplifies the management of large-scale models.
Find out more about attribute reuse
Inheritance Relations and Polymorphism with Extends
For even greater flexibility and modularity, Akwatype supports inheritance and polymorphism, enabling you to define hierarchical relationships between types. Inheritance relationships make it possible to create specialized entities from general types, while maintaining a clear, scalable structure.