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 java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractGraphEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getNamespace()
java.util.List<PropertyEntity>
getProperties()
PropertyEntity
getProperty(java.lang.String key)
protected java.lang.String
getPropertyValue(java.lang.String key)
void
mergeProperties(java.util.List<PropertyEntity> propertyEntities)
void
setNamespace(java.lang.String namespace)
void
setProperties(java.util.List<PropertyEntity> properties)
void
setProperty(java.lang.String key, java.lang.Class<?> type, java.lang.String stringValue)
-
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
-
setNamespace
public void setNamespace(java.lang.String namespace)
-
getProperties
public java.util.List<PropertyEntity> getProperties()
-
setProperties
public void setProperties(java.util.List<PropertyEntity> properties)
-
getProperty
public PropertyEntity getProperty(java.lang.String key)
-
mergeProperties
public void mergeProperties(java.util.List<PropertyEntity> propertyEntities)
-
setProperty
public void setProperty(java.lang.String key, java.lang.Class<?> type, java.lang.String stringValue)
-
getPropertyValue
protected java.lang.String getPropertyValue(java.lang.String key)
-
-