Package org.opennms.netmgt.collectd
Class ValueMappingAttributeType
- java.lang.Object
-
- org.opennms.netmgt.collection.support.AbstractCollectionAttributeType
-
- org.opennms.netmgt.collectd.SnmpAttributeType
-
- org.opennms.netmgt.collectd.ValueMappingAttributeType
-
- All Implemented Interfaces:
CollectionAttributeType
public class ValueMappingAttributeType extends SnmpAttributeType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValueMappingAttributeType.Wrapper
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.collectd.SnmpAttributeType
m_mibObj
-
-
Constructor Summary
Constructors Constructor Description ValueMappingAttributeType(ResourceType resourceType, MibObjProperty property, AttributeGroupType groupType, AttributeType attributeType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlias()
getAliasString
getName()
getNameString
getOid()
getOidAttributeType
getType()
The type of metric that the attribute represents.void
storeAttribute(CollectionAttribute attribute, Persister persister)
storeAttribute-
Methods inherited from class org.opennms.netmgt.collectd.SnmpAttributeType
create, equals, getCollectionName, getCollectionTrackers, getGroupIfType, getGroupName, getInstance, getResourceType, hashCode, matches, storeResult, toString
-
Methods inherited from class org.opennms.netmgt.collection.support.AbstractCollectionAttributeType
getGroupType
-
-
-
-
Constructor Detail
-
ValueMappingAttributeType
public ValueMappingAttributeType(ResourceType resourceType, MibObjProperty property, AttributeGroupType groupType, AttributeType attributeType)
-
-
Method Detail
-
storeAttribute
public void storeAttribute(CollectionAttribute attribute, Persister persister)
Description copied from class:SnmpAttributeType
storeAttribute
- Specified by:
storeAttribute
in interfaceCollectionAttributeType
- Specified by:
storeAttribute
in classSnmpAttributeType
- Parameters:
attribute
- aCollectionAttribute
object.persister
- aPersister
object.
-
getType
public AttributeType getType()
Description copied from interface:CollectionAttributeType
The type of metric that the attribute represents.
- Returns:
- a
AttributeType
object.
-
getAlias
public String getAlias()
Description copied from class:SnmpAttributeType
getAlias
- Overrides:
getAlias
in classSnmpAttributeType
- Returns:
- a
String
object.
-
getOid
public String getOid()
Description copied from class:SnmpAttributeType
getOid
- Overrides:
getOid
in classSnmpAttributeType
- Returns:
- a
String
object.
-
getName
public String getName()
Description copied from class:SnmpAttributeType
getName
- Specified by:
getName
in interfaceCollectionAttributeType
- Overrides:
getName
in classSnmpAttributeType
- Returns:
- a
String
object.
-
-