public interface PropertyKeyMaker extends RelationTypeMaker
PropertyKeys.
An property key is defined by its name, Cardinality, its data type, and its signature - all of which
can be specified in this builder.| Modifier and Type | Method and Description |
|---|---|
PropertyKeyMaker |
cardinality(Cardinality cardinality)
Configures the
Cardinality of this property key. |
PropertyKeyMaker |
dataType(Class<?> clazz)
Configures the data type for this property key.
|
PropertyKey |
make()
Defines the
PropertyKey specified by this PropertyKeyMaker and returns the resulting key. |
PropertyKeyMaker |
signature(PropertyKey... types)
Configures the signature of this relation type.
|
getNamePropertyKeyMaker cardinality(Cardinality cardinality)
Cardinality of this property key.cardinality - PropertyKeyMaker dataType(Class<?> clazz)
clazz - Data type to be configured.PropertyKey.dataType()PropertyKeyMaker 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.PropertyKey make()
PropertyKey specified by this PropertyKeyMaker and returns the resulting key.make in interface RelationTypeMakerPropertyKeyCopyright © 2012–2015. All rights reserved.