RelationshipsApi

scroll.internal.support.RelationshipsApi

Allows to add and check role relationships to a compartment instance.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Classlikes

abstract class FromBuilderApi

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
abstract class RelationshipApi[L <: AnyRef, R <: AnyRef]

Representation of a relationship between two (role) types.

Representation of a relationship between two (role) types.

Type parameters

L

type of the role of the left side of the relationship

R

type of the role of the right side of the relationship

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Relationships.this.Relationship[L, R]
abstract class ToBuilderApi[L <: AnyRef]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Relationships.this.ToBuilder[L]

Value members

Abstract methods

Creates a RelationshipApi with the given name with a fluent relationship creation API.

Creates a RelationshipApi with the given name with a fluent relationship creation API.

Value parameters

name

the name of the created Relationship

Attributes

Returns

an instance of the Relationship builder