Class ReferenceEdge
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceElement<Edge>
- 
- org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceEdge
 
 
- 
- All Implemented Interfaces:
- Serializable,- Edge,- Element,- Attachable<Edge>
 
 public class ReferenceEdge extends ReferenceElement<Edge> implements Edge - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.util.AttachableAttachable.Exceptions, Attachable.Method
 - 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.EdgeEdge.Exceptions
 - 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.ElementElement.Exceptions
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceElementid, label
 - 
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachablelogger
 - 
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.EdgeDEFAULT_LABEL
 
- 
 - 
Constructor SummaryConstructors Constructor Description ReferenceEdge(Object id, String label, ReferenceVertex inVertex, ReferenceVertex outVertex)ReferenceEdge(Edge edge)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexinVertex()Get the incoming/head vertex of this edge.VertexoutVertex()Get the outgoing/tail vertex of this edge.<V> Iterator<Property<V>>properties(String... propertyKeys)Get anIteratorof properties where thepropertyKeysis meant to be a filter on the available keys.<V> Property<V>property(String key, V value)Add or set a property value for theElementgiven its key.voidremove()Removes theElementfrom the graph.StringtoString()Iterator<Vertex>vertices(Direction direction)Retrieve the vertex (or vertices) associated with this edge as defined by the direction.- 
Methods inherited from class org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceElementequals, get, graph, hashCode, id, label
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachableattach
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.EdgebothVertices
 
- 
 
- 
- 
- 
Constructor Detail- 
ReferenceEdgepublic ReferenceEdge(Edge edge) 
 - 
ReferenceEdgepublic ReferenceEdge(Object id, String label, ReferenceVertex inVertex, ReferenceVertex outVertex) 
 
- 
 - 
Method Detail- 
propertypublic <V> Property<V> property(String key, V value) Description copied from interface:ElementAdd or set a property value for theElementgiven its key.
 - 
removepublic void remove() Description copied from interface:ElementRemoves theElementfrom the graph.
 - 
verticespublic Iterator<Vertex> vertices(Direction direction) Description copied from interface:EdgeRetrieve the vertex (or vertices) associated with this edge as defined by the direction. If the direction isDirection.BOTHthen the iterator order is:Direction.OUTthenDirection.IN.
 - 
inVertexpublic Vertex inVertex() Description copied from interface:EdgeGet the incoming/head vertex of this edge.
 - 
outVertexpublic Vertex outVertex() Description copied from interface:EdgeGet the outgoing/tail vertex of this edge.
 - 
propertiespublic <V> Iterator<Property<V>> properties(String... propertyKeys) Description copied from interface:EdgeGet anIteratorof properties where thepropertyKeysis meant to be a filter on the available keys. If no keys are provide then return all the properties.- Specified by:
- propertiesin interface- Edge
- Specified by:
- propertiesin interface- Element
 
 
- 
 
-