com.adventnet.snmp.mibs
Class NotificationType

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

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

This class represents a NOTIFICATION-TYPE 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 NotififcationType object.
 java.lang.String getName()
          Returns the name of this NotificationType object.
 java.lang.String getNumberedOIDString()
          Returns the numbered oid String of this NotificationType.
 java.util.Vector getObjects()
          Gets the OBJECT clause names in this NOTIFICATION-TYPE macro.
 java.lang.String getOIDString()
          Returns the named oid String of this NotificationType.
 java.lang.String getReference()
          Gets the REFERENCE string for this NotificationType object.
 java.lang.String getStatus()
          Gets the STATUS field value for this NotificationType object.
 java.lang.String toString()
          Gives the name of this NotificationType 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 NotificationType object.

getObjects

public java.util.Vector getObjects()
Gets the OBJECT clause names in this NOTIFICATION-TYPE macro.
Returns:
Vector containing the String objects.
empty vector, if there is no objects.

getStatus

public java.lang.String getStatus()
Gets the STATUS field value for this NotificationType object.

getDescription

public java.lang.String getDescription()
Gets the DESCRIPTION string for this NotififcationType object.

getReference

public java.lang.String getReference()
Gets the REFERENCE string for this NotificationType object.
Returns:
the REFERENCE value, if present.
null, if not found.

toString

public java.lang.String toString()
Gives the name of this NotificationType 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 NotificationType.

getNumberedOIDString

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


Copyright (c)AdventNet Inc., 1996-2004