net.sf.snmpadaptor4j.core
Class SystemSnmpMib.SysObjectIDExternalNode

java.lang.Object
  extended by net.sf.snmpadaptor4j.core.SystemSnmpMib.SysObjectIDExternalNode
All Implemented Interfaces:
AttributeAccessor
Enclosing class:
SystemSnmpMib

protected final class SystemSnmpMib.SysObjectIDExternalNode
extends Object
implements AttributeAccessor

External node of the SNMP Management Information Base (MIB) for system.sysObjectID attribute.


Constructor Summary
protected SystemSnmpMib.SysObjectIDExternalNode(SnmpOid oid, SnmpOid value)
          Constructor.
 
Method Summary
 Class<?> getJmxDataType()
          Returns the data type of JMX attribute.
 SnmpOid getOid()
          Returns the Object IDentifier (OID) to locate the attribute in the MIB.
 SnmpDataType getSnmpDataType()
          Returns the SNMP data type of attribute.
 Object getValue()
          Returns the value of attribute.
 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.
 void setValue(Object value)
          Sets the value of attribute.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemSnmpMib.SysObjectIDExternalNode

protected SystemSnmpMib.SysObjectIDExternalNode(SnmpOid oid,
                                                SnmpOid value)
Constructor.

Parameters:
oid - Object IDentifier (OID) of MIB node.
value - Value of MIB node.
Method Detail

getOid

public SnmpOid getOid()
Description copied from interface: AttributeAccessor
Returns the Object IDentifier (OID) to locate the attribute in the MIB.

Specified by:
getOid in interface AttributeAccessor
Returns:
Object Identifier to locate the attribute in the MIB.

getSnmpDataType

public SnmpDataType getSnmpDataType()
Description copied from interface: AttributeAccessor
Returns the SNMP data type of attribute.

Specified by:
getSnmpDataType in interface AttributeAccessor
Returns:
SNMP data type of attribute.

getJmxDataType

public Class<?> getJmxDataType()
Description copied from interface: AttributeAccessor
Returns the data type of JMX attribute.

Specified by:
getJmxDataType in interface AttributeAccessor
Returns:
Data type of JMX attribute.

getValue

public Object getValue()
Description copied from interface: AttributeAccessor
Returns the value of attribute.

Specified by:
getValue in interface AttributeAccessor
Returns:
Value of attribute.

setValue

public void setValue(Object value)
Description copied from interface: AttributeAccessor
Sets the value of attribute.

Specified by:
setValue in interface AttributeAccessor
Parameters:
value - New value of attribute.

isReadable

public boolean isReadable()
Description copied from interface: AttributeAccessor
Returns TRUE if the attribute can be read (for SNMP write and read community), FALSE otherwise.

Specified by:
isReadable in interface AttributeAccessor
Returns:
TRUE if the attribute can be read.

isWritable

public boolean isWritable()
Description copied from interface: AttributeAccessor
Returns TRUE if the attribute can be write (for SNMP write community), FALSE otherwise.

Specified by:
isWritable in interface AttributeAccessor
Returns:
TRUE if the attribute can be write.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012-2013 snmpAdaptor4j. All Rights Reserved.