public class Edge extends GraphElement
label, manager, properties, type| Modifier and Type | Method and Description |
|---|---|
String |
id() |
void |
id(String id) |
boolean |
linkedVertex(Object vertexId) |
boolean |
linkedVertex(Vertex vertex) |
String |
name() |
Edge |
property(String key,
Object value) |
Edge |
removeProperty(String key) |
protected Edge |
setProperty(String key,
Object value) |
Edge |
source(Vertex source) |
Object |
sourceId() |
void |
sourceId(Object sourceId) |
String |
sourceLabel() |
void |
sourceLabel(String sourceLabel) |
Edge |
target(Vertex target) |
Object |
targetId() |
void |
targetId(Object targetId) |
String |
targetLabel() |
void |
targetLabel(String targetLabel) |
String |
toString() |
attachManager, fresh, label, properties, property, sizeOfProperties, typepublic Edge(String label)
public void id(String id)
public Object sourceId()
public void sourceId(Object sourceId)
public Object targetId()
public void targetId(Object targetId)
public boolean linkedVertex(Object vertexId)
public boolean linkedVertex(Vertex vertex)
public String sourceLabel()
public void sourceLabel(String sourceLabel)
public String targetLabel()
public void targetLabel(String targetLabel)
public String name()
public Edge property(String key, Object value)
property in class GraphElementprotected Edge setProperty(String key, Object value)
setProperty in class GraphElementpublic Edge removeProperty(String key)
removeProperty in class GraphElementCopyright © 2023 The Apache Software Foundation. All rights reserved.