Class NumericAttribute
- java.lang.Object
-
- org.opennms.netmgt.collection.support.builder.Attribute<java.lang.Number>
-
- org.opennms.netmgt.collection.support.builder.NumericAttribute
-
public class NumericAttribute extends Attribute<java.lang.Number>
-
-
Constructor Summary
Constructors Constructor Description NumericAttribute(java.lang.String group, java.lang.String name, java.lang.Number value, AttributeType type, java.lang.String identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Number
getNumericValue()
java.lang.String
getStringValue()
-
-
-
Constructor Detail
-
NumericAttribute
public NumericAttribute(java.lang.String group, java.lang.String name, java.lang.Number value, AttributeType type, java.lang.String identifier)
-
-
Method Detail
-
getNumericValue
public java.lang.Number getNumericValue()
- Specified by:
getNumericValue
in classAttribute<java.lang.Number>
-
getStringValue
public java.lang.String getStringValue()
- Specified by:
getStringValue
in classAttribute<java.lang.Number>
-
-