Link Field

Link fields refer to an instance of another data element in the application. For each link field of a data element, the following information has to be provided:

Attribute description
Field type set to LINK FIELD (value linked to an already existing data element)
Name a name to identify the field. Avoid using names that are typically used as “reserved words” in most programming languages, such as ‘package’, ‘long’, ‘case’, ‘import’, ‘export’, ‘var’, ‘parameters’, ‘interface’, ‘name’, ’string’, ’function’, ‘id’, etcetera. As a (mandatory) naming convention, field names start with a lower case letter. Field names should be written in one word and camel case is advised to combine different nouns in the name (which causes the different nouns to be displayed as different words in the columns of tables later on);
Data element the element to which the field belongs, having a predefined value
Link field type defining the multiplicity (Ln01, Ln02 etc.)
Target class the element to which the field refers
Target package the package in which the target class is situated. In case the element to which the field refers is situated in another component, this value should be structured as [componentName].jar#[packageName]
Is info field if checked, this field becomes incorporated in the generated overview screens. If not checked, the field will only appear when the details of individual instances of a data element are requested
Is list field if checked, users can only pick a value from a limited list of possible values which is predefined for this particular field. The set of potential values for an attribute of a value field with the option “is list field” should be defined at run time


Link Field Type Reverse Type Preferred? Description Manager
Ln01 Ln05 X many-to-one NS element
Ln02 Ln04   many-to-one JEE container
Ln03 Ln06   many-to-many JEE container