Relationships

scroll.internal.support.impl.Relationships
class Relationships(roleQueries: RoleQueriesApi) extends RelationshipsApi

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

class FromBuilder(name: String) extends FromBuilderApi

Attributes

Supertypes
class Object
trait Matchable
class Any
class Relationship[L <: AnyRef, R <: AnyRef](name: String, leftMul: Multiplicity, rightMul: Multiplicity)(implicit evidence$1: ClassTag[L], evidence$2: ClassTag[R]) extends RelationshipApi[L, R]

Class representation of a relationship between two (role) types.

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

Supertypes
class RelationshipApi[L, R]
class Object
trait Matchable
class Any
class ToBuilder[L <: AnyRef](name: String, leftMul: Multiplicity)(implicit evidence$1: ClassTag[L]) extends ToBuilderApi[L]

Attributes

Supertypes
class ToBuilderApi[L]
class Object
trait Matchable
class Any

Inherited and Abstract classlikes

abstract class FromBuilderApi

Attributes

Inherited from:
RelationshipsApi
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class FromBuilder
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

Inherited from:
RelationshipsApi
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Relationship[L, R]
abstract class ToBuilderApi[L <: AnyRef]

Attributes

Inherited from:
RelationshipsApi
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ToBuilder[L]

Value members

Concrete methods

override def create(name: String): FromBuilder

Creates a Relationships.Relationship with the given name with a fluent relationship creation API.

Creates a Relationships.Relationship 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

Definition Classes