Mapping syntax for tables defining connections only

A pure connection table can be recognized by the fact that no property ID is defined in it.

table element

XML properties

Only name and aristype are valid attributes.

name

name

Alfabet table name, for example, VALUENODE.

aristype

aristype

Comma-separated list of API names for ARIS connection types. The connection types are tried one after another until a type is found that is valid between the source and target object type. This is useful if the source and target objects are of more than one type.

Value -1 (= do not create a connection) is allowed only if an assignment definition has been specified as a subelement.

'assign' subelement of a table element

Creates an assignment for all connections that are imported from this table. This can be performed only if the target reference is a model.

XML properties

add-parent

add-parent

Adds an occurrence of the superior object to the assigned model.

The default setting is false.

If you change it to true, an occurrence of the superior object will be added to the assigned model. Therefore, the parent-symbol attribute is mandatory.

parent-symbol

parent-symbol

API name for the symbol type of the superior ARIS object used in the assigned model, for example, ST_APPL_SYS_TYPE.

Required only if the add-parent attribute is set to true.

'attr' subelement

Maps properties to ARIS connection attributes. This is not applicable to imports including assignments only. The syntax is the same as in the general description (see attr subelement).

'cxn' subelement

Defines the properties to contain the source and the target of the connection.

property

property XML property

Name of the Alfabet property. The property must be of the Reference or ReferenceArray type.

For more information, refer to the Documentation of the Alfabet Meta-Model (Alfabet reference manual).

role

role

Defines the role of the object referenced by the property.

Possible values are: source or target.

forceexist (optional)

forceexist

Specifies whether or not the import forces the target/source object of a referenced object to exist in the database. If the value is set to true, the target/source object will be created using the mapping definition of the referenced object. Only if the target/source object exists will a connection be imported. Whether the target object or the source object must exist depends on the value specified in the srctotarge XML property

The default value is false.

Example

<table name="BPINFORMATIONFLOW" aristype="CT_LEADS_TO_1,CT_ACTIV_1,CT_IS_PREDEC_OF_1,CT_LNK_2"

<attr aris="AT_CXN_ROLE" alfabet="name" />

<attr aris="AT_DESC" alfabet="description" />

<attr aris="AT_REM" alfabet="shortname" />

<cxn property="from" role="source" forceexist ="true" > <!-- src must exist / is imported if needed–>

<cxn property="to" role="target" forceexist ="true" > <!-- src must exist / is imported if needed–>

<cxn property="data" /> <!-- not mapped -->

<cxn property="documents" /> <!-- not mapped -->

</table>