Class SingleReductionKeyEdgeEntity
- java.lang.Object
-
- org.opennms.netmgt.bsm.persistence.api.BusinessServiceEdgeEntity
-
- org.opennms.netmgt.bsm.persistence.api.SingleReductionKeyEdgeEntity
-
- All Implemented Interfaces:
EdgeEntity
@Entity public class SingleReductionKeyEdgeEntity extends BusinessServiceEdgeEntity
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.bsm.persistence.api.BusinessServiceEdgeEntity
DEFAULT_WEIGHT
-
-
Constructor Summary
Constructors Constructor Description SingleReductionKeyEdgeEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(EdgeEntityVisitor<T> visitor)
boolean
equalsDefinition(BusinessServiceEdgeEntity other)
Defines if the definition of the edge is equal to the given one.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.persistence.api.BusinessServiceEdgeEntity
equals, getBusinessService, getId, getMapFunction, getWeight, hashCode, isEnabled, setBusinessService, setEnabled, setId, setMapFunction, setWeight
-
-
-
-
Method Detail
-
setReductionKey
public void setReductionKey(java.lang.String reductionKey)
-
getReductionKey
public java.lang.String getReductionKey()
-
getReductionKeys
public java.util.Set<java.lang.String> getReductionKeys()
- Specified by:
getReductionKeys
in interfaceEdgeEntity
- Overrides:
getReductionKeys
in classBusinessServiceEdgeEntity
-
getFriendlyName
@Size(min=0, max=30) public java.lang.String getFriendlyName()
-
setFriendlyName
public void setFriendlyName(java.lang.String friendlyName)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classBusinessServiceEdgeEntity
-
equalsDefinition
public boolean equalsDefinition(BusinessServiceEdgeEntity other)
Description copied from class:BusinessServiceEdgeEntity
Defines 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:
equalsDefinition
in classBusinessServiceEdgeEntity
- Returns:
- true if equal, otherwise false
-
accept
public <T> T accept(EdgeEntityVisitor<T> visitor)
- Specified by:
accept
in interfaceEdgeEntity
- Overrides:
accept
in classBusinessServiceEdgeEntity
-
-