Class $k.RelationType

Represents a type of relations

Class Summary
Constructor Attributes Constructor Name and Description
 

Class Detail

$k.RelationType()

Method Detail

  • {$k.RelationType} inverseRelationType()
    Returns the inverse relation type
    Returns:
    {$k.RelationType}
  • {boolean} isMainDirection()
    Returns true if this is the main direction for the relation type.
    Returns:
    {boolean}
  • {boolean} isSingleSided()
    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:
    {boolean}
  • {boolean} isSymmetric()
    Returns true if this is a symmetric relation.
    Returns:
    {boolean}
  • {$k.Domain[]} ranges()
    Returns the possible ranges of the relation, which are the domains of the inverse relation
    Returns:
    {$k.Domain[]}