baseElement, idGraph, propertyBased| Modifier | Constructor and Description |
|---|---|
protected |
IdEdge(Edge base,
IdGraph idGraph) |
| Modifier and Type | Method and Description |
|---|---|
Edge |
getBaseEdge() |
String |
getLabel()
Return the label associated with the edge.
|
Vertex |
getVertex(Direction direction)
Return the tail/out or head/in vertex.
|
void |
setProperty(String key,
Object value)
Assign a key/value property to the element.
|
String |
toString() |
equals, getId, getProperty, getPropertyKeys, hashCode, remove, removePropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, getProperty, getPropertyKeys, remove, removePropertypublic Edge getBaseEdge()
public Vertex getVertex(Direction direction) throws IllegalArgumentException
EdgegetVertex in interface Edgedirection - whether to return the tail/out or head/in vertexIllegalArgumentException - is thrown if a direction of both is providedpublic String getLabel()
Edgepublic void setProperty(String key, Object value)
ElementsetProperty in interface ElementsetProperty in class IdElementkey - the string key of the propertyvalue - the object value o the propertyCopyright © 2010-2014. All Rights Reserved.