Class GraphMLElement
- java.lang.Object
-
- org.opennms.features.graphml.model.GraphMLElement
-
- Direct Known Subclasses:
GraphML
,GraphMLEdge
,GraphMLGraph
,GraphMLNode
public abstract class GraphMLElement extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GraphMLElement.GraphMLElementVisitor<T>
-
Constructor Summary
Constructors Constructor Description GraphMLElement()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
ID
protected static final String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getProperty
public <T> T getProperty(String key)
-
getProperty
public <T> T getProperty(String key, T defaultValue)
-
accept
public abstract <T> T accept(GraphMLElement.GraphMLElementVisitor<T> visitor)
-
-