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 void
delete()
boolean
equals(java.lang.Object obj)
T
getEntity()
java.lang.Long
getId()
protected BusinessServiceManager
getManager()
MapFunction
getMapFunction()
Status
getOperationalStatus()
BusinessService
getSource()
int
getWeight()
int
hashCode()
void
setMapFunction(MapFunction mapFunction)
void
setSource(BusinessService source)
void
setWeight(int weight)
java.lang.String
toString()
-
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:
getOperationalStatus
in interfaceEdge
-
setMapFunction
public void setMapFunction(MapFunction mapFunction)
- Specified by:
setMapFunction
in interfaceEdge
-
getMapFunction
public MapFunction getMapFunction()
- Specified by:
getMapFunction
in interfaceEdge
-
getManager
protected BusinessServiceManager getManager()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-