Class Schema.Relationship
-
- All Implemented Interfaces:
@JvmRecord() public final class Schema.Relationship extends Record
A Relationship in the graph.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSchema.Relationship.IdRelationship.Id uniquely identifies a Relationship.
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Stringsourceprivate final Stringtargetprivate final BooleanisDirectedprivate final Set<Schema.Property>propertiesprivate final Set<Schema.Metadata>metadata
-
Method Summary
Modifier and Type Method Description final StringgetName()the name of the relationship final StringgetSource()the name of the node the relationship comes from final StringgetTarget()the name of the node the relationship goes to final BooleanisDirected()whether the relationship is directed final Set<Schema.Property>getProperties()the relationship properties final Set<Schema.Metadata>getMetadata()the relationship metadata StringtoString()-
-
Method Detail
-
isDirected
final Boolean isDirected()
whether the relationship is directed
-
getProperties
final Set<Schema.Property> getProperties()
the relationship properties
-
getMetadata
final Set<Schema.Metadata> getMetadata()
the relationship metadata
-
-
-
-