org.snmp4j.agent.mo.jmx.types
Class SMIVariant

java.lang.Object
  extended by org.snmp4j.agent.mo.jmx.types.SMIVariant

public class SMIVariant
extends java.lang.Object


Constructor Summary
SMIVariant(org.snmp4j.smi.Variable variable)
           
 
Method Summary
 java.lang.Object getValue(java.lang.Class returnType)
           
 org.snmp4j.smi.Variable getVariable()
           
static void set(org.snmp4j.smi.AssignableFromByteArray variable, byte[] value)
           
static void set(org.snmp4j.smi.AssignableFromByteArray variable, java.lang.Byte[] value)
           
static void set(org.snmp4j.smi.AssignableFromInteger variable, java.lang.Boolean value)
           
static void set(org.snmp4j.smi.AssignableFromInteger variable, int value)
           
static void set(org.snmp4j.smi.AssignableFromInteger variable, java.lang.Number value)
           
static void set(org.snmp4j.smi.AssignableFromInteger variable, java.lang.Object[] value)
           
static void set(org.snmp4j.smi.AssignableFromLong variable, long value)
           
static void set(org.snmp4j.smi.AssignableFromLong variable, java.lang.Number value)
           
static void set(org.snmp4j.smi.AssignableFromLong variable, java.lang.Object[] value)
           
static void set(org.snmp4j.smi.AssignableFromString variable, java.lang.String value)
           
static void set(org.snmp4j.smi.OID variable, int[] value)
           
static void set(org.snmp4j.smi.OID variable, java.lang.String value)
           
 int setValue(java.lang.Object object)
           
static java.lang.Object toBoolean(org.snmp4j.smi.AssignableFromInteger variable)
           
static java.lang.Object toByteArray(org.snmp4j.smi.AssignableFromByteArray variable)
           
static java.lang.Object toInteger(org.snmp4j.smi.AssignableFromInteger variable)
           
static java.lang.Object toIntegerArray(org.snmp4j.smi.OID variable)
           
static java.lang.Object toLong(org.snmp4j.smi.AssignableFromLong variable)
           
static java.lang.Object toString(org.snmp4j.smi.AssignableFromString variable)
           
static java.lang.Object toString(org.snmp4j.smi.OID variable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMIVariant

public SMIVariant(org.snmp4j.smi.Variable variable)
Method Detail

set

public static final void set(org.snmp4j.smi.AssignableFromLong variable,
                             java.lang.Number value)

set

public static final void set(org.snmp4j.smi.AssignableFromLong variable,
                             long value)

set

public static final void set(org.snmp4j.smi.AssignableFromLong variable,
                             java.lang.Object[] value)

set

public static final void set(org.snmp4j.smi.AssignableFromInteger variable,
                             java.lang.Number value)

set

public static final void set(org.snmp4j.smi.AssignableFromInteger variable,
                             int value)

set

public static final void set(org.snmp4j.smi.AssignableFromInteger variable,
                             java.lang.Object[] value)

set

public static final void set(org.snmp4j.smi.AssignableFromInteger variable,
                             java.lang.Boolean value)

set

public static final void set(org.snmp4j.smi.AssignableFromString variable,
                             java.lang.String value)

set

public static final void set(org.snmp4j.smi.OID variable,
                             java.lang.String value)

set

public static final void set(org.snmp4j.smi.OID variable,
                             int[] value)

set

public static final void set(org.snmp4j.smi.AssignableFromByteArray variable,
                             java.lang.Byte[] value)

set

public static final void set(org.snmp4j.smi.AssignableFromByteArray variable,
                             byte[] value)

toInteger

public static final java.lang.Object toInteger(org.snmp4j.smi.AssignableFromInteger variable)

toBoolean

public static final java.lang.Object toBoolean(org.snmp4j.smi.AssignableFromInteger variable)

toLong

public static final java.lang.Object toLong(org.snmp4j.smi.AssignableFromLong variable)

toString

public static final java.lang.Object toString(org.snmp4j.smi.AssignableFromString variable)

toByteArray

public static final java.lang.Object toByteArray(org.snmp4j.smi.AssignableFromByteArray variable)

toString

public static final java.lang.Object toString(org.snmp4j.smi.OID variable)

toIntegerArray

public static final java.lang.Object toIntegerArray(org.snmp4j.smi.OID variable)

setValue

public int setValue(java.lang.Object object)

getValue

public java.lang.Object getValue(java.lang.Class returnType)

getVariable

public org.snmp4j.smi.Variable getVariable()

Copyright 2006-2007 Frank Fock (SNMP4J.org)