Relationship

object Relationship
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

final case class UniqueKey(arcKey: XmlFragmentKey, sourceElemKey: XmlFragmentKey, targetElemKey: XmlFragmentKey)

Unique key of a relationship. It is not to be confused with a relationship key that is the same for equivalent relationships (used for determining networks of relationships).

Unique key of a relationship. It is not to be confused with a relationship key that is the same for equivalent relationships (used for determining networks of relationships).

The unique relationship key consists of the key of the underlying arc, the source element key, and the target element key. The latter two are needed because one arc can represent more than one relationship.

This unique key can be useful as Map keys where the Map keys represent relationships. For example, Maps from has-hypercube relationships to their dimension-members can use the has-hypercube unique relationship key as Map key.