Class AbstractEdge<T extends BusinessServiceEdgeEntity>
- java.lang.Object
-
- org.opennms.netmgt.bsm.service.internal.edge.AbstractEdge<T>
-
- All Implemented Interfaces:
Edge
- Direct Known Subclasses:
ApplicationEdgeImpl,ChildEdgeImpl,IpServiceEdgeImpl,ReductionKeyEdgeImpl
public abstract class AbstractEdge<T extends BusinessServiceEdgeEntity> extends Object implements Edge
-
-
Field Summary
-
Fields inherited from interface org.opennms.netmgt.bsm.service.model.edge.Edge
DEFAULT_WEIGHT
-
-
Constructor Summary
Constructors Constructor Description AbstractEdge(BusinessServiceManager manager, T entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()booleanequals(Object obj)TgetEntity()LonggetId()protected BusinessServiceManagergetManager()MapFunctiongetMapFunction()StatusgetOperationalStatus()BusinessServicegetSource()intgetWeight()inthashCode()voidsetMapFunction(MapFunction mapFunction)voidsetSource(BusinessService source)voidsetWeight(int weight)StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.bsm.service.model.edge.Edge
accept, getFriendlyName, getReductionKeys
-
-
-
-
Constructor Detail
-
AbstractEdge
public AbstractEdge(BusinessServiceManager manager, T entity)
-
-
Method Detail
-
getEntity
public T getEntity()
-
getSource
public BusinessService getSource()
-
setSource
public void setSource(BusinessService source)
-
getOperationalStatus
public Status getOperationalStatus()
- Specified by:
getOperationalStatusin interfaceEdge
-
setMapFunction
public void setMapFunction(MapFunction mapFunction)
- Specified by:
setMapFunctionin interfaceEdge
-
getMapFunction
public MapFunction getMapFunction()
- Specified by:
getMapFunctionin interfaceEdge
-
getManager
protected BusinessServiceManager getManager()
-
-