public class ComputerGraph.ComputerVertexProperty<V> extends ComputerGraph.ComputerElement implements VertexProperty<V>, WrappedVertexProperty<VertexProperty<V>>
VertexProperty.Cardinality, VertexProperty.ExceptionsDEFAULT_LABEL| Constructor and Description | 
|---|
ComputerVertexProperty(VertexProperty<V> vertexProperty)  | 
| Modifier and Type | Method and Description | 
|---|---|
Vertex | 
element()
Gets the  
Vertex that owns this VertexProperty. | 
VertexProperty<V> | 
getBaseVertexProperty()  | 
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  
Iterator of properties. | 
V | 
value()
The value of the property. 
 | 
equals, getBaseElement, graph, hashCode, id, keys, label, property, property, remove, toString, value, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, graph, labelpublic ComputerVertexProperty(VertexProperty<V> vertexProperty)
public V value() throws NoSuchElementException
Propertyvalue in interface Property<V>NoSuchElementException - thrown if the property is emptypublic 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 <U> Iterator<Property<U>> properties(String... propertyKeys)
ElementIterator of properties.properties in interface Elementproperties in interface VertexProperty<V>properties in class ComputerGraph.ComputerElementpublic VertexProperty<V> getBaseVertexProperty()
getBaseVertexProperty in interface WrappedVertexProperty<VertexProperty<V>>Copyright © 2013–2017 Apache Software Foundation. All rights reserved.