Package org.opennms.netmgt.model
Class AttributeStatistic
- java.lang.Object
-
- org.opennms.netmgt.model.AttributeStatistic
-
- All Implemented Interfaces:
Comparable<AttributeStatistic>
public class AttributeStatistic extends Object implements Comparable<AttributeStatistic>
AttributeStatistic class.
- Version:
- $Id: $
- Author:
- DJ Gregor
-
-
Constructor Summary
Constructors Constructor Description AttributeStatistic(OnmsAttribute attribute, Double statistic)
Constructor for AttributeStatistic.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AttributeStatistic o)
compareToOnmsAttribute
getAttribute()
getAttributeDouble
getStatistic()
getStatistic
-
-
-
Constructor Detail
-
AttributeStatistic
public AttributeStatistic(OnmsAttribute attribute, Double statistic)
Constructor for AttributeStatistic.
- Parameters:
attribute
- aOnmsAttribute
object.statistic
- aDouble
object.
-
-
Method Detail
-
getAttribute
public OnmsAttribute getAttribute()
getAttribute
- Returns:
- a
OnmsAttribute
object.
-
compareTo
public int compareTo(AttributeStatistic o)
compareTo
- Specified by:
compareTo
in interfaceComparable<AttributeStatistic>
- Parameters:
o
- aAttributeStatistic
object.- Returns:
- a int.
- See Also:
Comparable.compareTo(java.lang.Object)
-
-