$k. RelationTargets

new RelationTargets()

A collection of relation targets given a source element, a relation type, and a view configuration.

Extends

Methods

accessedObject() → {$k.SemanticElement}

Get the semantic element this collection is based upon - if available.

Since
  • 5.4.0
Returns:
Type: 
$k.SemanticElement

creatableTargetDomains() → {Array.<$k.Domain>}

Get all domains from which a new target instance/extension can be created

Since
  • 5.4.0
Returns:
Type: 
Array.<$k.Domain>

elements() → {Array.<$k.SemanticElement>}

Get the contents as an array of semantic elements.

Since
  • 5.4.0
Returns:
Type: 
Array.<$k.SemanticElement>

relationType() → {$k.RelationType}

Get the relation type

Since
  • 5.4.0
Returns:
Type: 
$k.RelationType

sourceElement() → {$k.SemanticElement}

Get the source element

Since
  • 5.4.0
Returns:
Type: 
$k.SemanticElement