public class Edge extends GraphElement
label, manager, properties, type| 限定符和类型 | 方法和说明 |
|---|---|
String |
id() |
void |
id(String id) |
boolean |
linkedVertex(Object vertexId) |
boolean |
linkedVertex(Vertex vertex) |
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, 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 Edge property(String key, Object value)
property 在类中 GraphElementprotected Edge setProperty(String key, Object value)
setProperty 在类中 GraphElementpublic Edge removeProperty(String key)
removeProperty 在类中 GraphElementCopyright © 2020. All rights reserved.