<?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.17" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.17"> <name>DocumentTemplateLink_entity</name> <majorModelMode>DISTRIBUTED</majorModelMode> <documentation>%aditoprj%/entity/DocumentTemplateLink_entity/documentation.adoc</documentation> <title>Attachment</title> <recordContainer>db</recordContainer> <entityFields> <entityProvider> <name>#PROVIDER</name> </entityProvider> <entityField> <name>DATE_EDIT</name> <contentType>DATE</contentType> <resolution>DAY</resolution> <valueProcess>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/date_edit/valueProcess.js</valueProcess> </entityField> <entityField> <name>DATE_NEW</name> <contentType>DATE</contentType> <resolution>DAY</resolution> <valueProcess>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/date_new/valueProcess.js</valueProcess> </entityField> <entityField> <name>USER_EDIT</name> <valueProcess>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/user_edit/valueProcess.js</valueProcess> </entityField> <entityField> <name>USER_NEW</name> <valueProcess>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/user_new/valueProcess.js</valueProcess> </entityField> <entityField> <name>DOCUMENTTEMPLATE_ID_PARENT</name> <valueProcess>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/documenttemplate_id_parent/valueProcess.js</valueProcess> </entityField> <entityField> <name>DOCUMENTTEMPLATELINKID</name> <valueProcess>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/documenttemplatelinkid/valueProcess.js</valueProcess> </entityField> <entityField> <name>DOCUMENTTEMPLATE_ID_CHILD</name> <consumer>Attachments</consumer> <linkedContext>DocumentTemplate</linkedContext> <stateProcess>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/documenttemplate_id_child/stateProcess.js</stateProcess> <displayValueProcess>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/documenttemplate_id_child/displayValueProcess.js</displayValueProcess> </entityField> <entityParameter> <name>DocumentId_param</name> <expose v="true" /> <description>PARAMETER</description> </entityParameter> <entityConsumer> <name>Attachments</name> <dependency> <name>dependency</name> <entityName>DocumentTemplate_entity</entityName> <fieldName>Attachments</fieldName> </dependency> <children> <entityParameter> <name>DocumentTemplateType_param</name> <title></title> <valueProcess>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/attachments/children/documenttemplatetype_param/valueProcess.js</valueProcess> </entityParameter> </children> </entityConsumer> <entityProvider> <name>Links</name> <targetIdField>DOCUMENTTEMPLATE_ID_CHILD</targetIdField> <documentation>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/links/documentation.adoc</documentation> <recordContainer>db</recordContainer> <dependencies> <entityDependency> <name>db3b7e04-ca3b-4205-a1d3-5e5e5cb13073</name> <entityName>DocumentTemplate_entity</entityName> <fieldName>Links</fieldName> <isConsumer v="false" /> </entityDependency> </dependencies> <children> <entityParameter> <name>DocumentId_param</name> <expose v="true" /> </entityParameter> <entityParameter> <name>Type_param</name> <expose v="true" /> </entityParameter> </children> </entityProvider> <entityParameter> <name>Type_param</name> <expose v="true" /> <description>PARAMETER</description> </entityParameter> <entityActionField> <name>OpenDocument</name> <onActionProcess>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/opendocument/onActionProcess.js</onActionProcess> <iconId>VAADIN:DOWNLOAD</iconId> </entityActionField> <entityField> <name>ICON</name> <contentType>TEXT</contentType> <valueProcess>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/icon/valueProcess.js</valueProcess> </entityField> <entityProvider> <name>#PROVIDER_AGGREGATES</name> <useAggregates v="true" /> </entityProvider> </entityFields> <recordContainers> <dbRecordContainer> <name>db</name> <alias>Data_alias</alias> <fromClauseProcess>%aditoprj%/entity/DocumentTemplateLink_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess> <conditionProcess>%aditoprj%/entity/DocumentTemplateLink_entity/recordcontainers/db/conditionProcess.js</conditionProcess> <linkInformation> <linkInformation> <name>05d25e85-1cd8-4897-be48-ecf699322b1f</name> <tableName>DOCUMENTTEMPLATELINK</tableName> <primaryKey>DOCUMENTTEMPLATELINKID</primaryKey> <isUIDTable v="true" /> <readonly v="false" /> </linkInformation> <linkInformation> <name>34ca9c71-3de5-48ce-ade2-fa203360ebbd</name> <tableName>DOCUMENTTEMPLATE</tableName> <primaryKey>DOCUMENTTEMPLATEID</primaryKey> <isUIDTable v="false" /> <readonly v="true" /> </linkInformation> </linkInformation> <recordFieldMappings> <dbRecordFieldMapping> <name>DATE_EDIT.value</name> <recordfield>DOCUMENTTEMPLATELINK.DATE_EDIT</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>DATE_NEW.value</name> <recordfield>DOCUMENTTEMPLATELINK.DATE_NEW</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>DOCUMENTTEMPLATE_ID_CHILD.value</name> <recordfield>DOCUMENTTEMPLATELINK.DOCUMENTTEMPLATE_ID_CHILD</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>DOCUMENTTEMPLATE_ID_PARENT.value</name> <recordfield>DOCUMENTTEMPLATELINK.DOCUMENTTEMPLATE_ID_PARENT</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>DOCUMENTTEMPLATELINKID.value</name> <recordfield>DOCUMENTTEMPLATELINK.DOCUMENTTEMPLATELINKID</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>USER_EDIT.value</name> <recordfield>DOCUMENTTEMPLATELINK.USER_EDIT</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>USER_NEW.value</name> <recordfield>DOCUMENTTEMPLATELINK.USER_NEW</recordfield> </dbRecordFieldMapping> </recordFieldMappings> </dbRecordContainer> </recordContainers> </entity>