Skip to content
Snippets Groups Projects
AttributeRelation_entity.aod 11.01 KiB
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.6" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.6">
  <name>AttributeRelation_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <title>Attribute</title>
  <onValidation>%aditoprj%/entity/AttributeRelation_entity/onValidation.js</onValidation>
  <titlePlural>Attributes</titlePlural>
  <recordContainer>jdito</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
    </entityProvider>
    <entityField>
      <name>PARENT_ID</name>
    </entityField>
    <entityField>
      <name>UID</name>
      <valueProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/uid/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>ObjectType_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>ObjectRowId_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>TreeProvider</name>
      <dependencies>
        <entityDependency>
          <name>e0a7a4bc-ec7f-4f09-9b94-cbeb328cd7b8</name>
          <entityName>Organisation_entity</entityName>
          <fieldName>AttributeTree</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>f29d91fe-2537-486f-b9de-44065a7790d4</name>
          <entityName>Person_entity</entityName>
          <fieldName>AttributeTree</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>445c1bd7-4e72-4ab7-a5b1-cc77924eb562</name>
          <entityName>Product_entity</entityName>
          <fieldName>AttributeTree</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>4498139f-067c-4cca-b122-d9bc9100c53d</name>
          <entityName>Activity_entity</entityName>
          <fieldName>AttributeTree</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>b728166d-a74f-4ca1-8ce7-7e57032f2a7d</name>
          <entityName>Contract_entity</entityName>
          <fieldName>AttributeTree</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>3921c712-d15c-4941-b04d-44f4536dc404</name>
          <entityName>Employee_entity</entityName>
          <fieldName>AttributeTree</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>148faad1-78f6-4ff2-a4d5-9607d919adb9</name>
          <entityName>Salesproject_entity</entityName>
          <fieldName>AttributeTree</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>8ed8bae6-c69e-45ce-9fc9-5fb43587a47b</name>
          <entityName>Order_entity</entityName>
          <fieldName>AttributeTree</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>GetTree_param</name>
          <valueProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/treeprovider/children/gettree_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityField>
      <name>AB_ATTRIBUTE_ID</name>
      <title>Attribute</title>
      <consumer>SpecificAttribute</consumer>
      <displayValueProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/ab_attribute_id/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/AttributeRelation_entity/entityfields/ab_attribute_id/onValueChange.js</onValueChange>
      <onValueChangeTypes />
    </entityField>
    <entityField>
      <name>VALUE</name>
      <title>Value</title>
      <contentTypeProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/value/contentTypeProcess.js</contentTypeProcess>
      <resolution>DAY</resolution>
      <mandatoryProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/value/mandatoryProcess.js</mandatoryProcess>
      <dropDownProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/value/dropDownProcess.js</dropDownProcess>
      <stateProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/value/stateProcess.js</stateProcess>
      <displayValueProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/value/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityConsumer>
      <name>SpecificAttribute</name>
      <dependency>
        <name>dependency</name>
        <entityName>Attribute_entity</entityName>
        <fieldName>SpecificAttribute</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/specificattribute/children/objecttype_param/valueProcess.js</valueProcess>
          <triggerRecalculation v="true" />
        </entityParameter>
        <entityParameter>
          <name>AttributeCount_param</name>
          <valueProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/specificattribute/children/attributecount_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionGroup>
      <name>alter</name>
      <children>
        <entityActionField>
          <name>edit</name>
          <onActionProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/alter/children/edit/onActionProcess.js</onActionProcess>
          <iconId>NEON:PENCIL</iconId>
          <stateProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/alter/children/edit/stateProcess.js</stateProcess>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityParameter>
      <name>GetTree_param</name>
      <expose v="true" />
      <triggerRecalculation v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>AttributeRelations</name>
      <dependencies>
        <entityDependency>
          <name>69560cc2-d92a-453c-9e64-fb712a538c4f</name>
          <entityName>Organisation_entity</entityName>
          <fieldName>Attributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>34f24d10-7312-4b03-8d6f-2918c8cb9eb8</name>
          <entityName>Person_entity</entityName>
          <fieldName>Attributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>3cb1014d-a6c8-4b4a-83ba-a099d4488ab2</name>
          <entityName>Activity_entity</entityName>
          <fieldName>Attributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>2662f513-6498-40c2-bed6-031087857e82</name>
          <entityName>Contract_entity</entityName>
          <fieldName>Attributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>be336d6c-c550-4ae5-9f78-0f2ee56a2a6c</name>
          <entityName>Employee_entity</entityName>
          <fieldName>Attributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>8488da81-0f98-4c4b-811f-ccda64c8624b</name>
          <entityName>Offer_entity</entityName>
          <fieldName>Attributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>7df4a57a-646d-4b5a-802b-f1e2bf93d09b</name>
          <entityName>Order_entity</entityName>
          <fieldName>Attributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>40a4c698-d34f-4c5a-bee8-239ee9d71f20</name>
          <entityName>Product_entity</entityName>
          <fieldName>Attributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>99bc7ec8-195e-483f-923e-763c6f28a29c</name>
          <entityName>Salesproject_entity</entityName>
          <fieldName>Attributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>fd90bd15-d9c2-4eb6-9e7f-7669fded02f6</name>
          <entityName>Competition_entity</entityName>
          <fieldName>Attributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>GetTree_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityField>
      <name>DATE_EDIT</name>
      <valueProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_NEW</name>
      <valueProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
      <valueProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_NEW</name>
      <valueProcess>%aditoprj%/entity/AttributeRelation_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>FilteredAttributes_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>DisplaySimpleName_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
  </entityFields>
  <recordContainers>
    <jDitoRecordContainer>
      <name>jdito</name>
      <jDitoRecordAlias>Data_alias</jDitoRecordAlias>
      <contentProcess>%aditoprj%/entity/AttributeRelation_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
      <onInsert>%aditoprj%/entity/AttributeRelation_entity/recordcontainers/jdito/onInsert.js</onInsert>
      <onUpdate>%aditoprj%/entity/AttributeRelation_entity/recordcontainers/jdito/onUpdate.js</onUpdate>
      <onDelete>%aditoprj%/entity/AttributeRelation_entity/recordcontainers/jdito/onDelete.js</onDelete>
      <recordFields>
        <element>UID.value</element>
        <element>PARENT_ID.value</element>
        <element>VALUE.value</element>
        <element>VALUE.displayValue</element>
        <element>AB_ATTRIBUTE_ID.value</element>
        <element>AB_ATTRIBUTE_ID.displayValue</element>
      </recordFields>
    </jDitoRecordContainer>
  </recordContainers>
</entity>