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 classGenericElement.GenericElementBuilder<T extends GenericElement.GenericElementBuilder>
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Object>properties
-
Constructor Summary
Constructors Modifier Constructor Description protectedGenericElement(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 booleanequals(Object o)StringgetId()StringgetLabel()StringgetNamespace()Map<String,Object>getProperties()<T> TgetProperty(String key)<T> TgetProperty(String key, T defaultValue)inthashCode()StringtoString()
-