Skip to content
Snippets Groups Projects
Commit 3b955c30 authored by S.Listl's avatar S.Listl
Browse files

Attribute_entity and JditoFilter_lib documentation

parent 7a3e057c
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,22 @@
an entity for the definition of attributes
----
The Attribute entity is for creating new attributes that can be used in different other entitys.
\ No newline at end of file
The Attribute entity is for creating new attributes that can be used in different other entitys. Attributes are stored in the database table "AB_ATTRIBUTE".
== Data Structure
An Attribute can have a parent attribute, the id of it is saved in the field "ATTRIBUTE_PARENT_ID". With that, attributes can be structured in groups and
there is no limit to the depth of the tree-structure.
== Difference to "AttributeRelation_entity"
Don't confuse this entity with the "AttributeRelation_entity". The Attribute_entity defines the attributes that can be used in the AttributeRelation_entity,
while an AttributeRelation represents the value set for one attribute and dataset.
== Attribute types
There are different types of attributes that can hold different kinds of values, like text, dates or numbers. Besides these also exist special types like groups, selections or
object selections. These types are defined by the keyword "AttributeType". Behind every keyword entry of that keyword lies an entry in the object "$AttributeTypes" in the Attribute_lib,
where properties such as the content type, the database field to store the value or other special properties are defined. In that library there also are functions to get these properties
in AttributeTypeUtil. This logic makes it possible to handle attributes in the code in a generic way. Because of this, new attribute types could be added without
too much effort.
\ No newline at end of file
......@@ -2,6 +2,7 @@
<process xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.2.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/process/1.2.1">
<name>JditoFilter_lib</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/process/JditoFilter_lib/documentation.adoc</documentation>
<process>%aditoprj%/process/JditoFilter_lib/process.js</process>
<variants>
<element>LIBRARY</element>
......
= JditoFilter_lib
This library provides functions to make it easier to use the filter in entities with a jdito-recordcontainer.
\ 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