Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.management.snmp
Class SnmpOidRecord

    java.lang.Object
      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:

- "C" for `Counter32`
- "C64" for `Counter64`
- "EN" for `Table Entry`
- "G" for `Gauge32`
- "I" for `Integer32`
- "ID" for `OBJECT-IDENTITY`
- "IP" for `IpAddress`
- "NT" for `NOTIFICATION-TYPE`
- "NTG" for `NOTIFICATION-GROUP`
- "NU" for `Null`
- "O" for `Opaque`
- "OBG" for `OBJECT-GROUP`
- "OI" for `Object Identifier`
- "S" for `String`
- "T" for `TimeTicks`
- "TA" for `Table`
- "U" for `Unsigned32`

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| FCS Release jdmk-5_1-b34.2 2005.11.29_16:24:00_MET
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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