public class DefaultNodeBuilder extends Object implements NodeBuilder
Modifier and Type | Field and Description |
---|---|
protected P |
targetContainer |
Constructor and Description |
---|
DefaultNodeBuilder(Long reference) |
Modifier and Type | Method and Description |
---|---|
SELF |
addCompositeProperties(Map<String,?> properties) |
NodeBuilder |
addLabels(Collection<String> newLabels) |
NodeBuilder |
addProperty(String key,
Object value) |
Node |
node() |
Long |
reference() |
SELF |
setPreviousCompositeProperties(Set<String> previousCompositeProperties) |
NodeBuilder |
setPreviousDynamicLabels(Set<String> previousDynamicLabels) |
NodeBuilder |
setPrimaryIndex(String primaryIndexField) |
NodeBuilder |
setVersionProperty(String name,
Long version) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCompositeProperties, setPreviousCompositeProperties
protected P extends PropertyContainer targetContainer
public DefaultNodeBuilder(Long reference)
public NodeBuilder addProperty(String key, Object value)
addProperty
in interface PropertyContainerBuilder<NodeBuilder>
public NodeBuilder addLabels(Collection<String> newLabels)
addLabels
in interface NodeBuilder
public Long reference()
reference
in interface NodeBuilder
reference
in interface PropertyContainerBuilder<NodeBuilder>
public NodeBuilder setPreviousDynamicLabels(Set<String> previousDynamicLabels)
setPreviousDynamicLabels
in interface NodeBuilder
public Node node()
node
in interface NodeBuilder
public NodeBuilder setPrimaryIndex(String primaryIndexField)
setPrimaryIndex
in interface NodeBuilder
public NodeBuilder setVersionProperty(String name, Long version)
setVersionProperty
in interface PropertyContainerBuilder<NodeBuilder>
public final SELF addCompositeProperties(Map<String,?> properties)
addCompositeProperties
in interface PropertyContainerBuilder<SELF>
public final SELF setPreviousCompositeProperties(Set<String> previousCompositeProperties)
setPreviousCompositeProperties
in interface PropertyContainerBuilder<SELF>
Copyright © 2015–2021 Neo Technology, Inc.. All rights reserved.