Skip to content
Snippets Groups Projects
Task_entity.aod 10.60 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.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.1.1">
  <name>Task_entity</name>
  <title>Task</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Task_entity/documentation.adoc</documentation>
  <onValidation>%aditoprj%/entity/Task_entity/onValidation.js</onValidation>
  <iconId>VAADIN:TASKS</iconId>
  <iconIdProcess>%aditoprj%/entity/Task_entity/iconIdProcess.js</iconIdProcess>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityIncomingField>
      <name>#INCOMING</name>
    </entityIncomingField>
    <entityField>
      <name>CODE</name>
      <documentation>%aditoprj%/entity/Task_entity/entityfields/code/documentation.adoc</documentation>
      <title>task number</title>
      <contentType>NUMBER</contentType>
      <outputFormat>0000000</outputFormat>
      <state>READONLY</state>
      <stateProcess>%aditoprj%/entity/Task_entity/entityfields/code/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Task_entity/entityfields/code/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>SUBJECT</name>
      <title>subject</title>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>STATUS</name>
      <title>{$TASK_STATUS}</title>
      <mandatory v="true" />
      <possibleItemsProcess>%aditoprj%/entity/Task_entity/entityfields/status/possibleItemsProcess.js</possibleItemsProcess>
      <groupable v="true" />
      <valueProcess>%aditoprj%/entity/Task_entity/entityfields/status/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PRIORITY</name>
      <title>priority</title>
      <mandatory v="true" />
      <possibleItemsProcess>%aditoprj%/entity/Task_entity/entityfields/priority/possibleItemsProcess.js</possibleItemsProcess>
      <groupable v="true" />
      <valueProcess>%aditoprj%/entity/Task_entity/entityfields/priority/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>REQUESTOR_RELATION_ID</name>
      <title>{$TASK_REQUESTOR}</title>
      <linkedContext>Pers_context</linkedContext>
      <mandatory v="true" />
      <outgoingField>PersRequestor_dfo</outgoingField>
    </entityField>
    <entityField>
      <name>EDITOR_RELATION_ID</name>
      <title>{$TASK_EDITOR}</title>
      <linkedContext>Pers_context</linkedContext>
      <outgoingField>PersEditor_dfo</outgoingField>
    </entityField>
    <entityField>
      <name>START_DATE</name>
      <title>start date</title>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
      <groupable v="true" />
      <valueProcess>%aditoprj%/entity/Task_entity/entityfields/start_date/valueProcess.js</valueProcess>
      <onValidation>%aditoprj%/entity/Task_entity/entityfields/start_date/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>MATURITY_DATE</name>
      <title>maturity date</title>