public class DetachedVertexProperty<V> extends DetachedElement<VertexProperty<V>> implements VertexProperty<V>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DetachedVertexProperty.Builder | 
VertexProperty.Cardinality, VertexProperty.ExceptionsAttachable.Exceptions, Attachable.Method| Modifier and Type | Field and Description | 
|---|---|
| protected V | value | 
| protected DetachedVertex | vertex | 
id, label, propertiesDEFAULT_LABEL| Modifier | Constructor and Description | 
|---|---|
|   | DetachedVertexProperty(Object id,
                      String label,
                      V value,
                      Map<String,Object> properties)This constructor is used by GraphSON when deserializing and the  Hostis not known. | 
|   | DetachedVertexProperty(Object id,
                      String label,
                      V value,
                      Map<String,Object> properties,
                      Vertex vertex) | 
| protected  | DetachedVertexProperty(VertexProperty<V> vertexProperty,
                      boolean withProperties) | 
| Modifier and Type | Method and Description | 
|---|---|
| static DetachedVertexProperty.Builder | build()Provides a way to construct an immutable  DetachedEdge. | 
| Vertex | element()Gets the  Vertexthat owns thisVertexProperty. | 
| boolean | equals(Object object) | 
| void | internalSetVertex(DetachedVertex vertex) | 
| boolean | isPresent()Whether the property is empty or not. | 
| String | key()The key of the property. | 
| <U> Iterator<Property<U>> | properties(String... propertyKeys)Get an  Iteratorof properties where thepropertyKeysis meant to be a filter on the available
 keys. | 
| void | remove()Remove the property from the associated element. | 
| String | toString() | 
| V | value()The value of the property. | 
get, graph, hashCode, id, label, property, propertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, graph, labelifPresent, orElse, orElseGet, orElseThrowid, keys, property, property, value, valuesattachprotected V value
protected transient DetachedVertex vertex
protected DetachedVertexProperty(VertexProperty<V> vertexProperty, boolean withProperties)
public DetachedVertexProperty(Object id, String label, V value, Map<String,Object> properties, Vertex vertex)
public boolean isPresent()
Propertypublic Vertex element()
VertexPropertyVertex that owns this VertexProperty.element in interface Property<V>element in interface VertexProperty<V>Vertex, Edge, or VertexProperty).public void remove()
Propertypublic boolean equals(Object object)
equals in class DetachedElement<VertexProperty<V>>public <U> Iterator<Property<U>> properties(String... propertyKeys)
ElementIterator of properties where the propertyKeys is meant to be a filter on the available
 keys. If no keys are provide then return all the properties.properties in interface Elementproperties in interface VertexProperty<V>properties in class DetachedElement<VertexProperty<V>>public void internalSetVertex(DetachedVertex vertex)
public static DetachedVertexProperty.Builder build()
DetachedEdge.Copyright © 2013–2022 Apache Software Foundation. All rights reserved.