Class ThresholdEntity
- java.lang.Object
-
- org.opennms.netmgt.bsm.persistence.api.functions.reduce.AbstractReductionFunctionEntity
-
- org.opennms.netmgt.bsm.persistence.api.functions.reduce.ThresholdEntity
-
@Entity public class ThresholdEntity extends AbstractReductionFunctionEntity
-
-
Constructor Summary
Constructors Constructor Description ThresholdEntity()
ThresholdEntity(float threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(ReductionFunctionEntityVisitor<T> visitor)
float
getThreshold()
void
setThreshold(float threshold)
java.lang.String
toString()
-
Methods inherited from class org.opennms.netmgt.bsm.persistence.api.functions.reduce.AbstractReductionFunctionEntity
getId, setId
-
-
-
-
Method Detail
-
setThreshold
public void setThreshold(float threshold)
-
getThreshold
public float getThreshold()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractReductionFunctionEntity
-
accept
public <T> T accept(ReductionFunctionEntityVisitor<T> visitor)
- Specified by:
accept
in classAbstractReductionFunctionEntity
-
-