com.adventnet.snmp.mibs
Class JdbcNotificationType

java.lang.Object
  |
  +--com.adventnet.snmp.mibs.NotificationType
        |
        +--com.adventnet.snmp.mibs.JdbcNotificationType

class JdbcNotificationType
extends NotificationType

See Also:
Serialized Form

Field Summary
(package private)  java.lang.String description
           
(package private)  JdbcMibOperations jMibOps
           
(package private)  java.lang.String moduleName
           
(package private)  java.lang.String name
           
(package private)  java.lang.String objects
           
(package private)  java.lang.String oid
           
(package private)  java.lang.String oidStr
           
(package private)  java.lang.String queryString
           
(package private)  java.lang.String reference
           
(package private)  java.sql.ResultSet rs
           
(package private)  java.lang.String status
           
(package private)  java.lang.String tableName
           
 
Fields inherited from class com.adventnet.snmp.mibs.NotificationType
description, name, numOid, objects, OIDString, reference, status
 
Constructor Summary
JdbcNotificationType()
           
JdbcNotificationType(java.lang.String ModuleName, java.lang.String Name, java.lang.String OID, java.lang.String oidString, JdbcMibOperations jdbcMibOps)
           
 
Method Summary
 java.lang.String getDescription()
          Gets the DESCRIPTION string for this NotificationType object.
 java.lang.String getModuleName()
           
 java.lang.String getName()
          Gets the name of this NotificationType object.
 java.lang.String getNumberedOIDString()
          Gets the numbered oid String of this NotificationType.
 java.lang.String getObjectNames()
           
 java.util.Vector getObjects()
          Gets the OBJECT clause names in this NOTIFICATION-TYPE macro.
 java.lang.String getOIDString()
          Gets 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 value of 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
 

Field Detail

moduleName

java.lang.String moduleName

name

java.lang.String name

status

java.lang.String status

description

java.lang.String description

reference

java.lang.String reference

oid

java.lang.String oid

objects

java.lang.String objects

oidStr

java.lang.String oidStr

tableName

java.lang.String tableName

queryString

java.lang.String queryString

rs

java.sql.ResultSet rs

jMibOps

JdbcMibOperations jMibOps
Constructor Detail

JdbcNotificationType

public JdbcNotificationType()

JdbcNotificationType

public JdbcNotificationType(java.lang.String ModuleName,
                            java.lang.String Name,
                            java.lang.String OID,
                            java.lang.String oidString,
                            JdbcMibOperations jdbcMibOps)
Method Detail

getModuleName

public java.lang.String getModuleName()

getName

public java.lang.String getName()
Description copied from class: NotificationType
Gets the name of this NotificationType object. Same as the method toString()
Overrides:
getName in class NotificationType
Tags copied from class: NotificationType
Returns:
the name of the NOTIFICATION-TYPE macro
See Also:
NotificationType.toString()

getStatus

public java.lang.String getStatus()
Description copied from class: NotificationType
Gets the STATUS value of this NotificationType object.

The status of the objects defined in the OBJECTS clause must conform with the status of the event definition.

i.e. if the status value of the event definition is "current", then all the objects in the OBJECTS clause should have a status value of "current". If the status value of the event definition is "deprecated", then the objects can have a status value of "deprecated" or "current". If the status value of event definition is "obsolete", then the objects can have a status value of "current", "deprecated" or "obsolete".

Overrides:
getStatus in class NotificationType
Tags copied from class: NotificationType
Returns:
the value of the STATUS clause for this NOTIFICATION-TYPE object

getDescription

public java.lang.String getDescription()
Description copied from class: NotificationType
Gets the DESCRIPTION string for this NotificationType object.
Overrides:
getDescription in class NotificationType
Tags copied from class: NotificationType
Returns:
the value of the DESCRIPTION clause for this NOTIFICATION-TYPE macro.

getReference

public java.lang.String getReference()
Description copied from class: NotificationType
Gets the REFERENCE string for this NotificationType object.
Overrides:
getReference in class NotificationType
Tags copied from class: NotificationType
Returns:
the REFERENCE value, if the REFERENCE clause is present.
null, otherwise.

getObjectNames

public java.lang.String getObjectNames()

getObjects

public java.util.Vector getObjects()
Description copied from class: NotificationType
Gets the OBJECT clause names in this NOTIFICATION-TYPE macro. The OBJECTS clause is an optional field. This clause is used to specify one or more scalar or columnar objects. The values of these objects describe the notification
Overrides:
getObjects in class NotificationType
Tags copied from class: NotificationType
Returns:
Vector containing the String objects.
empty vector, if there is no objects.

toString

public java.lang.String toString()
Description copied from class: NotificationType
Gives the name of this NotificationType object. Same as the getName() method
Overrides:
toString in class NotificationType
Tags copied from class: NotificationType
See Also:
NotificationType.getName()

getOIDString

public java.lang.String getOIDString()
Description copied from class: NotificationType
Gets the named oid String of this NotificationType.
Overrides:
getOIDString in class NotificationType
Tags copied from class: NotificationType
Returns:
the named oid String of this NotificationType object.

getNumberedOIDString

public java.lang.String getNumberedOIDString()
Description copied from class: NotificationType
Gets the numbered oid String of this NotificationType.
Overrides:
getNumberedOIDString in class NotificationType
Tags copied from class: NotificationType
Returns:
the numbered oid String of this NotificationType object.