public abstract class GraphElement extends Element implements GraphAttachable
| Modifier and Type | Field and Description |
|---|---|
protected String |
label |
protected GraphManager |
manager |
protected Map<String,Object> |
properties |
protected String |
type |
| Constructor and Description |
|---|
GraphElement() |
| Modifier and Type | Method and Description |
|---|---|
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) |
int |
sizeOfProperties() |
String |
type() |
protected GraphManager manager
protected String label
protected String type
public void attachManager(GraphManager manager)
attachManager in interface 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)
public int sizeOfProperties()
Copyright © 2023 The Apache Software Foundation. All rights reserved.