Package org.opennms.netmgt.graph
Class AbstractGraphEntity
- java.lang.Object
-
- org.opennms.netmgt.graph.AbstractGraphEntity
-
- Direct Known Subclasses:
EdgeEntity
,GraphContainerEntity
,GraphEntity
,VertexEntity
@Entity(name="graph_elements") public class AbstractGraphEntity extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractGraphEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNamespace()
List<PropertyEntity>
getProperties()
PropertyEntity
getProperty(String key)
protected String
getPropertyValue(String key)
void
mergeProperties(List<PropertyEntity> propertyEntities)
void
setNamespace(String namespace)
void
setProperties(List<PropertyEntity> properties)
void
setProperty(String key, Class<?> type, String stringValue)
-
-
-
Method Detail
-
getNamespace
public String getNamespace()
-
setNamespace
public void setNamespace(String namespace)
-
getProperties
public List<PropertyEntity> getProperties()
-
setProperties
public void setProperties(List<PropertyEntity> properties)
-
getProperty
public PropertyEntity getProperty(String key)
-
mergeProperties
public void mergeProperties(List<PropertyEntity> propertyEntities)
-
-