Class: RelationType

$k. RelationType

new $k.RelationType()

Represents a type of relations

Extends

Methods

inverseRelationType() : $k.RelationType

Returns the inverse relation type

Returns:
Type Description
$k.RelationType

isMainDirection() : boolean

Returns true if this is the main direction for the relation type.

Returns:
Type Description
boolean

isSingleSided() : boolean

Returns true if this is a single sided relation type (i.e. only the main direction of the relation is stored in the volume).

Returns:
Type Description
boolean

isSymmetric() : boolean

Returns true if this is a symmetric relation.

Returns:
Type Description
boolean

ranges() : Array.<$k.Domain>

Returns the possible ranges of the relation, which are the domains of the inverse relation

Returns:
Type Description
Array.<$k.Domain>

relationTargetSearch(searchString, context) : $k.SemanticElement

Name Type Description
searchString string optional

Search string for the target element

context $k.SemanticElement optional

Context of the relationTargetSearch

Version:
  • Experimental feature, might be removed at any time
Returns:
Type Description
$k.SemanticElement

Intherited methods