Class ReductionKeyEdgeImpl
- java.lang.Object
-
- org.opennms.netmgt.bsm.service.internal.edge.AbstractEdge<SingleReductionKeyEdgeEntity>
-
- org.opennms.netmgt.bsm.service.internal.edge.ReductionKeyEdgeImpl
-
- All Implemented Interfaces:
Edge
,ReductionKeyEdge
public class ReductionKeyEdgeImpl extends AbstractEdge<SingleReductionKeyEdgeEntity> implements ReductionKeyEdge
-
-
Field Summary
-
Fields inherited from interface org.opennms.netmgt.bsm.service.model.edge.Edge
DEFAULT_WEIGHT
-
-
Constructor Summary
Constructors Constructor Description ReductionKeyEdgeImpl(BusinessServiceManager manager, SingleReductionKeyEdgeEntity entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(EdgeVisitor<T> visitor)
java.lang.String
getFriendlyName()
java.lang.String
getReductionKey()
java.util.Set<java.lang.String>
getReductionKeys()
void
setFriendlyName(java.lang.String friendlyName)
void
setReductionKey(java.lang.String reductionKey)
java.lang.String
toString()
-
Methods inherited from class org.opennms.netmgt.bsm.service.internal.edge.AbstractEdge
delete, equals, getEntity, getId, getManager, getMapFunction, getOperationalStatus, getSource, getWeight, hashCode, setMapFunction, setSource, setWeight
-
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
delete, getId, getMapFunction, getOperationalStatus, getSource, getWeight, setMapFunction, setSource, setWeight
-
-
-
-
Constructor Detail
-
ReductionKeyEdgeImpl
public ReductionKeyEdgeImpl(BusinessServiceManager manager, SingleReductionKeyEdgeEntity entity)
-
-
Method Detail
-
getReductionKeys
public java.util.Set<java.lang.String> getReductionKeys()
- Specified by:
getReductionKeys
in interfaceEdge
-
getReductionKey
public java.lang.String getReductionKey()
- Specified by:
getReductionKey
in interfaceReductionKeyEdge
-
setReductionKey
public void setReductionKey(java.lang.String reductionKey)
- Specified by:
setReductionKey
in interfaceReductionKeyEdge
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractEdge<SingleReductionKeyEdgeEntity>
-
setFriendlyName
public void setFriendlyName(java.lang.String friendlyName)
- Specified by:
setFriendlyName
in interfaceReductionKeyEdge
-
getFriendlyName
public java.lang.String getFriendlyName()
- Specified by:
getFriendlyName
in interfaceEdge
- Specified by:
getFriendlyName
in interfaceReductionKeyEdge
-
accept
public <T> T accept(EdgeVisitor<T> visitor)
-
-