Package org.opennms.netmgt.bsm.mock
Class MockChildEdge
- java.lang.Object
-
- org.opennms.netmgt.bsm.mock.AbstractMockEdge
-
- org.opennms.netmgt.bsm.mock.MockChildEdge
-
public class MockChildEdge extends AbstractMockEdge implements ChildEdge
-
-
Field Summary
-
Fields inherited from interface org.opennms.netmgt.bsm.service.model.edge.Edge
DEFAULT_WEIGHT
-
-
Constructor Summary
Constructors Constructor Description MockChildEdge(long id, BusinessService businessService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(EdgeVisitor<T> visitor)
BusinessService
getChild()
java.lang.String
getFriendlyName()
java.util.Set<java.lang.String>
getReductionKeys()
void
setChild(BusinessService child)
java.lang.String
toString()
-
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, 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
-
MockChildEdge
public MockChildEdge(long id, BusinessService businessService)
-
-
Method Detail
-
getReductionKeys
public java.util.Set<java.lang.String> getReductionKeys()
- Specified by:
getReductionKeys
in interfaceEdge
- Overrides:
getReductionKeys
in classAbstractMockEdge
-
getChild
public BusinessService getChild()
-
setChild
public void setChild(BusinessService child)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getFriendlyName
public java.lang.String getFriendlyName()
- Specified by:
getFriendlyName
in interfaceEdge
-
accept
public <T> T accept(EdgeVisitor<T> visitor)
-
-