public class ReferenceEdge extends ReferenceElement<Edge> implements Edge
Edge.ExceptionsAttachable.Exceptions, Attachable.Methodid, labelDEFAULT_LABEL| Constructor and Description | 
|---|
ReferenceEdge(Edge edge)  | 
ReferenceEdge(Object id,
             String label,
             ReferenceVertex inVertex,
             ReferenceVertex outVertex)  | 
| Modifier and Type | Method and Description | 
|---|---|
Vertex | 
inVertex()
Get the incoming/head vertex of this edge. 
 | 
Vertex | 
outVertex()
Get the outgoing/tail vertex of this edge. 
 | 
<V> Iterator<Property<V>> | 
properties(String... propertyKeys)
Get an  
Iterator of properties where the propertyKeys is meant to be a filter on the available
 keys. | 
<V> Property<V> | 
property(String key,
        V value)
Add or set a property value for the  
Element given its key. | 
void | 
remove()
Removes the  
Element from the graph. | 
String | 
toString()  | 
Iterator<Vertex> | 
vertices(Direction direction)
Retrieve the vertex (or vertices) associated with this edge as defined by the direction. 
 | 
equals, get, graph, hashCode, id, labelclone, finalize, getClass, notify, notifyAll, wait, wait, waitbothVerticesgraph, id, keys, label, property, value, valuesattachpublic ReferenceEdge(Edge edge)
public ReferenceEdge(Object id, String label, ReferenceVertex inVertex, ReferenceVertex outVertex)
public <V> Property<V> property(String key, V value)
ElementElement given its key.public void remove()
ElementElement from the graph.public Iterator<Vertex> vertices(Direction direction)
EdgeDirection.BOTH then the iterator order is: Direction.OUT then Direction.IN.public Vertex inVertex()
Edgepublic Vertex outVertex()
Edgepublic <V> Iterator<Property<V>> properties(String... propertyKeys)
EdgeIterator 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 Edgeproperties in interface ElementCopyright © 2013–2021 Apache Software Foundation. All rights reserved.