public class PartialEdge extends PartialElement implements com.tinkerpop.blueprints.Edge
| Constructor and Description |
|---|
PartialEdge(String id) |
PartialEdge(String id,
String from,
String to) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
com.tinkerpop.blueprints.Vertex |
getVertex(com.tinkerpop.blueprints.Direction dir) |
void |
setFrom(com.tinkerpop.blueprints.Vertex v) |
void |
setLabel(String label) |
void |
setTo(com.tinkerpop.blueprints.Vertex v) |
String |
toString() |
appendProps, copyProperties, getId, getProperty, getPropertyKeys, remove, removeProperty, setPropertypublic PartialEdge(String id)
public String getLabel()
getLabel in interface com.tinkerpop.blueprints.Edgepublic com.tinkerpop.blueprints.Vertex getVertex(com.tinkerpop.blueprints.Direction dir)
throws IllegalArgumentException
getVertex in interface com.tinkerpop.blueprints.EdgeIllegalArgumentExceptionpublic void setLabel(String label)
public void setFrom(com.tinkerpop.blueprints.Vertex v)
public void setTo(com.tinkerpop.blueprints.Vertex v)
public String toString()
toString in class PartialElementCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.