public abstract class GraphMLElement extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
GraphMLElement.GraphMLElementVisitor<T> |
Constructor and Description |
---|
GraphMLElement() |
Modifier and Type | Method and Description |
---|---|
abstract <T> T |
accept(GraphMLElement.GraphMLElementVisitor<T> visitor) |
boolean |
equals(Object obj) |
String |
getId() |
HashMap<String,Object> |
getProperties() |
<T> T |
getProperty(String key) |
<T> T |
getProperty(String key,
T defaultValue) |
int |
hashCode() |
void |
setId(String id) |
void |
setProperty(String key,
Object value) |
String |
toString() |
protected static final String ID
public String getId()
public void setId(String id)
public <T> T getProperty(String key)
public <T> T getProperty(String key, T defaultValue)
public abstract <T> T accept(GraphMLElement.GraphMLElementVisitor<T> visitor)
Copyright © 2021. All rights reserved.