Skip to content
Snippets Groups Projects
ObjectRelation_entity.aod 13.90 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.2.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.2.0">
  <name>ObjectRelation_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/ObjectRelation_entity/documentation.adoc</documentation>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
      <recordContainer>db</recordContainer>
    </entityProvider>
    <entityField>
      <name>OBJECT1_TYPE</name>
      <title>Type 1</title>
      <consumer>Contexts</consumer>
      <linkedContext>Context_context</linkedContext>
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object1_type/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object1_type/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object1_type/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>OBJECT1_ROWID</name>
      <title>Object 1</title>
      <consumer>Objects1</consumer>
      <linkedContextProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object1_rowid/linkedContextProcess.js</linkedContextProcess>
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object1_rowid/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object1_rowid/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object1_rowid/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>AB_OBJECTRELATIONID</name>
    </entityField>
    <entityField>
      <name>OBJECT2_ROWID</name>
      <title>Object 2</title>
      <consumer>Objects2</consumer>
      <linkedContextProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object2_rowid/linkedContextProcess.js</linkedContextProcess>
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object2_rowid/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object2_rowid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>OBJECT2_TYPE</name>
      <title>Type 2</title>
      <consumer>Contexts</consumer>
      <linkedContext>Context_context</linkedContext>
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object2_type/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object2_type/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/object2_type/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityParameter>
      <name>Object1Type_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>Object1</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <targetContextField>OBJECT2_TYPE</targetContextField>
      <targetIdField>OBJECT2_ROWID</targetIdField>
      <documentation>%aditoprj%/entity/ObjectRelation_entity/entityfields/object1/documentation.adoc</documentation>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>8eb3187c-07cb-4b51-8b7e-d63e83959bdb</name>
          <entityName>Activity_entity</entityName>
          <fieldName>ObjectRelations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>AnyObjectRowid_param</name>
          <expose v="false" />
          <mandatory v="false" />
        </entityParameter>
        <entityParameter>
          <name>AnyObjectType_param</name>
          <expose v="false" />
          <mandatory v="false" />
        </entityParameter>
        <entityParameter>
          <name>Object2Rowid_param</name>
          <expose v="false" />
          <mandatory v="false" />
        </entityParameter>
        <entityParameter>
          <name>Object2Type_param</name>
          <expose v="false" />
          <mandatory v="false" />
        </entityParameter>
        <entityParameter>
          <name>Object1Type_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>Object1Rowid_param</name>
          <expose v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>Object1Rowid_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>Object2</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <targetContextField>OBJECT1_TYPE</targetContextField>
      <targetIdField>OBJECT1_ROWID</targetIdField>
      <documentation>%aditoprj%/entity/ObjectRelation_entity/entityfields/object2/documentation.adoc</documentation>
      <recordContainer>db</recordContainer>
      <children>
        <entityParameter>
          <name>AnyObjectRowid_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>AnyObjectType_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>Object1Rowid_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>Object1Type_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>Object2Rowid_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>Object2Type_param</name>
          <expose v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityProvider>
      <name>BothObjects</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <targetContextField>OBJECT2_TYPE</targetContextField>
      <targetIdField>OBJECT2_ROWID</targetIdField>
      <documentation>%aditoprj%/entity/ObjectRelation_entity/entityfields/bothobjects/documentation.adoc</documentation>
      <recordContainer>db</recordContainer>
      <children>
        <entityParameter>
          <name>AnyObjectRowid_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>AnyObjectType_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>Object1Rowid_param</name>
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>Object1Type_param</name>
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>Object2Rowid_param</name>
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>Object2Type_param</name>
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>Object2Rowid_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>Object2Type_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>AnyObjectRowid_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>AnyObjectType_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>AnyObject</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <targetContextField>AnyTargetType</targetContextField>
      <targetIdField>AnyTargetRowid</targetIdField>
      <documentation>%aditoprj%/entity/ObjectRelation_entity/entityfields/anyobject/documentation.adoc</documentation>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>744259f7-3b08-4147-8376-3311b7a35712</name>
          <entityName>Contact_entity</entityName>
          <fieldName>ObjectRelations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>38acc24a-716c-4c58-9e6f-9d3ccca0ab43</name>
          <entityName>Organisation_entity</entityName>
          <fieldName>ObjectRelations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>f3b9bfa5-e04d-45b4-8bd6-baed4c7ceac0</name>
          <entityName>Appointment_entity</entityName>
          <fieldName>ObjectRelations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>279f61ad-de6d-4538-a763-51965e2c7e0a</name>
          <entityName>Salesproject_entity</entityName>
          <fieldName>ObjectRelations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>Object1Rowid_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>Object1Type_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>Object2Rowid_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>Object2Type_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>AnyObjectRowid_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>AnyObjectType_param</name>
          <expose v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityConsumer>
      <name>Contexts</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <dependency>
        <name>dependency</name>
        <entityName>Context_entity</entityName>
        <fieldName>#PROVIDER</fieldName>
      </dependency>
    </entityConsumer>
    <entityConsumer>
      <name>Objects1</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <dependency>
        <name>dependency</name>
        <entityName>Object_entity</entityName>
        <fieldName>AllObjects</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <code>%aditoprj%/entity/ObjectRelation_entity/entityfields/objects1/children/objecttype_param/code.js</code>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Objects2</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <dependency>
        <name>dependency</name>
        <entityName>Object_entity</entityName>
        <fieldName>AllObjects</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <code>%aditoprj%/entity/ObjectRelation_entity/entityfields/objects2/children/objecttype_param/code.js</code>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>AnyTargetRowid</name>
      <valueProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/anytargetrowid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>AnyTargetType</name>
      <valueProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/anytargettype/valueProcess.js</valueProcess>
    </entityField>
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <description>&amp;lt;null value&amp;gt;</description>
      <alias>Data_alias</alias>
      <conditionProcess>%aditoprj%/entity/ObjectRelation_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <linkInformation>
        <linkInformation>
          <name>5c101805-5643-466c-b1b8-0462cd90c400</name>
          <tableName>AB_OBJECTRELATION</tableName>
          <primaryKey>AB_OBJECTRELATIONID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
      </linkInformation>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>AB_OBJECTRELATIONID.value</name>
          <recordfield>AB_OBJECTRELATION.AB_OBJECTRELATIONID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OBJECT1_ROWID.value</name>
          <recordfield>AB_OBJECTRELATION.OBJECT1_ROWID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OBJECT1_TYPE.value</name>
          <recordfield>AB_OBJECTRELATION.OBJECT1_TYPE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OBJECT2_ROWID.value</name>
          <recordfield>AB_OBJECTRELATION.OBJECT2_ROWID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OBJECT2_TYPE.value</name>
          <recordfield>AB_OBJECTRELATION.OBJECT2_TYPE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OBJECT2_ROWID.displayValue</name>
          <expression>%aditoprj%/entity/ObjectRelation_entity/recordcontainers/db/recordfieldmappings/object2_rowid.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OBJECT1_ROWID.displayValue</name>
          <expression>%aditoprj%/entity/ObjectRelation_entity/recordcontainers/db/recordfieldmappings/object1_rowid.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
      </recordFieldMappings>
    </dbRecordContainer>
  </recordContainers>
</entity>