com.adventnet.snmp.mibs
Class JdbcMibModule

java.lang.Object
  |
  +--com.adventnet.snmp.mibs.MibModule
        |
        +--com.adventnet.snmp.mibs.JdbcMibModule

class JdbcMibModule
extends MibModule
implements com.adventnet.snmp.mibs.mibparser.MIBConstants, java.io.Serializable

See Also:
Serialized Form

Inner classes inherited from class com.adventnet.snmp.mibs.MibModule
MibModule.ImportOid, MibModule.ImportsClass
 
Field Summary
(package private)  JdbcMibOperations jMibOps
           
(package private)  java.lang.String moduleName
           
(package private)  java.lang.String queryString
           
(package private)  java.sql.ResultSet rs
           
(package private)  java.sql.ResultSet rs1
           
(package private)  java.lang.String tableName
           
 
Fields inherited from class com.adventnet.snmp.mibs.MibModule
agentCapabilitiesNode, agentCapVect, augList, descInp, filename, importedModules, imports, importsString, importsVector, impVect, inp, isVersion2Mib, mibModules, mibOps, modComList, moduleCompliance, moduleComps, moduleIdentity, moduleIdentityList, name, nodeList, nonDefnStdTCs, notificationGroupList, notificationList, notificationTypeList, objectGroupList, oidVector, preModuleComments, root, rootNodes, seqList, stc, tcList, trapList, unResolvedNodes, unResolvedTCList, vectorOID
 
Fields inherited from interface com.adventnet.snmp.mibs.mibparser.MIBConstants
ACCESS_ACCESSIBLE_FOR_NOTIFY, ACCESS_NOT_ACCESSIBLE, ACCESS_NOT_IMPLEMENTED, ACCESS_READ_CREATE, ACCESS_READ_ONLY, ACCESS_READ_WRITE, ACCESS_WRITE_ONLY, accessStr, AGENT_CAPABILITIES, alphaStr, BITSTRING, COUNTER, COUNTER32, COUNTER64, GAUGE, GAUGE32, INTEGER, INTEGER32, IPADDRESS, macroStr, MODULE_COMPLIANCE, MODULE_IDENTITY, NETWORKADDRESS, NOTIFICATION_GROUP, NOTIFICATION_TYPE, NULL, numericStr, OBJECT_GROUP, OBJECT_IDENTIFIER, OBJECT_IDENTITY, OBJECT_TYPE, OCTETSTRING, OPAQUE, SEQUENCE, STATUS_CURRENT, STATUS_DEPRECATED, STATUS_MANDATORY, STATUS_OBSOLETE, STATUS_OPTIONAL, statusStr, TEXTUAL_CONVENTION, TIMETICKS, TRAP_TYPE, UNSIGNED32
 
Constructor Summary
(package private) JdbcMibModule()
           
(package private) JdbcMibModule(java.lang.String name, JdbcMibOperations jdbcMibOps)
           
 
Method Summary
 MibNode getAgentCapabilities()
          Gets the node corresponding to AgentCapabilities for this module.
 AgentCapabilities getAgentCapabilities(java.lang.String acName)
          Returns the AgentCapabilities object present in this module.
 java.util.Enumeration getDefinedAgentCapabilities()
          Returns the Enumeration of AgentCapabilities present in this module.
 java.util.Enumeration getDefinedModuleCompliances()
          Returns the ModuleCompliances present in this module.
 java.util.Enumeration getDefinedNodes()
          Gets all the nodes defined in this module using this method.
 java.util.Enumeration getDefinedNotificationGroups()
          Gets all the NotificationGroup objects defined in this module.
 java.util.Enumeration getDefinedNotifications()
          Gets all the NOTIFICATION-TYPE objects defined in this module.
 java.util.Enumeration getDefinedNotificationTypes()
          Gets all the NotificationType objects defined in this module.
 java.util.Enumeration getDefinedObjectGroups()
          Gets all the ObjectGroup objects defined in this module.
 java.util.Enumeration getDefinedTCs()
          Gets all the TEXTUAL-CONVENTIONS defined in this module.
 java.util.Enumeration getDefinedTraps()
          Gets all the TRAP-TYPE objects defined in this MIB module.
 java.lang.String getFilename()
           
 java.lang.String getFileName()
          Gets the filename of this module.
 java.lang.String getImportedModules()
          Gets the names of the modules imported by this module.
 java.util.Hashtable getImports()
          Gets the imported elements in the MIB.
(package private)  java.lang.String getImportsString()
           
(package private)  java.lang.String getinstance(java.lang.String s)
           
(package private)  java.lang.String getInstance(java.lang.String s, java.lang.String oidList)
           
 LeafSyntax getLeafSyntax(SnmpOID oid)
          Gets the syntax of the node corresponding to this oid.
 ModuleIdentity getMibModuleIdentity()
          Gets the ModuleIdentity object for the given name.
 MibNode getMibNode(int[] oid)
          Gets the MibNode corresponding to the int array of OID.
 MibNode getMibNode(SnmpOID oid)
          Gets the MibNode corresponding to the SnmpOID argument
(package private)  MibNode getMibNode(SnmpOID oid, boolean flag)
           
(package private)  MibNode getMibnode(java.lang.String oid)
           
 MibNode getMibNode(java.lang.String oid)
          Gets the MibNode corresponding to the String OID argument.
 MibNode getMibNode(java.util.Vector oid)
          Gets the MibNode per the Vector of Strings OID argument.
 MibNode getMibNodeByName(java.lang.String nodeLabel)
          Gives the MibNode corresponding to the specified nodeLabel
 MibNode getMibNotification(java.lang.String name)
          Gets the NOTIFICATION-TYPE object corresponding to the given name.
 MibTC getMibTC(java.lang.String name)
          Gets the TEXTUAL-CONVENTION corresponding to the given name.
 MibTrap getMibTrap(java.lang.String name)
          Used to get the MibTrap object by giving the trap name.
Using the MibTrap object, the trap informations such as the enterprise, trap number etc.
 boolean getMibVersion()
          Used to know whether the loaded MIB module is an SMIv1 MIB (Structure of Management Information) or SMIv2 MIB.
 ModuleCompliance getModuleCompliance(java.lang.String mcName)
          Returns the ModuleComplience object corresponding to the given name.
 MibNode getModuleIdentity()
          Gives the MODULE-IDENTITY node defined in the MIB.
 java.lang.String getName()
          Gets the name of this MIB module.
 MibNode getNearestNode(int[] oid)
          Gets the Nearest MibNode corresponding to the int array of OID.
(package private)  MibNode getnearestnode(SnmpOID oid)
           
(package private)  java.lang.String getNodeName(java.lang.String moduleName, java.lang.String oid)
           
 NotificationGroup getNotificationGroup(java.lang.String name)
          Gets the NotificationGroup object for the given name.
 NotificationType getNotificationType(java.lang.String name)
          Gets the NotificationType object for the given name.
 ObjectGroup getObjectGroup(java.lang.String name)
          Gets the ObjectGroup object for the given name.
 MibNode getRootNode()
          Gets a reference to the root node in this MIB module.
 java.util.Vector getRootNodes()
          Returns a collection of root nodes.
(package private)  java.util.Vector getRootNodeVect(java.util.Vector vect)
           
 SnmpOID getSnmpOID(java.lang.String s)
          Creates an SnmpOID instance from the specified string and information from this Module.
(package private)  boolean isDigit(java.lang.String oid)
           
 java.lang.String toString()
          Returns the name of this MibModule.
 java.lang.String translateToNames(java.lang.String oid)
          Used for translating numbered OID String to named OID String.
 java.lang.String translateToNumbers(java.lang.String oid)
          Used for translating named OID String to numbered OID String.
 
Methods inherited from class com.adventnet.snmp.mibs.MibModule
byteToInt, debugPrint, getAccess, getAccessStr, getCurrentRoot, getModComTable, getModIdenTable, getNonDefinedStdTC, getNotiGrpTable, getNotiTypeTable, getObjGrpTable, getPreModuleComments, getStatus, getSyntaxType, isBaseNode, isResolved, performResolution, printOctets, readFile, readFromHashtables, readImportedOid, readImportedTC, readNextDesc, readSequence, readSequences, readStdTCs, readTCs, readTraps, removeChildren, removeModuleComplianceSyntax, skipToEol, update, upDateRootsChildren
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

moduleName

java.lang.String moduleName

queryString

java.lang.String queryString

tableName

java.lang.String tableName

rs

java.sql.ResultSet rs

rs1

java.sql.ResultSet rs1

jMibOps

JdbcMibOperations jMibOps
Constructor Detail

JdbcMibModule

JdbcMibModule()

JdbcMibModule

JdbcMibModule(java.lang.String name,
              JdbcMibOperations jdbcMibOps)
Method Detail

getName

public java.lang.String getName()
Description copied from class: MibModule
Gets the name of this MIB module.

The module name begins with an upper-case letter and continues with zero or more letters, digits, or hyphens, except that a hyphen can not be the last character, nor can there be two consecutive hyphens. For example, RFC1213-MIB

Overrides:
getName in class MibModule
Tags copied from class: MibModule
Returns:
String the name of the module as defined in the MIB.
See Also:
MibModule.toString()

toString

public java.lang.String toString()
Description copied from class: MibModule
Returns the name of this MibModule. This method is same as the getName() method.
Overrides:
toString in class MibModule
Tags copied from class: MibModule
See Also:
MibModule.getName()

getRootNode

public MibNode getRootNode()
Description copied from class: MibModule
Gets a reference to the root node in this MIB module.

This method will create a root node by getting the common ancestor node of all the nodes present in this module.
If a module has more than one root node this method will return null. In that case the method getRootNodes() can be used which retuns all the root nodes.

Overrides:
getRootNode in class MibModule
Tags copied from class: MibModule
Returns:
MibNode. The root node if there is a single root node.
returns null, if there are more than one root node or if the module contains only TEXUAL-CONVENTIONs and TRAP-TYPE macro types but no OBJECT-TYPE node objects.
See Also:
MibModule.getRootNodes()

getRootNodes

public java.util.Vector getRootNodes()
Description copied from class: MibModule
Returns a collection of root nodes.

In case of a module containing a single root node, both the methods getRootNode() and getRootNodes() will return the root node.
In case of module containing more than one root nodes like iso and ccitt, the getRootNode() will return null and the getRootNodes() will return a collection of root nodes.

Overrides:
getRootNodes in class MibModule
Tags copied from class: MibModule
Returns:
Vector of MibNodes representing the root set, if multiple rootnodes present in this module.
null, when a module contains only TEXUAL-CONVENTIONs and TRAP-TYPE macro types but no OBJECT-TYPE node objects.
See Also:
MibModule.getRootNode()

getDefinedTraps

public java.util.Enumeration getDefinedTraps()
Description copied from class: MibModule
Gets all the TRAP-TYPE objects defined in this MIB module.
Overrides:
getDefinedTraps in class MibModule
Tags copied from class: MibModule
Returns:
Enumeration of MibTrap objects, if present in this module
Otherwise, returns Enumeration object with zero entries.
See Also:
MibModule.getMibTrap(java.lang.String)

getMibTrap

public MibTrap getMibTrap(java.lang.String name)
Description copied from class: MibModule
Used to get the MibTrap object by giving the trap name.
Using the MibTrap object, the trap informations such as the enterprise, trap number etc. can be obtained. If you do not know the trap name, but you know other details of the trap such as enterprise, genericType and specificType of the trap, then you can use the method getMibTrap() in the class MibOperations.
Overrides:
getMibTrap in class MibModule
Tags copied from class: MibModule
Parameters:
name - the name of the trap
Returns:
MibTrap object if defined in this module, else return null.
See Also:
MibOperations.getMibTrap(com.adventnet.snmp.snmp2.SnmpOID, int, int)

getDefinedNodes

public java.util.Enumeration getDefinedNodes()
Description copied from class: MibModule
Gets all the nodes defined in this module using this method.
Overrides:
getDefinedNodes in class MibModule
Tags copied from class: MibModule
Returns:
Enumeration of MibNodes.

getFilename

public java.lang.String getFilename()
Overrides:
getFilename in class MibModule
Tags copied from class: MibModule
See Also:
MibModule.getFileName()

getFileName

public java.lang.String getFileName()
Description copied from class: MibModule
Gets the filename of this module.
Overrides:
getFileName in class MibModule
Tags copied from class: MibModule
Returns:
the name of the file in which this module is defined.

translateToNames

public java.lang.String translateToNames(java.lang.String oid)
Description copied from class: MibModule
Used for translating numbered OID String to named OID String. In case the oid not starting with a dot, it will append the standard prefix .1.3.6.1.2.1 and the return the named OID String.

for example, if the input argument is 1.3.0, then this method will return ".iso.org.dod.internet.mgmt.mib-2.system.sysUpTime.0"

Overrides:
translateToNames in class MibModule
Tags copied from class: MibModule
Parameters:
oid - numbered OID string(e.g. .1.3.6.1.2.1.1.3.0)
Returns:
the named oid String
null if the node is not found in this module

translateToNumbers

public java.lang.String translateToNumbers(java.lang.String oid)
Description copied from class: MibModule
Used for translating named OID String to numbered OID String. In case the oid not starting with a dot, it will append the standard prefix .1.3.6.1.2.1 and the return the OID String.
Overrides:
translateToNumbers in class MibModule
Tags copied from class: MibModule
Parameters:
oid - OID String( e.g. .iso.org.dod)
Returns:
the numbered oid String
null if the node is not found in this module

getMibNodeByName

public MibNode getMibNodeByName(java.lang.String nodeLabel)
Description copied from class: MibModule
Gives the MibNode corresponding to the specified nodeLabel
Overrides:
getMibNodeByName in class MibModule
Tags copied from class: MibModule
Parameters:
nodeLabel - the name of the node
Returns:
MibNode object if the node is present in the module.
null otherwise

getMibNode

public MibNode getMibNode(java.lang.String oid)
Description copied from class: MibModule
Gets the MibNode corresponding to the String OID argument. This method will accept the OID string in following formats: 1. numbered OID string. MibNode node = module.getMibNode(".1.3.6.1.2.1.1.1"); 2. named OID string. MibNode node = module.getMibNode(".iso.org.dod.internet.mgmt.mib-2.snmp.sysDescr"); MibNode node = module.getMibNode("interfaces.ifTable.ifEntry.ifType"); MibNode node = module.getMibNode("system.sysDescr"); MibNode node = module.getMibNode("system.sysDescr"); MibNode node = module.getMibNode("sysDescr"); 3. numbered oid string without standard prefix. If the oid string not startswith the dot (".") the standard_prefix .1.3.6.1.2.1 will be prepended with the given oid string. MibNode node = module.getMibNode("1.1"); 4. combination of numbered and named OID string oid format. MibNode node = module.getMibNode(".1.3.6.1.2.1.system.1"); MibNode node = module.getMibNode(".iso.3.dod.2.mgmt.1.system.1"); MibNode node = module.getMibNode("interfaces.2.1.ifType"); The oid string can be given with the instance string in case of the leaf node. The leaf node objects are scalar or columnar node. MibNode node = module.getMibNode("1.1.0"); or MibNode node = module.getMibNode("sysDescr.0");
Overrides:
getMibNode in class MibModule
Tags copied from class: MibModule
Parameters:
oid - String OID
Returns:
MibNode, if the node corresponding to the oid is present
null if the node is not present in this module or the instance present in the the non-leaf nodes.

getMibnode

MibNode getMibnode(java.lang.String oid)

getLeafSyntax

public LeafSyntax getLeafSyntax(SnmpOID oid)
Description copied from class: MibModule
Gets the syntax of the node corresponding to this oid. This does a search of the node in the module and returns the syntax for this SnmpOID instance.
Overrides:
getLeafSyntax in class MibModule
Tags copied from class: MibModule
Parameters:
oid - the SnmpOID instance of the node
Returns:
LeafSyntax object.
null if this node is not a leaf node

getMibNode

public MibNode getMibNode(SnmpOID oid)
Description copied from class: MibModule
Gets the MibNode corresponding to the SnmpOID argument
Overrides:
getMibNode in class MibModule
Tags copied from class: MibModule
Parameters:
oid - an instance of SnmpOID
Returns:
MibNode, if the node is present. null otherwise.

getMibNode

MibNode getMibNode(SnmpOID oid,
                   boolean flag)

getMibNode

public MibNode getMibNode(java.util.Vector oid)
Description copied from class: MibModule
Gets the MibNode per the Vector of Strings OID argument. For something like system.1 it will return sysDescr and if the vector contains sysDescr and nothing else, it will return the node for sysDescr This method always tries to retrieve a leaf node. If it matches a non-leaf node, then that node is returned only if the match of oid elements is exact(i.e no undefined child components, should exist in that system. If not so the system.1 will fail to return a node if loaded MIB does not contain sysDescr node But mib-2.1 will return system if the system node is available).
Overrides:
getMibNode in class MibModule
Tags copied from class: MibModule
Parameters:
oid - Vector of Strings OID
Returns:
the MibNode per the Vector of Strings OID argument
null, if the node is not found

getMibNode

public MibNode getMibNode(int[] oid)
Description copied from class: MibModule
Gets the MibNode corresponding to the int array of OID. If there are more oid numbers than the node we could find then this method returns only the leaf node
Overrides:
getMibNode in class MibModule
Tags copied from class: MibModule
Parameters:
oid - Integer array of the OID
Returns:
MibNode, if the node is present, null otherwise.

getNearestNode

public MibNode getNearestNode(int[] oid)
Description copied from class: MibModule
Gets the Nearest MibNode corresponding to the int array of OID. This method returns the nearest node even if it is not a leaf node (when there are more oid numbers than the node we could find).
Overrides:
getNearestNode in class MibModule
Tags copied from class: MibModule
Parameters:
oid - Integer array of the OID
Returns:
MibNode if the node is present, null otherwise.

getnearestnode

MibNode getnearestnode(SnmpOID oid)

getSnmpOID

public SnmpOID getSnmpOID(java.lang.String s)
Description copied from class: MibModule
Creates an SnmpOID instance from the specified string and information from this Module. It requires the first argument to be an OID of the form .N.N.N..., or N.N.N..., in which case the static Standard_Prefix in the SnmpAPI class is used. N can be a number or a name.
Overrides:
getSnmpOID in class MibModule
Tags copied from class: MibModule
Parameters:
s - String OID(e.g. .1.3.6 or .iso.org.dod)
Returns:
the SnmpOID instance if found
else return null.

getDefinedTCs

public java.util.Enumeration getDefinedTCs()
Description copied from class: MibModule
Gets all the TEXTUAL-CONVENTIONS defined in this module.
Overrides:
getDefinedTCs in class MibModule
Tags copied from class: MibModule
Returns:
Enumeration of MibTC objects, if present in this module.
Enumeration object with zero entries, if not present. These MibTC objects contain all the information about the TEXTUAL-CONVENTION.
See Also:
MibModule.getMibTC(java.lang.String)

getMibTC

public MibTC getMibTC(java.lang.String name)
Description copied from class: MibModule
Gets the TEXTUAL-CONVENTION corresponding to the given name.
Overrides:
getMibTC in class MibModule
Tags copied from class: MibModule
Parameters:
name - the label of the TEXTUAL-CONVENTION
Returns:
MibTC object corresponding to the name of the TC, if present in this module. null otherwise.

getInstance

java.lang.String getInstance(java.lang.String s,
                             java.lang.String oidList)

getNodeName

java.lang.String getNodeName(java.lang.String moduleName,
                             java.lang.String oid)

getRootNodeVect

java.util.Vector getRootNodeVect(java.util.Vector vect)

getinstance

java.lang.String getinstance(java.lang.String s)

getImports

public java.util.Hashtable getImports()
Description copied from class: MibModule
Gets the imported elements in the MIB. The Hashtable contains the key as MIB module name and the value containing the Vector of the names of the imported elements.
Overrides:
getImports in class MibModule
Tags copied from class: MibModule
Returns:
Hashtable of Imported elements.

getAgentCapabilities

public MibNode getAgentCapabilities()
Description copied from class: MibModule
Gets the node corresponding to AgentCapabilities for this module.
Overrides:
getAgentCapabilities in class MibModule
Tags copied from class: MibModule
Returns:
the AGENT-CAPABILITIES node in the MIB.
null, if not available.

getDefinedAgentCapabilities

public java.util.Enumeration getDefinedAgentCapabilities()
Description copied from class: MibModule
Returns the Enumeration of AgentCapabilities present in this module.
Overrides:
getDefinedAgentCapabilities in class MibModule
Tags copied from class: MibModule
Returns:
the Enumeration containing AgentCapabilities object.
empty Enumeration , if AgentCapabilities object not available.

getAgentCapabilities

public AgentCapabilities getAgentCapabilities(java.lang.String acName)
Description copied from class: MibModule
Returns the AgentCapabilities object present in this module.
Overrides:
getAgentCapabilities in class MibModule
Tags copied from class: MibModule
Returns:
the AgentCapabilities object if present else
returns null.

getDefinedModuleCompliances

public java.util.Enumeration getDefinedModuleCompliances()
Description copied from class: MibModule
Returns the ModuleCompliances present in this module.
Overrides:
getDefinedModuleCompliances in class MibModule
Tags copied from class: MibModule
Returns:
the Enumeration containing ModuleCompliance object.
empty Enumeration, if ModuleCompliance is not present in this Module.

getModuleCompliance

public ModuleCompliance getModuleCompliance(java.lang.String mcName)
Description copied from class: MibModule
Returns the ModuleComplience object corresponding to the given name.
Overrides:
getModuleCompliance in class MibModule
Tags copied from class: MibModule
Returns:
the ModuleCompliance object if present
else returns null.

getDefinedNotifications

public java.util.Enumeration getDefinedNotifications()
Description copied from class: MibModule
Gets all the NOTIFICATION-TYPE objects defined in this module.
Overrides:
getDefinedNotifications in class MibModule
Tags copied from class: MibModule
Returns:
Enumeration of MibNodes. These MibNode objects contain all the information about the NOTIFICATION-TYPE objects.
See Also:
MibModule.getMibNotification(java.lang.String)

getMibNotification

public MibNode getMibNotification(java.lang.String name)
Description copied from class: MibModule
Gets the NOTIFICATION-TYPE object corresponding to the given name.
Overrides:
getMibNotification in class MibModule
Tags copied from class: MibModule
Parameters:
name - label of the node whose macro-type is NOTIFICATION-TYPE
Returns:
MibNode corresponding to the name of the NOTIFICATION-TYPE, if present in this module
else return null.

getMibVersion

public boolean getMibVersion()
Description copied from class: MibModule
Used to know whether the loaded MIB module is an SMIv1 MIB (Structure of Management Information) or SMIv2 MIB.

If the MibModule contains any one of the following Macro constructs, this module will be treated as an SMIv2 MIB.

Overrides:
getMibVersion in class MibModule
Tags copied from class: MibModule
Returns:
true, if this MibModule is an SMIv2 MIB.
false, this MibModule is an SMIv1 MIB.

getModuleIdentity

public MibNode getModuleIdentity()
Description copied from class: MibModule
Gives the MODULE-IDENTITY node defined in the MIB. In an SMIv1 MIB, the MODULE-IDENTITY node will not be present.
Overrides:
getModuleIdentity in class MibModule
Tags copied from class: MibModule
Returns:
the MODULE-IDENTITY node.
null if not available.

getImportsString

java.lang.String getImportsString()

getImportedModules

public java.lang.String getImportedModules()
Description copied from class: MibModule
Gets the names of the modules imported by this module.
Overrides:
getImportedModules in class MibModule
Tags copied from class: MibModule
Returns:
space separated list of imported module names.
empty String, if there are no imported modules.
See Also:
MibModule.getImports()

getDefinedNotificationTypes

public java.util.Enumeration getDefinedNotificationTypes()
Description copied from class: MibModule
Gets all the NotificationType objects defined in this module.
Overrides:
getDefinedNotificationTypes in class MibModule
Tags copied from class: MibModule
Returns:
Enumeration of NotificationType object. These NotificationType objects contain all the information about this NOTIFICATION-TYPE macro.
See Also:
MibModule.getNotificationType(java.lang.String), MibModule.getDefinedNotifications()

getNotificationType

public NotificationType getNotificationType(java.lang.String name)
Description copied from class: MibModule
Gets the NotificationType object for the given name.
Overrides:
getNotificationType in class MibModule
Tags copied from class: MibModule
Parameters:
name - label of the node whose macro-type is NOTIFICATION-TYPE
Returns:
NotificationType object corresponding to the name, if present in this module
else return null.
See Also:
MibModule.getMibNotification(java.lang.String)

getDefinedNotificationGroups

public java.util.Enumeration getDefinedNotificationGroups()
Description copied from class: MibModule
Gets all the NotificationGroup objects defined in this module.
Overrides:
getDefinedNotificationGroups in class MibModule
Tags copied from class: MibModule
Returns:
Enumeration of NotificationGroup object. These NotificationGroup objects contain all the information about this NOTIFICATION-GROUP macro.
See Also:
MibModule.getNotificationGroup(java.lang.String)

getNotificationGroup

public NotificationGroup getNotificationGroup(java.lang.String name)
Description copied from class: MibModule
Gets the NotificationGroup object for the given name.
Overrides:
getNotificationGroup in class MibModule
Tags copied from class: MibModule
Parameters:
name - label of the node whose macro-type is NOTIFICATION-GROUP
Returns:
NotificationGroup object corresponding to the name, if present in this module
else return null.

getDefinedObjectGroups

public java.util.Enumeration getDefinedObjectGroups()
Description copied from class: MibModule
Gets all the ObjectGroup objects defined in this module.
Overrides:
getDefinedObjectGroups in class MibModule
Tags copied from class: MibModule
Returns:
Enumeration of ObjectGroup object. These ObjectGroup objects contain all the information about this OBJECT-GROUP macro.
See Also:
MibModule.getObjectGroup(java.lang.String)

getObjectGroup

public ObjectGroup getObjectGroup(java.lang.String name)
Description copied from class: MibModule
Gets the ObjectGroup object for the given name.
Overrides:
getObjectGroup in class MibModule
Tags copied from class: MibModule
Parameters:
name - label of the node whose macro-type is OBJECT-GROUP
Returns:
ObjectGroup object corresponding to the name, if present in this module
else return null.

getMibModuleIdentity

public ModuleIdentity getMibModuleIdentity()
Description copied from class: MibModule
Gets the ModuleIdentity object for the given name.
Overrides:
getMibModuleIdentity in class MibModule
Tags copied from class: MibModule
Parameters:
name - label of the node whose macro-type is MODULE-IDENTITY
Returns:
ModuleIdentity object corresponding to the name, if present in this module
else return null.

isDigit

boolean isDigit(java.lang.String oid)
Overrides:
isDigit in class MibModule