scroll.internal.support.impl.Relationships.Relationship
Class 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
Value parameters
-
leftMul
-
multiplicity of the left side of the relationship
-
name
-
name of the relationship
-
rightMul
-
multiplicity of the right side of the relationship
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
Get all instances of the left side of the relationship w.r.t. the provided matching function and checking the multiplicity.
Get all instances of the left side of the relationship w.r.t. the provided matching function and checking the multiplicity.
Implementations raise typed scroll.internal.errors.SCROLLErrors.RelationshipError instances when the configured multiplicity is violated or not supported.
Value parameters
-
matcher
-
a matching function to select the appropriate instances
Attributes
-
Returns
-
all instances of the left side of the relationship w.r.t. the provided matching function.
-
Definition Classes
-
Get all instances of the right side of the relationship w.r.t. the provided matching function and checking the multiplicity.
Get all instances of the right side of the relationship w.r.t. the provided matching function and checking the multiplicity.
Implementations raise typed scroll.internal.errors.SCROLLErrors.RelationshipError instances when the configured multiplicity is violated or not supported.
Value parameters
-
matcher
-
a matching function to select the appropriate instances
Attributes
-
Returns
-
all instances of the right side of the relationship w.r.t. the provided matching function.
-
Definition Classes
-