public final class Neo4jVertexProperty<V> extends Object implements VertexProperty<V>
VertexProperty.Cardinality, VertexProperty.Exceptions| Modifier and Type | Field and Description |
|---|---|
protected String |
key |
protected V |
value |
protected Neo4jVertex |
vertex |
protected org.neo4j.tinkerpop.api.Neo4jNode |
vertexPropertyNode |
DEFAULT_LABEL| Constructor and Description |
|---|
Neo4jVertexProperty(Neo4jVertex vertex,
org.neo4j.tinkerpop.api.Neo4jNode vertexPropertyNode) |
Neo4jVertexProperty(Neo4jVertex vertex,
String key,
V value) |
Neo4jVertexProperty(Neo4jVertex vertex,
String key,
V value,
org.neo4j.tinkerpop.api.Neo4jNode vertexPropertyNode) |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
element() |
boolean |
equals(Object object) |
int |
hashCode() |
Object |
id() |
boolean |
isPresent() |
String |
key() |
Set<String> |
keys() |
<U> Iterator<Property<U>> |
properties(String... propertyKeys) |
<U> Property<U> |
property(String key,
U value) |
void |
remove() |
String |
toString() |
V |
value() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, graph, labelifPresent, orElse, orElseGet, orElseThrowprotected final Neo4jVertex vertex
protected final String key
protected final V value
protected org.neo4j.tinkerpop.api.Neo4jNode vertexPropertyNode
public Neo4jVertexProperty(Neo4jVertex vertex, String key, V value)
public Neo4jVertexProperty(Neo4jVertex vertex, String key, V value, org.neo4j.tinkerpop.api.Neo4jNode vertexPropertyNode)
public Neo4jVertexProperty(Neo4jVertex vertex, org.neo4j.tinkerpop.api.Neo4jNode vertexPropertyNode)
public Vertex element()
public V value() throws NoSuchElementException
value in interface Property<V>NoSuchElementExceptionpublic <U> Iterator<Property<U>> properties(String... propertyKeys)
properties in interface Elementproperties in interface VertexProperty<V>public void remove()
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.