com.adventnet.snmp.mibs
Class ModuleIdentity

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

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

This class represents a MODULE-IDENTITY macro in a module.

See Also:
Serialized Form

Method Summary
 java.lang.String getContactInfo()
          Returns the value of CONTACT-INFO clause in this MODULE-IDENTITY macro
 java.lang.String getDescription()
          Gets the description for this MODULE-IDENTITY macro.
 java.lang.String getLastUpdated()
          Returns the value of the LAST-UPDATED clause in this MODULE-IDENTITY macro.
 java.lang.String getName()
          Returns the name of this ModuleIdentity object.
 java.lang.String getNumberedOIDString()
          Returns the numbered oid String of this ModuleIdentity.
 java.lang.String getOIDString()
          Returns the named oid String of this ModuleIdentity.
 java.lang.String getOrganization()
          Returns the value of the ORGANIZATION clause in this MODULE-IDENTITY macro.
 java.lang.String getRevisionDescription(java.lang.String revision)
          Gives the description for the gievn revision.
 java.util.Vector getRevisions()
          Gets the value of REVISION clause in this MODULE-IDENTITY macro
 java.lang.String toString()
          Gives the name of this ModuleIdentity 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 ModuleIdentity object.

getRevisions

public java.util.Vector getRevisions()
Gets the value of REVISION clause in this MODULE-IDENTITY macro

getRevisionDescription

public java.lang.String getRevisionDescription(java.lang.String revision)
Gives the description for the gievn revision.
Returns:
the revision description string for the given revision. null if an invalid revision is given.
The elements will be null, if setReadDesc(boolean) is set to false.

getLastUpdated

public java.lang.String getLastUpdated()
Returns the value of the LAST-UPDATED clause in this MODULE-IDENTITY macro.

getOrganization

public java.lang.String getOrganization()
Returns the value of the ORGANIZATION clause in this MODULE-IDENTITY macro.

getContactInfo

public java.lang.String getContactInfo()
Returns the value of CONTACT-INFO clause in this MODULE-IDENTITY macro

getDescription

public java.lang.String getDescription()
Gets the description for this MODULE-IDENTITY macro.

toString

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

getNumberedOIDString

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


Copyright (c)AdventNet Inc., 1996-2004