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