public interface EdgeLabelMaker extends RelationTypeMaker
EdgeLabels.
An edge label is defined by its name, Multiplicity, its directionality, and its signature - all of which
can be specified in this builder.| Modifier and Type | Method and Description |
|---|---|
EdgeLabelMaker |
directed()
Configures the label to be directed.
|
EdgeLabel |
make()
Defines the
EdgeLabel specified by this EdgeLabelMaker and returns the resulting label |
EdgeLabelMaker |
multiplicity(Multiplicity multiplicity)
Sets the multiplicity of this label.
|
EdgeLabelMaker |
signature(PropertyKey... types)
Configures the signature of this relation type.
|
EdgeLabelMaker |
unidirected()
Configures the label to be unidirected.
|
getNameEdgeLabelMaker multiplicity(Multiplicity multiplicity)
Multiplicity.MULTI.MultiplicityEdgeLabelMaker directed()
EdgeLabel.isDirected()EdgeLabelMaker unidirected()
EdgeLabel.isUnidirected()EdgeLabelMaker signature(PropertyKey... types)
RelationTypeMakerRelationTypes used in the signature must be either property out-unique keys or out-unique unidirected edge labels.
signature in interface RelationTypeMakertypes - PropertyKey composing the signature for the configured relation type. The order is irrelevant.EdgeLabel make()
EdgeLabel specified by this EdgeLabelMaker and returns the resulting labelmake in interface RelationTypeMakerEdgeLabelCopyright © 2012–2015. All rights reserved.