Skip to main content
Skip table of contents

RelationModel

The RelationModel models an asset-relation.

implements: hash
bundle: online channel standard (oc)
since 4.2.0
The RelationModel models an asset-relation.

The RelationModel represents an asset relation from the perspective of an source asset.

Link Information

isParentRelAssetModel
since 4.2.0
Returns true if and only if the original source asset of the query is the child asset of the relation.

parentAssetModel
since 4.2.0
Returns the parent asset of the relation.

isChildRel ↦ Boolean
since 4.2.0
Returns true if and only if the original source asset of the query is the parent asset of the relation.

childAssetModel
since 4.2.0
Returns the child asset of the relation.

Metadata

sorting ↦ Number
since 4.2.0
Returns the sorting number of the relation.

type ↦ String
since 4.2.0
Returns the relation type.

startDate ↦ Date
since 4.2.0
Returns the value of the attribute 'start_date'.

endDate ↦ Date
since 4.2.0
Returns the value of the attribute 'end_date'.

displayName ↦ String
since 4.2.0
Returns the display name of the relation types.

relationDescription ↦ String
since 5.6.0
Returns the relation description.

relationName ↦ String
since 5.6.0
Returns the relation name.

relationNameDirected ↦ String
since 5.6.0
Returns the (directed) relation name.

featuresFeatureInstancesModel
since 4.2.1
Returns a model of the feature instances of the relation.

xmlDataNodeModel
since 4.2.0
Returns the arbitrary xml data (customizing).

xmlNodeModel
since 4.2.1
Returns the xml defining this relation.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.