Package io.github.cfraser.graphguard
Class Schema.Relationship
-
- All Implemented Interfaces:
public final class Schema.RelationshipA Relationship in the graph.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Stringsourceprivate final Stringtargetprivate final BooleanisDirectedprivate final Set<Schema.Property>properties
-
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 StringtoString()-
-
Method Detail
-
isDirected
final Boolean isDirected()
whether the relationship is directed
-
getProperties
final Set<Schema.Property> getProperties()
the relationship properties
-
-
-
-