public class XmlCollectionAttribute extends AbstractCollectionAttribute
This is related with the configuration class XmlObject (the attribute to be stored on a RRD file).
m_attribType, m_resource
Constructor and Description |
---|
XmlCollectionAttribute(XmlCollectionResource resource,
XmlCollectionAttributeType attribType,
String value)
Instantiates a new XML collection attribute.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getMetricIdentifier()
Get the metric identifier for the attribute to be used for NRTG collection
|
Number |
getNumericValue()
getNumericValue
|
String |
getStringValue()
getStringValue
|
int |
hashCode() |
String |
toString() |
getAttributeType, getName, getResource, getType, shouldPersist, storeAttribute, visit
public XmlCollectionAttribute(XmlCollectionResource resource, XmlCollectionAttributeType attribType, String value)
resource
- the resourceattribType
- the attribute typevalue
- the attribute valuepublic Number getNumericValue()
AbstractCollectionAttribute
getNumericValue
getNumericValue
in interface CollectionAttribute
getNumericValue
in class AbstractCollectionAttribute
Number
object.public String getStringValue()
AbstractCollectionAttribute
getStringValue
getStringValue
in interface CollectionAttribute
getStringValue
in class AbstractCollectionAttribute
String
object.public String getMetricIdentifier()
CollectionAttribute
Copyright © 2017. All rights reserved.