Skip to content
Snippets Groups Projects
Commit 83fa304f authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

ObjectRelationType_entity documentation

parent 5a9a0d9e
No related branches found
No related tags found
No related merge requests found
= ObjectRelationType_entity
Administrative obsolescence of the object_entity
\ No newline at end of file
This entity is for administrating the different types of ObjectRelations that can be used with the ObjectTree_entity.
== Database Structure
One complete ObjectRelationType can consist of either one or two rows in the table 'AB_OBJECTRELATIONTYPE', depending on whether the ObjectRelationType is double-sided or not. When there are two rows they share the same 'RELATION_TYPE' and the order of them is determined by the 'SIDE'.
The flag 'HIERARCHY' determines if the relation between to objects will be hierarchical.
== Entity Structure
In the entity, one row represents a "full" ObjectRelationType, so the database entries that make it up are already joined together.
NOTE: A "second side" of the ObjectRelationType is not mandatory, if it is not set, only one row in the database is needed. Such a relation type makes sense when a relation is the same regardless from which side you view it (e. g. acquaintance).
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment