Class ApplicationEdgeEntity
- java.lang.Object
-
- org.opennms.netmgt.bsm.persistence.api.BusinessServiceEdgeEntity
-
- org.opennms.netmgt.bsm.persistence.api.ApplicationEdgeEntity
-
- All Implemented Interfaces:
EdgeEntity
@Entity public class ApplicationEdgeEntity extends BusinessServiceEdgeEntity
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.bsm.persistence.api.BusinessServiceEdgeEntity
DEFAULT_WEIGHT
-
-
Constructor Summary
Constructors Constructor Description ApplicationEdgeEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(EdgeEntityVisitor<T> visitor)booleanequalsDefinition(BusinessServiceEdgeEntity other)Defines if the definition of the edge is equal to the given one.OnmsApplicationgetApplication()Set<String>getReductionKeys()voidsetApplication(OnmsApplication application)StringtoString()-
Methods inherited from class org.opennms.netmgt.bsm.persistence.api.BusinessServiceEdgeEntity
equals, getBusinessService, getId, getMapFunction, getWeight, hashCode, isEnabled, setBusinessService, setEnabled, setId, setMapFunction, setWeight
-
-
-
-
Method Detail
-
getApplication
public OnmsApplication getApplication()
-
setApplication
public void setApplication(OnmsApplication application)
-
getReductionKeys
public Set<String> getReductionKeys()
- Specified by:
getReductionKeysin interfaceEdgeEntity- Overrides:
getReductionKeysin classBusinessServiceEdgeEntity
-
toString
public String toString()
- Overrides:
toStringin classBusinessServiceEdgeEntity
-
equalsDefinition
public boolean equalsDefinition(BusinessServiceEdgeEntity other)
Description copied from class:BusinessServiceEdgeEntityDefines if the definition of the edge is equal to the given one. This is quite different than the equals method of the object itself.- Overrides:
equalsDefinitionin classBusinessServiceEdgeEntity- Returns:
- true if equal, otherwise false
-
accept
public <T> T accept(EdgeEntityVisitor<T> visitor)
- Specified by:
acceptin interfaceEdgeEntity- Overrides:
acceptin classBusinessServiceEdgeEntity
-
-