public class AliasedAttribute extends SnmpAttribute
AliasedAttribute class.
Constructor and Description |
---|
AliasedAttribute(CollectionResource resource,
SnmpAttribute attr)
Constructor for AliasedAttribute.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
SnmpAttributeType |
getAttributeType()
getAttributeType
|
String |
getName()
getName
|
String |
getType()
getType
|
SnmpValue |
getValue()
getValue
|
int |
hashCode()
hashCode
|
ThreadCategory |
log()
log
|
boolean |
shouldPersist(ServiceParameters params)
Determines whether the attribute should be persisted.
|
String |
toString()
toString
|
getNumericValue, getResource, getStringValue, storeAttribute, visit
public AliasedAttribute(CollectionResource resource, SnmpAttribute attr)
Constructor for AliasedAttribute.
resource
- a CollectionResource
object.attr
- a SnmpAttribute
object.public boolean equals(Object obj)
equals
in class SnmpAttribute
public SnmpAttributeType getAttributeType()
getAttributeType
getAttributeType
in interface CollectionAttribute
getAttributeType
in class SnmpAttribute
SnmpAttributeType
object.public String getName()
getName
getName
in interface CollectionAttribute
getName
in class SnmpAttribute
String
object.public String getType()
getType
getType
in interface CollectionAttribute
getType
in class SnmpAttribute
String
object.public SnmpValue getValue()
getValue
getValue
in class SnmpAttribute
SnmpValue
object.public int hashCode()
hashCode
hashCode
in class SnmpAttribute
public ThreadCategory log()
log
log
in class SnmpAttribute
ThreadCategory
object.public boolean shouldPersist(ServiceParameters params)
shouldPersist
in interface CollectionAttribute
shouldPersist
in class SnmpAttribute
params
- a ServiceParameters
object.public String toString()
toString
toString
in class SnmpAttribute
String
object.Copyright © 2015. All Rights Reserved.