Skip to content
Snippets Groups Projects
Pers_entity.aod 9.43 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.0.3" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.0.3">
  <name>Pers_entity</name>
  <title>Contact</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <alias>Data_alias</alias>
  <fromClauseProcess>%aditoprj%/entity/Pers_entity/fromClauseProcess.js</fromClauseProcess>
  <conditionProcess>%aditoprj%/entity/Pers_entity/conditionProcess.js</conditionProcess>
  <recordContainerType>DB</recordContainerType>
  <caption>Contact</caption>
  <captionProcess>%aditoprj%/entity/Pers_entity/captionProcess.js</captionProcess>
  <iconId>VAADIN:USERS</iconId>
  <imageProcess>%aditoprj%/entity/Pers_entity/imageProcess.js</imageProcess>
  <entityFields>
    <entityField>
      <name>DATEOFBIRTH</name>
      <tableName>PERS</tableName>
      <columnName>DATEOFBIRTH</columnName>
      <caption>Date of birth</caption>
      <contentType>DATE</contentType>
      <outputFormat>yyyy-MM-dd</outputFormat>
    </entityField>
    <entityField>
      <name>PERS_DATE_EDIT</name>
      <tableName>PERS</tableName>
      <columnName>DATE_EDIT</columnName>
      <contentType>DATE</contentType>
      <outputFormat>yyyy-MM-dd&amp;apos;T&amp;apos;HH:mm:ssZ</outputFormat>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/pers_date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PERS_DATE_NEW</name>
      <tableName>PERS</tableName>
      <columnName>DATE_NEW</columnName>
      <contentType>DATE</contentType>
      <outputFormat>yyyy-MM-dd&amp;apos;T&amp;apos;HH:mm:ssZ</outputFormat>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/pers_date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>FIRSTNAME</name>
      <tableName>PERS</tableName>
      <columnName>FIRSTNAME</columnName>
      <caption>Firstname</caption>
    </entityField>
    <entityField>
      <name>GENDER</name>
      <tableName>PERS</tableName>
      <columnName>GENDER</columnName>
      <caption>Gender</caption>
      <possibleItemsProcess>%aditoprj%/entity/Pers_entity/entityfields/gender/possibleItemsProcess.js</possibleItemsProcess>
    </entityField>
    <entityField>
      <name>LASTNAME</name>
      <tableName>PERS</tableName>
      <columnName>LASTNAME</columnName>
      <caption>Lastname</caption>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>MIDDLENAME</name>
      <tableName>PERS</tableName>
      <columnName>MIDDLENAME</columnName>
      <caption>Middlename</caption>
    </entityField>
    <entityField>
      <name>PERSID</name>
      <tableName>PERS</tableName>
      <columnName>PERSID</columnName>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/persid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>SALUTATION</name>
      <tableName>PERS</tableName>
      <columnName>SALUTATION</columnName>
      <caption>Salutation</caption>
    </entityField>
    <entityField>
      <name>TITLE</name>
      <tableName>PERS</tableName>
      <columnName>TITLE</columnName>
      <caption>Title</caption>
    </entityField>
    <entityField>
      <name>TITLESUFFIX</name>
      <tableName>PERS</tableName>
      <columnName>TITLESUFFIX</columnName>
    </entityField>
    <entityField>
      <name>PERS_USER_EDIT</name>
      <tableName>PERS</tableName>
      <columnName>USER_EDIT</columnName>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/pers_user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PERS_USER_NEW</name>
      <tableName>PERS</tableName>
      <columnName>USER_NEW</columnName>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/pers_user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PREVIEWTITLE</name>
      <caption></caption>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/previewtitle/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>OrgId_param</name>
      <expose v="true" />
      <triggerRecalculation v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>IMAGE</name>
      <contentType>IMAGE</contentType>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/image/valueProcess.js</valueProcess>
    </entityField>
    <entityFieldGroup>
      <name>NAME_fieldGroup</name>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/name_fieldgroup/valueProcess.js</valueProcess>
      <description>FIELDGROUP</description>
      <fields>
        <element>FIRSTNAME</element>
        <element>LASTNAME</element>
      </fields>
    </entityFieldGroup>
    <entityOutgoingField>
      <name>PersHistory_dfo</name>
      <title>Histories</title>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <dependency>
        <name>dependency</name>
        <entityName>History_entity</entityName>
        <fieldName>PersHistory_dfi</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RowId_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/pershistory_dfo/children/rowid_param/code.js</code>
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityField>
      <name>RELATIONID</name>
      <tableName>RELATION</tableName>
      <columnName>RELATIONID</columnName>
    </entityField>
    <entityIncomingField>
      <name>PersOrg_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <dependencies>
        <entityDependency>
          <name>41952879-c2f0-411f-8ca1-36c38914a629</name>
          <entityName>Org_entity</entityName>
          <fieldName>PersOrg_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityField>
      <name>PERS_ID</name>
      <tableName>RELATION</tableName>
      <columnName>PERS_ID</columnName>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/pers_id/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>ORG_ID</name>
      <tableName>RELATION</tableName>
      <columnName>ORG_ID</columnName>
      <caption></caption>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/org_id/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>REL_USER_NEW</name>
      <tableName>RELATION</tableName>
      <columnName>USER_NEW</columnName>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/rel_user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>REL_USER_EDIT</name>
      <tableName>RELATION</tableName>
      <columnName>DATE_EDIT</columnName>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/rel_user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>REL_DATE_NEW</name>
      <tableName>RELATION</tableName>
      <columnName>DATE_NEW</columnName>
      <contentType>DATE</contentType>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/rel_date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>REL_DATE_EDIT</name>
      <tableName>RELATION</tableName>
      <columnName>DATE_EDIT</columnName>
      <contentType>DATE</contentType>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/rel_date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>ORGNAME</name>
      <caption>Company</caption>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/orgname/valueProcess.js</valueProcess>
    </entityField>
    <entityOutgoingField>
      <name>PersAddress_dfo</name>
      <title>Addresses</title>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <caption>Addresses</caption>
      <dependency>
        <name>dependency</name>
        <entityName>Address_entity</entityName>
        <fieldName>PersAddress_dfi</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RelId_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/persaddress_dfo/children/relid_param/code.js</code>
          <triggerRecalculation v="true" />
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityOutgoingField>
      <name>PersComm_dfo</name>
      <title>Communication</title>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <caption>Communication</caption>
      <dependency>
        <name>dependency</name>
        <entityName>Comm_entity</entityName>
        <fieldName>PersComm_dfi</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RelId_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/perscomm_dfo/children/relid_param/code.js</code>
          <triggerRecalculation v="true" />
        </entityParameter>
      </children>
    </entityOutgoingField>
  </entityFields>
  <linkInformation>
    <linkInformation>
      <name>449dc321-de5a-40da-a96e-23784d830745</name>
      <tableName>PERS</tableName>
      <primaryKey>PERSID</primaryKey>
    </linkInformation>
    <linkInformation>
      <name>724cb303-ea72-4207-9fc4-52aec17e0c31</name>
      <tableName>RELATION</tableName>
      <primaryKey>RELATIONID</primaryKey>
      <isUIDTable v="true" />
    </linkInformation>
  </linkInformation>
</entity>