Class GenericElement
- java.lang.Object
-
- org.opennms.netmgt.graph.api.generic.GenericElement
-
- Direct Known Subclasses:
GenericEdge
,GenericGraph
,GenericVertex
public abstract class GenericElement extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GenericElement.GenericElementBuilder<T extends GenericElement.GenericElementBuilder>
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Object>
properties
-
Constructor Summary
Constructors Modifier Constructor Description protected
GenericElement(Map<String,Object> properties)
All values of properties need to be immutable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getId()
String
getLabel()
String
getNamespace()
Map<String,Object>
getProperties()
<T> T
getProperty(String key)
<T> T
getProperty(String key, T defaultValue)
int
hashCode()
String
toString()
-