Field
A FieldFieldA property of a DataElement expanded to a database column and user interface input element. describes a property of a DataElement. These fieldsFieldA property of a DataElement expanded to a database column and user interface input element. will be expanded to columns in a database table and fieldsFieldA property of a DataElement expanded to a database column and user interface input element. in forms and are the basic content of a data elementData Element (DataElement). A fundamental data concept or entity within an application's domain, acting as an anthropomorphic translation of a real-life object or concept..
<dataElement name="Booking">
<fields>
<field name="name"/>
<field name="startDate"/>
</fields>
</dataElement>
Attributes
name: the name of the fieldFieldA property of a DataElement expanded to a database column and user interface input element..description: a descriptive text for the fieldFieldA property of a DataElement expanded to a database column and user interface input element..fieldType: the kind of fieldFieldA property of a DataElement expanded to a database column and user interface input element..isInfoField: see IsInfoField.isListField: see IsListField.
IsInfoField
When a fieldFieldA property of a DataElement expanded to a database column and user interface input element. is marked as InfoField, it will be included in an info projectionProjectionA tailored subset of fields on a DataElement designed to encapsulate data for a specific technical or functional view. (see Projection). The info projectionProjectionA tailored subset of fields on a DataElement designed to encapsulate data for a specific technical or functional view. handles the concern of displaying information about a data elementData Element (DataElement). A fundamental data concept or entity within an application's domain, acting as an anthropomorphic translation of a real-life object or concept. and thus selects all elements that should be visible to the user when managing this element.
<dataElement name="Booking">
<fields>
<field name="startDate">
<isInfoField>true</isInfoField>
</field>
</fields>
</dataElement>
IsListField
If a fieldFieldA property of a DataElement expanded to a database column and user interface input element. must only contain values from a predefined list, it should be marked as a ListField.
FieldType
FieldsFieldA property of a DataElement expanded to a database column and user interface input element. can either be ValueFieldsFieldA property of a DataElement expanded to a database column and user interface input element. (basic attributes) or LinkFieldsFieldA property of a DataElement expanded to a database column and user interface input element. (references to other data elementsData Element (DataElement). A fundamental data concept or entity within an application's domain, acting as an anthropomorphic translation of a real-life object or concept.).
| Value | Kind |
|---|---|
VALUE_FIELD | A ValueField. |
LINK_FIELD | A LinkField. |
CALCULATED_FIELD | A ValueField for which the value is not stored in the database, but rather derived based on other values. |
ValueField
Value fieldsFieldA property of a DataElement expanded to a database column and user interface input element. are simple fieldsFieldA property of a DataElement expanded to a database column and user interface input element. that have a name and a valueFieldType. The ValueFieldType defines how the fieldFieldA property of a DataElement expanded to a database column and user interface input element. is
stored and represented.
E.g. the following fieldFieldA property of a DataElement expanded to a database column and user interface input element. will be represented and stored as a simple String:
<field name="address">
<fieldType>VALUE_FIELD</fieldType>
<valueField>
<type>String</type>
</valueField>
</field>
There are several built-in value types, but it is also possible to define a ValueType yourself.
LinkField
Link fieldsFieldA property of a DataElement expanded to a database column and user interface input element. define a relationship between two elements. They have a name, a targetElement and a linkFieldType.
The target element is a reference to another data elementData Element (DataElement). A fundamental data concept or entity within an application's domain, acting as an anthropomorphic translation of a real-life object or concept.. E.g. if you wish to link from a Booking to a Car data element.
<field name="car">
<fieldType>LINK_FIELD</fieldType>
<linkField>
<targetElement component="rental" name="Car"/>
<linkFieldType name="Ln01"/>
</linkField>
</field>