From df42a9dcc6602177c83a8d6c9e05e727027d7f25 Mon Sep 17 00:00:00 2001
From: "d.lechner" <d.lechner@adito.de>
Date: Thu, 5 Sep 2019 14:58:35 +0200
Subject: [PATCH] Documentation Attribute

---
 entity/AdminViewRow_entity/documentation.adoc       |  3 +--
 .../AttributeRelation_entity.aod                    |  3 +++
 entity/AttributeRelation_entity/documentation.adoc  |  3 +++
 .../attributerelations/documentation.adoc           |  3 +++
 .../entityfields/treeprovider/documentation.adoc    |  3 +++
 .../AttributeUsage_entity/AttributeUsage_entity.aod |  1 +
 entity/AttributeUsage_entity/documentation.adoc     |  9 ++++-----
 .../specificattribute/documentation.adoc            |  4 ++++
 entity/Attribute_entity/documentation.adoc          | 13 ++++++-------
 9 files changed, 28 insertions(+), 14 deletions(-)
 create mode 100644 entity/AttributeRelation_entity/documentation.adoc
 create mode 100644 entity/AttributeRelation_entity/entityfields/attributerelations/documentation.adoc
 create mode 100644 entity/AttributeRelation_entity/entityfields/treeprovider/documentation.adoc
 create mode 100644 entity/AttributeUsage_entity/entityfields/specificattribute/documentation.adoc

diff --git a/entity/AdminViewRow_entity/documentation.adoc b/entity/AdminViewRow_entity/documentation.adoc
index 4ce7da783d..a01f76066b 100644
--- a/entity/AdminViewRow_entity/documentation.adoc
+++ b/entity/AdminViewRow_entity/documentation.adoc
@@ -1,5 +1,4 @@
-AdminViewRow_entity
-=======
+= AdminViewRow_entity
 
 Displays the rows of administrative information of a entity.
 The entity "DefaultAdminView_entity" uses the data for display the rows (for example Person-ID, Contact-ID)
\ No newline at end of file
diff --git a/entity/AttributeRelation_entity/AttributeRelation_entity.aod b/entity/AttributeRelation_entity/AttributeRelation_entity.aod
index 440f9285ae..136544afa3 100644
--- a/entity/AttributeRelation_entity/AttributeRelation_entity.aod
+++ b/entity/AttributeRelation_entity/AttributeRelation_entity.aod
@@ -2,6 +2,7 @@
 <entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.11" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.11">
   <name>AttributeRelation_entity</name>
   <majorModelMode>DISTRIBUTED</majorModelMode>
+  <documentation>%aditoprj%/entity/AttributeRelation_entity/documentation.adoc</documentation>
   <title>Attribute</title>
   <grantDeleteProcess>%aditoprj%/entity/AttributeRelation_entity/grantDeleteProcess.js</grantDeleteProcess>
   <titlePlural>Attributes</titlePlural>
@@ -29,6 +30,7 @@
     </entityParameter>
     <entityProvider>
       <name>TreeProvider</name>
+      <documentation>%aditoprj%/entity/AttributeRelation_entity/entityfields/treeprovider/documentation.adoc</documentation>
       <dependencies>
         <entityDependency>
           <name>e0a7a4bc-ec7f-4f09-9b94-cbeb328cd7b8</name>
@@ -161,6 +163,7 @@
     </entityParameter>
     <entityProvider>
       <name>AttributeRelations</name>
+      <documentation>%aditoprj%/entity/AttributeRelation_entity/entityfields/attributerelations/documentation.adoc</documentation>
       <dependencies>
         <entityDependency>
           <name>69560cc2-d92a-453c-9e64-fb712a538c4f</name>
diff --git a/entity/AttributeRelation_entity/documentation.adoc b/entity/AttributeRelation_entity/documentation.adoc
new file mode 100644
index 0000000000..292349bb83
--- /dev/null
+++ b/entity/AttributeRelation_entity/documentation.adoc
@@ -0,0 +1,3 @@
+= AttributeRelation_entity
+
+Entity for handling the relation and the value when its set in an module
\ No newline at end of file
diff --git a/entity/AttributeRelation_entity/entityfields/attributerelations/documentation.adoc b/entity/AttributeRelation_entity/entityfields/attributerelations/documentation.adoc
new file mode 100644
index 0000000000..8fd9b94d84
--- /dev/null
+++ b/entity/AttributeRelation_entity/entityfields/attributerelations/documentation.adoc
@@ -0,0 +1,3 @@
+= Attribute_entity - AttributeRelations
+
+Provides the information of all relations / Returns a list of relations
\ No newline at end of file
diff --git a/entity/AttributeRelation_entity/entityfields/treeprovider/documentation.adoc b/entity/AttributeRelation_entity/entityfields/treeprovider/documentation.adoc
new file mode 100644
index 0000000000..a3e5357174
--- /dev/null
+++ b/entity/AttributeRelation_entity/entityfields/treeprovider/documentation.adoc
@@ -0,0 +1,3 @@
+= Attribute_entity - TreeProvider
+
+Provides the information for the attribute relation to display it via tree
\ No newline at end of file
diff --git a/entity/AttributeUsage_entity/AttributeUsage_entity.aod b/entity/AttributeUsage_entity/AttributeUsage_entity.aod
index 606005be56..c29a1ebdc5 100644
--- a/entity/AttributeUsage_entity/AttributeUsage_entity.aod
+++ b/entity/AttributeUsage_entity/AttributeUsage_entity.aod
@@ -32,6 +32,7 @@
     </entityField>
     <entityProvider>
       <name>SpecificAttribute</name>
+      <documentation>%aditoprj%/entity/AttributeUsage_entity/entityfields/specificattribute/documentation.adoc</documentation>
       <recordContainer>db</recordContainer>
       <dependencies>
         <entityDependency>
diff --git a/entity/AttributeUsage_entity/documentation.adoc b/entity/AttributeUsage_entity/documentation.adoc
index 21f956b435..798df3873b 100644
--- a/entity/AttributeUsage_entity/documentation.adoc
+++ b/entity/AttributeUsage_entity/documentation.adoc
@@ -1,6 +1,5 @@
-Attribute Usage
-===============
-
-----
-an entity for defining in what contexts an attribute can be used
+= AttributeUsage_entity
+
+----
+an entity for defining in what contexts an attribute can be used
 ----
\ No newline at end of file
diff --git a/entity/AttributeUsage_entity/entityfields/specificattribute/documentation.adoc b/entity/AttributeUsage_entity/entityfields/specificattribute/documentation.adoc
new file mode 100644
index 0000000000..d8e6cdfea1
--- /dev/null
+++ b/entity/AttributeUsage_entity/entityfields/specificattribute/documentation.adoc
@@ -0,0 +1,4 @@
+= AttributeUsage_entity - SpecificAttribute
+
+Returns the information for a specific Attribute.
+When you want a list of all AtributeUsage then use the #Provider
\ No newline at end of file
diff --git a/entity/Attribute_entity/documentation.adoc b/entity/Attribute_entity/documentation.adoc
index 645cba4e8c..c791a9b9ce 100644
--- a/entity/Attribute_entity/documentation.adoc
+++ b/entity/Attribute_entity/documentation.adoc
@@ -1,8 +1,7 @@
-Attribute
-=========
-
-----
-an entity for the definition of attributes
-----
-
+= Attribute_entity
+
+----
+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
-- 
GitLab