com.adventnet.snmp.mibs
Class ObjectGroup

java.lang.Object
  |
  +--com.adventnet.snmp.mibs.ObjectGroup
All Implemented Interfaces:
java.io.Serializable

public class ObjectGroup
extends java.lang.Object
implements java.io.Serializable

This class represents a OBJECT-GROUP macro in a module. It is derived from parsing a MIB module.

See Also:
Serialized Form

Method Summary
 java.lang.String getDescription()
          Gets the DESCRIPTION string for this OBJECT-GROUP macro.
 java.lang.String getName()
          Returns the name of this ObjectGroup object.
 java.lang.String getNumberedOIDString()
          Returns the numbered oid String of this ObjectGroup.
 java.util.Vector getObjects()
          Gets the OBJECT clause names in OBJECT-GROUP macro.
 java.lang.String getOIDString()
          Returns the named oid String of this ObjectGroup.
 java.lang.String getReference()
          Gets the REFERENCE string for this OBJECT-GROUP macro.
 java.lang.String getStatus()
          Gets the STATUS field value for this OBJECT-GROUP macro.
 java.lang.String toString()
          Gives the name of this ObjectGroup object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Returns the name of this ObjectGroup object.

getObjects

public java.util.Vector getObjects()
Gets the OBJECT clause names in OBJECT-GROUP macro.
Returns:
Vector containing the String objects.

getStatus

public java.lang.String getStatus()
Gets the STATUS field value for this OBJECT-GROUP macro.

getDescription

public java.lang.String getDescription()
Gets the DESCRIPTION string for this OBJECT-GROUP macro.

getReference

public java.lang.String getReference()
Gets the REFERENCE string for this OBJECT-GROUP macro.
Returns:
the REFERENCE value, if present.
empty string, if not found.

toString

public java.lang.String toString()
Gives the name of this ObjectGroup object. Same as the getName() method
Overrides:
toString in class java.lang.Object
See Also:
getName()

getOIDString

public java.lang.String getOIDString()
Returns the named oid String of this ObjectGroup.

getNumberedOIDString

public java.lang.String getNumberedOIDString()
Returns the numbered oid String of this ObjectGroup.


Copyright (c)AdventNet Inc., 1996-2004