public abstract class GraphElement extends Element implements GraphAttachable
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
label |
protected GraphManager |
manager |
protected Map<String,Object> |
properties |
protected String |
type |
| 构造器和说明 |
|---|
GraphElement() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
attachManager(GraphManager manager) |
protected boolean |
fresh() |
String |
label() |
Map<String,Object> |
properties() |
Object |
property(String key) |
GraphElement |
property(String name,
Object value) |
abstract GraphElement |
removeProperty(String key) |
protected abstract GraphElement |
setProperty(String key,
Object value) |
String |
type() |
protected GraphManager manager
protected String label
protected String type
public void attachManager(GraphManager manager)
attachManager 在接口中 GraphAttachablepublic String label()
protected boolean fresh()
public GraphElement property(String name, Object value)
protected abstract GraphElement setProperty(String key, Object value)
public abstract GraphElement removeProperty(String key)
Copyright © 2020. All rights reserved.