company logo

path property

A path property defines a union path, i.e. it represents the union of all instances of the last property defined in the path. In contrast to a property path, the path property contains at least one property parameter list (iteration or position operator). An empty parameter list for a property indicates an iteration over the collection referenced by the property name

The structure definition created for the result instance consists of a number of base structures, one for each element in the path and with a property name as defined in the path. In case of ambiguity one can use the property name to identify a property in the result structure (e.g. Person.name or children.name).

Person().address.street // street for all persons

Person().mother(0).name // mothers name for all persons

Person().parents().name // names of all parents for all persons

Generalisations:  access path

Related topics