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 java.lang.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(java.lang.Object obj)TgetEntity()java.lang.LonggetId()protected BusinessServiceManagergetManager()MapFunctiongetMapFunction()StatusgetOperationalStatus()BusinessServicegetSource()intgetWeight()inthashCode()voidsetMapFunction(MapFunction mapFunction)voidsetSource(BusinessService source)voidsetWeight(int weight)java.lang.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()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-