public class WmiCollectionAttribute extends AbstractCollectionAttribute
WmiCollectionAttribute class.
m_attribType, m_resource
Constructor and Description |
---|
WmiCollectionAttribute(WmiCollectionResource resource,
CollectionAttributeType attribType,
Object value)
Constructor for WmiCollectionAttribute.
|
Modifier and Type | Method and Description |
---|---|
String |
getMetricIdentifier()
Get the metric identifier for the attribute to be used for NRTG collection
|
Number |
getNumericValue()
getNumericValue
|
String |
getStringValue()
getStringValue
|
String |
toString()
toString
|
getAttributeType, getName, getResource, getType, shouldPersist, storeAttribute, visit
public WmiCollectionAttribute(WmiCollectionResource resource, CollectionAttributeType attribType, Object value)
Constructor for WmiCollectionAttribute.
resource
- a WmiCollectionResource
object.attribType
- a CollectionAttributeType
object.alias
- a String
object.value
- a Object
object.public Number getNumericValue()
getNumericValue
getNumericValue
in interface CollectionAttribute
getNumericValue
in class AbstractCollectionAttribute
Number
object.public String getStringValue()
getStringValue
getStringValue
in interface CollectionAttribute
getStringValue
in class AbstractCollectionAttribute
String
object.public String toString()
toString
public String getMetricIdentifier()
CollectionAttribute
Copyright © 2017. All rights reserved.