com.adventnet.snmp.mibs
Class JdbcModuleIdentity

java.lang.Object
  extended by com.adventnet.snmp.mibs.ModuleIdentity
      extended by com.adventnet.snmp.mibs.JdbcModuleIdentity
All Implemented Interfaces:
java.io.Serializable

 class JdbcModuleIdentity
extends ModuleIdentity
implements java.io.Serializable


Field Summary
(package private)  java.lang.String contactInfo
           
(package private)  java.lang.String description
           
(package private)  JdbcMibOperations jMibOps
           
(package private)  java.lang.String lastUpdated
           
(package private)  java.lang.String moduleName
           
(package private)  java.lang.String name
           
(package private)  java.lang.String numOid
           
(package private)  java.lang.String oidStr
           
(package private)  java.lang.String organization
           
(package private)  java.lang.String queryString
           
(package private)  java.util.Hashtable revItems
           
(package private)  java.sql.ResultSet rs
           
(package private)  java.lang.String tableName
           
 
Fields inherited from class com.adventnet.snmp.mibs.ModuleIdentity
contactinfo, lastupdated, OIDString, revisionDescriptions, revisions
 
Constructor Summary
JdbcModuleIdentity(java.lang.String modulename, java.lang.String Name, JdbcMibOperations jdbcMibOps, java.lang.String oid, java.lang.String oidString)
           
 
Method Summary
 java.lang.String getContactInfo()
          Gets 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()
          Gets the value of the LAST-UPDATED clause in this MODULE-IDENTITY macro.
 java.lang.String getName()
          Gets the name of this ModuleIdentity object.
 java.lang.String getNumberedOIDString()
          Gets the numbered oid String of this ModuleIdentity.
 java.lang.String getOIDString()
          Gets the named oid String of this ModuleIdentity.
 java.lang.String getOrganization()
          Gets the value of the ORGANIZATION clause in this MODULE-IDENTITY macro.
 java.lang.String getRevisionDescription(java.lang.String revision)
          Gives the description for the given revision.
 java.util.Hashtable getRevisionItems()
           
 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
 

Field Detail

moduleName

java.lang.String moduleName

name

java.lang.String name

lastUpdated

java.lang.String lastUpdated

organization

java.lang.String organization

contactInfo

java.lang.String contactInfo

description

java.lang.String description

oidStr

java.lang.String oidStr

numOid

java.lang.String numOid

rs

java.sql.ResultSet rs

revItems

java.util.Hashtable revItems

queryString

java.lang.String queryString

tableName

java.lang.String tableName

jMibOps

JdbcMibOperations jMibOps
Constructor Detail

JdbcModuleIdentity

public JdbcModuleIdentity(java.lang.String modulename,
                          java.lang.String Name,
                          JdbcMibOperations jdbcMibOps,
                          java.lang.String oid,
                          java.lang.String oidString)
Method Detail

getName

public java.lang.String getName()
Description copied from class: ModuleIdentity
Gets the name of this ModuleIdentity object. Same as the method toString()

Overrides:
getName in class ModuleIdentity
Returns:
the name of this MODULE-IDENTITY macro.

getLastUpdated

public java.lang.String getLastUpdated()
Description copied from class: ModuleIdentity
Gets the value of the LAST-UPDATED clause in this MODULE-IDENTITY macro.

The LAST-UPDATED clause specifies the date and time at which the MIB was created or modified last. If the REVISIONS/DESCRIPTION clause is present then the value of the LAST-UPDATED clause must be same as the value of the first REVISIONS clause.

Overrides:
getLastUpdated in class ModuleIdentity
Returns:
the value of the LAST-UPDATED clause as a String.

getOrganization

public java.lang.String getOrganization()
Description copied from class: ModuleIdentity
Gets the value of the ORGANIZATION clause in this MODULE-IDENTITY macro.

The ORGANIZATION clause is used to specify the organization which has the command over the MIB module definitions.

Overrides:
getOrganization in class ModuleIdentity
Returns:
the value of the ORGANIZATION clause as a String.

getContactInfo

public java.lang.String getContactInfo()
Description copied from class: ModuleIdentity
Gets the value of CONTACT-INFO clause in this MODULE-IDENTITY macro

The CONTACT-INFO clause is used to specify the contact points for the technical information regarding this MIB module definitions.

Overrides:
getContactInfo in class ModuleIdentity
Returns:
the value of the CONTACT-INFO clause as a String.

getDescription

public java.lang.String getDescription()
Description copied from class: ModuleIdentity
Gets the description for this MODULE-IDENTITY macro.

The DESCRIPTION clause is used to describe this MIB module. The abbrevations, defined terms used throughout the MIB can be explained in detail in the DESCRIPTION clause.

Overrides:
getDescription in class ModuleIdentity
Returns:
the value of the DESCRIPTION clause as a String.

getRevisionItems

public java.util.Hashtable getRevisionItems()

toString

public java.lang.String toString()
Description copied from class: ModuleIdentity
Gives the name of this ModuleIdentity object. Same as getName() method.

Overrides:
toString in class ModuleIdentity
See Also:
ModuleIdentity.getName()

getRevisions

public java.util.Vector getRevisions()
Description copied from class: ModuleIdentity
Gets the value of REVISION clause in this MODULE-IDENTITY macro.

The REVISIONS clause appear along with the DESCRIPTION clause. They are used to specify the date and time of the creation and each revision of the MIB module.

These clauses are optional and if present, should be defined in the reverse chronological order. i.e. the latest revision should appear first.

NOTE : The elements will be null, if setReadDesc(boolean) is set to false.

Overrides:
getRevisions in class ModuleIdentity
Returns:
Vector of the revisions, if present
else return empty Vector.

getRevisionDescription

public java.lang.String getRevisionDescription(java.lang.String revision)
Description copied from class: ModuleIdentity
Gives the description for the given revision.

The DESCRIPTION clause which occur along with the REVISION clause is used to describe the creation and revision of the MIB.

NOTE : The elements will be null, if setReadDesc(boolean) is set to false.

Overrides:
getRevisionDescription in class ModuleIdentity
Returns:
the revision description string for the given revision. null if an invalid revision is given.

getOIDString

public java.lang.String getOIDString()
Description copied from class: ModuleIdentity
Gets the named oid String of this ModuleIdentity.

Overrides:
getOIDString in class ModuleIdentity
Returns:
the named oid String

getNumberedOIDString

public java.lang.String getNumberedOIDString()
Description copied from class: ModuleIdentity
Gets the numbered oid String of this ModuleIdentity.

Overrides:
getNumberedOIDString in class ModuleIdentity
Returns:
the numbered oid String