org.opennms.netmgt.collectd.wmi
Class WmiCollectionAttribute

java.lang.Object
  extended by org.opennms.netmgt.collectd.AbstractCollectionAttribute
      extended by org.opennms.netmgt.collectd.wmi.WmiCollectionAttribute
All Implemented Interfaces:
CollectionAttribute

public class WmiCollectionAttribute
extends AbstractCollectionAttribute
implements CollectionAttribute


Constructor Summary
WmiCollectionAttribute(WmiCollectionResource resource, CollectionAttributeType attribType, String alias, String value)
           
 
Method Summary
 CollectionAttributeType getAttributeType()
           
 String getName()
           
 String getNumericValue()
           
 CollectionResource getResource()
           
 String getStringValue()
           
 String getType()
           
 boolean shouldPersist(ServiceParameters params)
           
 String toString()
           
 
Methods inherited from class org.opennms.netmgt.collectd.AbstractCollectionAttribute
log, storeAttribute, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opennms.netmgt.collectd.CollectionAttribute
storeAttribute, visit
 

Constructor Detail

WmiCollectionAttribute

public WmiCollectionAttribute(WmiCollectionResource resource,
                              CollectionAttributeType attribType,
                              String alias,
                              String value)
Method Detail

getAttributeType

public CollectionAttributeType getAttributeType()
Specified by:
getAttributeType in interface CollectionAttribute
Specified by:
getAttributeType in class AbstractCollectionAttribute

getName

public String getName()
Specified by:
getName in interface CollectionAttribute
Specified by:
getName in class AbstractCollectionAttribute

getNumericValue

public String getNumericValue()
Specified by:
getNumericValue in interface CollectionAttribute
Specified by:
getNumericValue in class AbstractCollectionAttribute

getResource

public CollectionResource getResource()
Specified by:
getResource in interface CollectionAttribute
Specified by:
getResource in class AbstractCollectionAttribute

getStringValue

public String getStringValue()
Specified by:
getStringValue in interface CollectionAttribute
Specified by:
getStringValue in class AbstractCollectionAttribute

shouldPersist

public boolean shouldPersist(ServiceParameters params)
Specified by:
shouldPersist in interface CollectionAttribute
Specified by:
shouldPersist in class AbstractCollectionAttribute

getType

public String getType()
Specified by:
getType in interface CollectionAttribute

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009. All Rights Reserved.