Package org.opennms.netmgt.bsm.mock
Class MockApplicationEdge
- java.lang.Object
-
- org.opennms.netmgt.bsm.mock.AbstractMockEdge
-
- org.opennms.netmgt.bsm.mock.MockApplicationEdge
-
- All Implemented Interfaces:
ApplicationEdge
,Edge
public class MockApplicationEdge extends AbstractMockEdge implements ApplicationEdge
-
-
Field Summary
-
Fields inherited from interface org.opennms.netmgt.bsm.service.model.edge.Edge
DEFAULT_WEIGHT
-
-
Constructor Summary
Constructors Constructor Description MockApplicationEdge(long id, Application application)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(EdgeVisitor<T> visitor)
Application
getApplication()
java.lang.String
getFriendlyName()
java.util.Set<java.lang.String>
getReductionKeys()
void
setApplication(Application application)
-
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
-
MockApplicationEdge
public MockApplicationEdge(long id, Application application)
-
-
Method Detail
-
getApplication
public Application getApplication()
- Specified by:
getApplication
in interfaceApplicationEdge
-
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
-
setApplication
public void setApplication(Application application)
- Specified by:
setApplication
in interfaceApplicationEdge
-
accept
public <T> T accept(EdgeVisitor<T> visitor)
-
-