Package org.opennms.netmgt.bsm.mock
Class MockIpServiceEdge
- java.lang.Object
-
- org.opennms.netmgt.bsm.mock.AbstractMockEdge
-
- org.opennms.netmgt.bsm.mock.MockIpServiceEdge
-
- All Implemented Interfaces:
Edge
,IpServiceEdge
public class MockIpServiceEdge extends AbstractMockEdge implements IpServiceEdge
-
-
Field Summary
-
Fields inherited from interface org.opennms.netmgt.bsm.service.model.edge.Edge
DEFAULT_WEIGHT
-
-
Constructor Summary
Constructors Constructor Description MockIpServiceEdge(long id, IpService ipService, java.lang.String friendlyName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(EdgeVisitor<T> visitor)
java.lang.String
getFriendlyName()
IpService
getIpService()
java.util.Set<java.lang.String>
getReductionKeys()
void
setFriendlyName(java.lang.String friendlyName)
void
setIpService(IpService ipService)
-
Methods inherited from class org.opennms.netmgt.bsm.mock.AbstractMockEdge
delete, getId, getMapFunction, getOperationalStatus, getSource, getWeight, setMapFunction, setSource, setWeight
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
-
MockIpServiceEdge
public MockIpServiceEdge(long id, IpService ipService, java.lang.String friendlyName)
-
-
Method Detail
-
getIpService
public IpService getIpService()
- Specified by:
getIpService
in interfaceIpServiceEdge
-
getReductionKeys
public java.util.Set<java.lang.String> getReductionKeys()
- Specified by:
getReductionKeys
in interfaceEdge
- Overrides:
getReductionKeys
in classAbstractMockEdge
-
getFriendlyName
public java.lang.String getFriendlyName()
- Specified by:
getFriendlyName
in interfaceEdge
- Specified by:
getFriendlyName
in interfaceIpServiceEdge
-
setIpService
public void setIpService(IpService ipService)
- Specified by:
setIpService
in interfaceIpServiceEdge
-
setFriendlyName
public void setFriendlyName(java.lang.String friendlyName)
- Specified by:
setFriendlyName
in interfaceIpServiceEdge
-
accept
public <T> T accept(EdgeVisitor<T> visitor)
-
-