com.sun.management.snmp
Class SnmpOidRecord

java.lang.Object
  extended by com.sun.management.snmp.SnmpOidRecord

public class SnmpOidRecord
extends Object

Represents an entry of an SnmpOidTable. It contains the name of the MIB variable, the corresponding OID and its type. The type is represented using one of the following:

Since:
Java DMK 5.1
See Also:
SnmpOidTable

Constructor Summary
SnmpOidRecord(String name, String oid, String type)
          Creates an SnmpOidRecord with the specified MIB variable name, OID and type.
 
Method Summary
 String getName()
          Gets the logical name of the MIB variable.
 String getOid()
          Gets the OID of the MIB variable.
 String getType()
          Gets the type of the MIB variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmpOidRecord

public SnmpOidRecord(String name,
                     String oid,
                     String type)
Creates an SnmpOidRecord with the specified MIB variable name, OID and type.

Parameters:
name - The logical name of the MIB variable.
oid - The OID of the MIB variable.
type - The type of the MIB variable.
Method Detail

getName

public String getName()
Gets the logical name of the MIB variable.

Returns:
The MIB variable name.

getOid

public String getOid()
Gets the OID of the MIB variable.

Returns:
The MIB variable OID.

getType

public String getType()
Gets the type of the MIB variable.

Returns:
The MIB variable type.

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.