com.adventnet.snmp.mibs
Class JdbcACVariation

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

 class JdbcACVariation
extends ACVariation
implements java.io.Serializable


Field Summary
(package private)  java.lang.String acmName
           
(package private)  JdbcMibOperations jMibOps
           
(package private)  java.lang.String moduleName
           
(package private)  java.lang.String name
           
(package private)  java.lang.String queryString
           
(package private)  java.sql.ResultSet rs
           
(package private)  java.lang.String tableName
           
 
Fields inherited from class com.adventnet.snmp.mibs.ACVariation
access, creationObjects, defVal, description, syntax, writeSyntax
 
Constructor Summary
JdbcACVariation()
           
JdbcACVariation(java.lang.String modulename, java.lang.String ACMName, java.lang.String Name, JdbcMibOperations jdbcMibOps)
           
 
Method Summary
 int getAccess()
          Gets the implemented ACCESS value for this Variation.
 java.util.Vector getCreationObjects()
          Returns the value of CREATION-REQUIRES field for this Variation.
 java.lang.String getDefVal()
          Returns the default value for this Variation.
 java.lang.String getDescription()
          Gets the DESCRIPTION string for this Variation.
 java.lang.String getName()
          Gets the name of the variation.
 LeafSyntax getSyntax()
          Returns the SYNTAX value of this Variation.
 LeafSyntax getWriteSyntax()
          Returns the WRITE-SYNTAX value of this Variation.
(package private)  java.lang.String printAccess()
           
 
Methods inherited from class com.adventnet.snmp.mibs.ACVariation
readElements, readElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

moduleName

java.lang.String moduleName

name

java.lang.String name

acmName

java.lang.String acmName

queryString

java.lang.String queryString

tableName

java.lang.String tableName

rs

java.sql.ResultSet rs

jMibOps

JdbcMibOperations jMibOps
Constructor Detail

JdbcACVariation

JdbcACVariation()

JdbcACVariation

JdbcACVariation(java.lang.String modulename,
                java.lang.String ACMName,
                java.lang.String Name,
                JdbcMibOperations jdbcMibOps)
Method Detail

getName

public java.lang.String getName()
Description copied from class: ACVariation
Gets the name of the variation. The VRAITAION clause is used for specifying the change or behaviour of an event or an object or to specify an non implemented event or a non implemented object.

Overrides:
getName in class ACVariation
Returns:
the value of VARIATION clause.

getSyntax

public LeafSyntax getSyntax()
Description copied from class: ACVariation
Returns the SYNTAX value of this Variation.

Overrides:
getSyntax in class ACVariation
Returns:
the value of SYNTAX clause as LeafSyntax object, if present
else, returns null.

getWriteSyntax

public LeafSyntax getWriteSyntax()
Description copied from class: ACVariation
Returns the WRITE-SYNTAX value of this Variation.

Overrides:
getWriteSyntax in class ACVariation
Returns:
the value of WRITE-SYNTAX clause as LeafSyntax object, if present
else, returns null.

getAccess

public int getAccess()
Description copied from class: ACVariation
Gets the implemented ACCESS value for this Variation.

Overrides:
getAccess in class ACVariation
Returns:
int - the value of the ACCESS clause, if present
else return -1.

getCreationObjects

public java.util.Vector getCreationObjects()
Description copied from class: ACVariation
Returns the value of CREATION-REQUIRES field for this Variation.

Overrides:
getCreationObjects in class ACVariation
Returns:
the Vector - the elements of the Vector are the values specified in the CREATION-REQUIRES clause, if present.
else empty Vector.

getDefVal

public java.lang.String getDefVal()
Description copied from class: ACVariation
Returns the default value for this Variation.

Overrides:
getDefVal in class ACVariation
Returns:
String - the value of the DEFVAL clause. if present.
else empty String.

getDescription

public java.lang.String getDescription()
Description copied from class: ACVariation
Gets the DESCRIPTION string for this Variation.

Overrides:
getDescription in class ACVariation
Returns:
String - the value of the DESCRIPTION clause

printAccess

java.lang.String printAccess()