net.sf.snmpadaptor4j.core.mapping
Class UserDataEntryDataMapTrapMapping

java.lang.Object
  extended by net.sf.snmpadaptor4j.core.mapping.UserDataEntryDataMapTrapMapping
All Implemented Interfaces:
Serializable

public final class UserDataEntryDataMapTrapMapping
extends Object
implements Serializable

Mapping to build an entry of the map in dataMap field of SnmpTrap from an entry of map in userData field of JMX notification.

Author:
Jean-Philippe MINETTI
See Also:
MapDataMapTrapMapping, Serialized Form

Method Summary
 boolean equals(Object obj)
           
 String getKey()
          Returns the key for find the entry in the map of userData field of JMX notification.
 SnmpOid getOid()
          Returns the OID of entry in the map of userData field of JMX notification.
 SnmpDataType getType()
          Returns the SNMP data type of entry in the map of userData field of JMX notification.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getKey

public String getKey()
Returns the key for find the entry in the map of userData field of JMX notification.

Returns:
Key for find the entry in the map of userData field of JMX notification.

getType

public SnmpDataType getType()
Returns the SNMP data type of entry in the map of userData field of JMX notification.

Returns:
SNMP data type of entry in the map of userData field of JMX notification.

getOid

public SnmpOid getOid()
Returns the OID of entry in the map of userData field of JMX notification.

Returns:
OID of entry in the map of userData field of JMX notification.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012-2013 snmpAdaptor4j. All Rights Reserved.