net.sf.snmpadaptor4j.example.mbean
Class Example

java.lang.Object
  extended by net.sf.snmpadaptor4j.example.mbean.Example
All Implemented Interfaces:
ExampleMBean

public final class Example
extends Object
implements ExampleMBean

Example standard MBean implementation.

Author:
Jean-Philippe MINETTI

Constructor Summary
Example()
          Constructor.
 
Method Summary
 byte getInteger32AsByte()
          Returns the value for integer32 as byte.
 int getInteger32AsInteger()
          Returns the value for integer32 as integer.
 short getInteger32AsShort()
          Returns the value for integer32 as short.
 byte getUnsigned32AsByte()
          Returns the value for unsigned32 as byte.
 int getUnsigned32AsInteger()
          Returns the value for unsigned32 as integer.
 long getUnsigned32AsLong()
          Returns the value for unsigned32 as long.
 short getUnsigned32AsShort()
          Returns the value for unsigned32 as short.
 void setInteger32AsByte(byte value)
          Sets the value for integer32 as byte.
 void setInteger32AsInteger(int value)
          Sets the value for integer32 as integer.
 void setInteger32AsShort(short value)
          Sets the value for integer32 as short.
 void setUnsigned32AsByte(byte value)
          Sets the value for unsigned32 as byte.
 void setUnsigned32AsInteger(int value)
          Sets the value for unsigned32 as integer.
 void setUnsigned32AsLong(long value)
          Sets the value for unsigned32 as long.
 void setUnsigned32AsShort(short value)
          Sets the value for unsigned32 as short.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Example

public Example()
Constructor.

Method Detail

getInteger32AsInteger

public int getInteger32AsInteger()
Description copied from interface: ExampleMBean
Returns the value for integer32 as integer.

Specified by:
getInteger32AsInteger in interface ExampleMBean
Returns:
Value as integer.

setInteger32AsInteger

public void setInteger32AsInteger(int value)
Description copied from interface: ExampleMBean
Sets the value for integer32 as integer.

Specified by:
setInteger32AsInteger in interface ExampleMBean
Parameters:
value - Value as integer.

getInteger32AsByte

public byte getInteger32AsByte()
Description copied from interface: ExampleMBean
Returns the value for integer32 as byte.

Specified by:
getInteger32AsByte in interface ExampleMBean
Returns:
Value as byte.

setInteger32AsByte

public void setInteger32AsByte(byte value)
Description copied from interface: ExampleMBean
Sets the value for integer32 as byte.

Specified by:
setInteger32AsByte in interface ExampleMBean
Parameters:
value - Value as byte.

getInteger32AsShort

public short getInteger32AsShort()
Description copied from interface: ExampleMBean
Returns the value for integer32 as short.

Specified by:
getInteger32AsShort in interface ExampleMBean
Returns:
Value as short.

setInteger32AsShort

public void setInteger32AsShort(short value)
Description copied from interface: ExampleMBean
Sets the value for integer32 as short.

Specified by:
setInteger32AsShort in interface ExampleMBean
Parameters:
value - Value as short.

getUnsigned32AsLong

public long getUnsigned32AsLong()
Description copied from interface: ExampleMBean
Returns the value for unsigned32 as long.

Specified by:
getUnsigned32AsLong in interface ExampleMBean
Returns:
Value as long.

setUnsigned32AsLong

public void setUnsigned32AsLong(long value)
Description copied from interface: ExampleMBean
Sets the value for unsigned32 as long.

Specified by:
setUnsigned32AsLong in interface ExampleMBean
Parameters:
value - Value as long.

getUnsigned32AsInteger

public int getUnsigned32AsInteger()
Description copied from interface: ExampleMBean
Returns the value for unsigned32 as integer.

Specified by:
getUnsigned32AsInteger in interface ExampleMBean
Returns:
Value as integer.

setUnsigned32AsInteger

public void setUnsigned32AsInteger(int value)
Description copied from interface: ExampleMBean
Sets the value for unsigned32 as integer.

Specified by:
setUnsigned32AsInteger in interface ExampleMBean
Parameters:
value - Value as integer.

getUnsigned32AsByte

public byte getUnsigned32AsByte()
Description copied from interface: ExampleMBean
Returns the value for unsigned32 as byte.

Specified by:
getUnsigned32AsByte in interface ExampleMBean
Returns:
Value as byte.

setUnsigned32AsByte

public void setUnsigned32AsByte(byte value)
Description copied from interface: ExampleMBean
Sets the value for unsigned32 as byte.

Specified by:
setUnsigned32AsByte in interface ExampleMBean
Parameters:
value - Value as byte.

getUnsigned32AsShort

public short getUnsigned32AsShort()
Description copied from interface: ExampleMBean
Returns the value for unsigned32 as short.

Specified by:
getUnsigned32AsShort in interface ExampleMBean
Returns:
Value as short.

setUnsigned32AsShort

public void setUnsigned32AsShort(short value)
Description copied from interface: ExampleMBean
Sets the value for unsigned32 as short.

Specified by:
setUnsigned32AsShort in interface ExampleMBean
Parameters:
value - Value as short.


Copyright © 2012 snmpAdaptor4j. All Rights Reserved.