diff --git a/entity/Attribute_entity/documentation.adoc b/entity/Attribute_entity/documentation.adoc index c791a9b9cea3cbb3d60835b5c63433ac5a45474e..b51e812c57faacb5b16bff63a7abd88ac01e2da3 100644 --- a/entity/Attribute_entity/documentation.adoc +++ b/entity/Attribute_entity/documentation.adoc @@ -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 diff --git a/process/JditoFilter_lib/JditoFilter_lib.aod b/process/JditoFilter_lib/JditoFilter_lib.aod index 39f93d7408ba9b780ffa2103135c3164dee04d68..e6721ea4e24d19d56ce2a3054d799e994536ed7c 100644 --- a/process/JditoFilter_lib/JditoFilter_lib.aod +++ b/process/JditoFilter_lib/JditoFilter_lib.aod @@ -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> diff --git a/process/JditoFilter_lib/documentation.adoc b/process/JditoFilter_lib/documentation.adoc new file mode 100644 index 0000000000000000000000000000000000000000..468297887c298bb71104627398d4e7f786ce0431 --- /dev/null +++ b/process/JditoFilter_lib/documentation.adoc @@ -0,0 +1,3 @@ += 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