RelationshipPath

final case class RelationshipPath[A <: Relationship]

Relationship path. Subsequent relationships in the path must match in target/source node. Typically this is not restrictive enough, because normally the ELR must remain the same among the relationships (except for dimensional relationships).

Relationship path. Subsequent relationships in the path must match in target/source node. Typically this is not restrictive enough, because normally the ELR must remain the same among the relationships (except for dimensional relationships).

A relationship path must have at least one relationship.

Authors

Chris de Vreeze

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def append(relationship: A): RelationshipPath[A]
def canAppend(relationship: A): Boolean
def canPrepend(relationship: A): Boolean
def drop(n: Int): RelationshipPath[A]
def dropRight(n: Int): RelationshipPath[A]
def hasCycle: Boolean
def initOption: Option[RelationshipPath[A]]
def inits: IndexedSeq[RelationshipPath[A]]

Returns true if all subsequent relationships in the path are in the same ELR.

Returns true if all subsequent relationships in the path are in the same ELR.

def nodes: IndexedSeq[Node]
def prepend(relationship: A): RelationshipPath[A]
def relationshipTargets: IndexedSeq[Node]
def source: Node
def tails: IndexedSeq[RelationshipPath[A]]
def target: Node

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product