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, visitpublic XmlCollectionAttribute(XmlCollectionResource resource, XmlCollectionAttributeType attribType, String value)
resource - the resourceattribType - the attribute typevalue - the attribute valuepublic Number getNumericValue()
AbstractCollectionAttributegetNumericValue
getNumericValue in interface CollectionAttributegetNumericValue in class AbstractCollectionAttributeNumber object.public String getStringValue()
AbstractCollectionAttributegetStringValue
getStringValue in interface CollectionAttributegetStringValue in class AbstractCollectionAttributeString object.public String getMetricIdentifier()
CollectionAttributeCopyright © 2020. All rights reserved.