net.sf.snmpadaptor4j.core.mapping
Class MBeanAttributeMapping

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

public final class MBeanAttributeMapping
extends Object
implements Serializable

Object containing the mapping for access to a MBean attribute.

Author:
Jean-Philippe MINETTI
See Also:
Serialized Form

Method Summary
 boolean equals(Object obj)
           
 String getAttributeName()
          Returns the attribute name.
 Class<?> getJmxDataType()
          Returns the data type of JMX attribute.
 SnmpOid getOid()
          Returns the Object Identifier of MIB node.
 SnmpDataType getSnmpDataType()
          Returns the SNMP data type of MIB node.
 int hashCode()
           
 boolean isReadable()
          Returns TRUE if the attribute can be read (for SNMP write and read community), FALSE otherwise.
 boolean isWritable()
          Returns TRUE if the attribute can be write (for SNMP write community), FALSE otherwise.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getOid

public SnmpOid getOid()
Returns the Object Identifier of MIB node.

Returns:
Object Identifier of MIB node.

getAttributeName

public String getAttributeName()
Returns the attribute name.

Returns:
Attribute name.

getSnmpDataType

public SnmpDataType getSnmpDataType()
Returns the SNMP data type of MIB node.

Returns:
SNMP data type of MIB node.

getJmxDataType

public Class<?> getJmxDataType()
Returns the data type of JMX attribute.

Returns:
Data type of JMX attribute.

isReadable

public boolean isReadable()
Returns TRUE if the attribute can be read (for SNMP write and read community), FALSE otherwise.

Returns:
TRUE if the attribute can be read (for SNMP write and read community), FALSE otherwise.

isWritable

public boolean isWritable()
Returns TRUE if the attribute can be write (for SNMP write community), FALSE otherwise.

Returns:
TRUE if the attribute can be write (for SNMP write community), FALSE otherwise.

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.