This document describes the models in Dedomenon. It is strongly recommend that you get fimiliar with the [[Dedomenon_Concepts|Dedomenon concepts]] first.
You can also look at document:“Model’s Diagram of Dedomenon”
Models in Dedomenon can be categorized in following categories:
- Defination Models
- Data Models
- User and Account Models
- Mailings and Notification Models
Defination modesl define the structure of a Dedomenon database. For more information, please look at the [[Dedomenon_Concepts|concepts of Dedomenon]]
Following models define the structure of a database
- Represents a Dedomenon database. A database belongs to an account
- Represents a dedomenon detail. It belongs to a database and linked to one or more entities.
- Represents the data type of a detail.
- Represents the status of a detail in Dedomenon.
- Represents a single possible proposition for a detail of type ‘choose in list’
- Represents an entity in Dedomenon. An entity belongs on a single database and has many details.
- Represents the link between an entity and detail.
- Represents the link between an entity and detail. This is redundant, only one class will be kept out of the two.
- Represents a relation in between two entities in a Dedomenon database.
- Represents the side types of relations.
Data models represent the data being stored by users in Dedomenon. These data models ensure that the values being saved are valid. Also, they format the stored values for display on user interface.
Following models represent data:
- Represents an instance. An instance belongs to an entity and has many detail values.
- Links two instances to gather.
- Represents a detail value in Dedomenon. Almost all textual type detail values are derivative of this model.
- Represents simple text.
- Represents larger amounts of text.
- Represents a URL@*
- Represents an email address.
- Represents a proposition choice.
- Represents an integer value.
- Represents a date type value.
- Represents a file attachment.
User and Account Models
The User and Account models represent user and accounts and manage authentication and other user rights.
Currently, Dedomenon has following models pertaining to account and user management:
- Represents a Dedomenon account. An account has many users and many databases.
- Represents and account type. (might be deprecated in future or moved to a plugin)
- Extension mechanism for appending further information with an account type.
- Represents a user in Dedomenon. A user belongs to an account.
- Represents the type of a user.
- Stores the preferences of a user.
Mailings and Notification Models
- Used to send mails. Might change or extend in future.
- Used for various notifications like registration, forgotten password etc.