com.adventnet.snmp.mibs
Class JdbcMibNode
java.lang.Object
|
+--com.adventnet.snmp.mibs.MibNode
|
+--com.adventnet.snmp.mibs.JdbcMibNode
- class JdbcMibNode
- extends MibNode
- implements java.io.Serializable, MIBConstants
- See Also:
- Serialized Form
| Fields inherited from class com.adventnet.snmp.mibs.MibNode |
access,
addedForResolving,
agentCap,
augmentNode,
augmentStr,
childList,
commentObj,
contactinfo,
defOIDStr,
defval,
description,
impliedNode,
importFromModule,
indexNames,
isAugments,
isImplied,
isImported,
label,
lastupdated,
m_type,
macroType,
moduleCompliance,
moduleName,
nextNode,
node_access,
node_status,
notificationsNames,
objectNames,
objects,
oid_array,
oid_string,
organization,
parent,
productrelease,
reference,
remoteParent,
revdescription,
revisionDescriptions,
revisions,
rowName,
status,
subid,
syntax,
tableItems,
tableSequence,
units,
userObj |
| 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) |
JdbcMibNode()
|
(package private) |
JdbcMibNode(java.lang.String modulename,
java.lang.String name,
java.lang.String OID,
java.lang.String macrotype,
JdbcMibOperations jdbcMibOps)
|
|
Method Summary |
int |
getAccess()
Gets the access value for this node. |
java.util.Vector |
getAgentCapabilities()
Gets the various clauses in AGENT-CAPABILITIES as a Vector of AgentCapabilitiesModule |
(package private) MibNode |
getAugmentNode(java.lang.String moduleName,
java.lang.String nodeName,
JdbcMibOperations jMibOps)
|
MibNode |
getAugments()
Gets the augmented table entry. |
MibNode |
getChild(int subId)
Gets the child node corresponding to the particular sub-id. |
java.util.Vector |
getChildList()
Gets the child nodes. |
MibNode |
getCommonAncestorWith(MibNode node)
Gives the common ancestor node for this node and the specified node. |
java.lang.String |
getContactinfo()
Gets the value of CONTACT-INFO clause in MODULE-IDENTITY macro |
(package private) java.lang.String |
getDefOIDStr()
|
java.lang.String |
getDefval()
The defval for this node can be obtained using this method. |
java.lang.String |
getDescription()
Gets the description for this node |
java.lang.String |
getImpliedNode()
Gives the implied node name present in the INDEX list of this MIB node. |
java.lang.String |
getImportedModuleName()
Gets the name of the module from where this node is imported. |
java.util.Vector |
getIndexNames()
Gives the index names defined for this node. |
boolean |
getIsAugmented()
Used to know whether the entry node contains the AUGMENTS clause. |
java.lang.String |
getLabel()
Gets the name of this MIB Node. |
java.lang.String |
getLastupdated()
Gets the value of the LAST-UPDATED clause in MODULE-IDENTITY macro |
java.lang.String |
getMacroType()
Gets the macro-type of this node. |
java.util.Vector |
getModuleCompliance()
Gets the various clauses in MODULE-COMPLIANCE macro. |
java.lang.String |
getModuleName()
Gets the name of the module this node is defined
return the module name e.g. |
java.lang.String |
getNotificationsNames()
Gets the NOTIFICATIONS clause names in NOTIFICATION-GROUP macro |
java.lang.String |
getNumberedOIDString()
Gives the numbered OID string of the node. |
java.lang.String |
getObjectNames()
Gets the OBJECT clause names in OBJECT-GROUP and NOTIFICATION-TYPE macro |
java.util.Vector |
getObjects()
Gets the OBJECT clause names in OBJECT-GROUP and NOTIFICATION-TYPE macro. |
int[] |
getOID()
Gives the numbered OID of the node as an array of ints. |
java.util.Vector |
getOIDVector()
Gets the named OID of the node as a Vector of String. |
java.util.Vector |
getOIDVectorIds()
Gives the numbered OID of the node as a Vector of Integer objects. |
java.lang.String |
getOrganization()
Gets the value of ORGANIZATION clause in MODULE-IDENTITY macro |
MibNode |
getParent()
We can make use this method to get the parent of this node. |
java.lang.String |
getProductrelease()
Get the value of PRODUCT-RELEASE clause in AGENT-CAPABILITIES macro |
java.lang.String |
getReference()
Gets string reference for this node. |
java.lang.String |
getRevdescription()
Gets the value of DESCRIPTION field under REVISION clause in MODULE-IDENTITY macro |
java.lang.String |
getRevision()
Gets the value of REVISION clause in MODULE-IDENTITY macro |
java.util.Vector |
getRevisionDescriptions()
Gives the revision descriptions as a vector of String Elements. |
java.util.Vector |
getRevisions()
Gives the revisions as a Vector of String Elements. |
java.lang.String |
getRowName()
Gets the name of the row sequence. |
java.lang.String |
getStatus()
Gets the status value of this node. |
(package private) java.util.Vector |
getStdNode(java.util.Vector childVector)
|
int |
getSubid()
Gets the subid of this MIB Node. |
long |
getSubID()
Gives the sub-identifier of this node's object-identifier. |
LeafSyntax |
getSyntax()
Gives the syntax associated with this node. |
java.util.Vector |
getTableItems()
Will give the names of the items in the row sequence. |
java.lang.String |
getTableSequence()
Gets the name in the SEQUENCE OF "name" item |
java.lang.String |
getUnits()
Gets the value of UNITS clause in OBJECT-TYPE macro |
boolean |
isAncestorOf(JdbcMibNode node)
|
boolean |
isDescendentOf(JdbcMibNode node)
|
boolean |
isImplied()
Used to find whether the INDEX clause contains an IMPLIED keyword. |
boolean |
isImportedNode()
Used to find whether this is an imported node. |
boolean |
isInCurrentTable(java.lang.String nodeLabel)
Used to find whether the given node is a column of the current table. |
boolean |
isLeaf()
Used to know whether this is a leaf node. |
boolean |
isReadable()
Used to know whether this node is readable. |
boolean |
isScalar()
Using this method we can find whether this node is Scalar or not. |
boolean |
isTable()
Used to know whether this is a table node. |
boolean |
isTableColumn()
Used to know whether this node is a table column or not. |
boolean |
isTableEntry()
Used to find whether this node is a table entry. |
boolean |
isWriteable()
Used to know whether this node is writeable. |
java.lang.String |
printAccess()
Gives the access value as a string. |
java.lang.String |
printDescription()
Returns the Description string |
java.util.Vector |
printIndex()
The names of the index nodes can be obtained using this method. |
java.lang.String |
printReference()
Returns the Reference string |
java.lang.String |
printStatus()
Returns the status value as a string. |
void |
setDefval(java.lang.String defval)
Sets the defval as defined in the MIB. |
(package private) void |
setMibModuleName(java.lang.String ModuleName)
|
(package private) java.util.Vector |
sort(java.util.Vector childVector)
|
java.lang.String |
toString()
Gives the name of this node. |
java.lang.String |
toTagString()
Gets detailed information about the node, much like the MIB definition itself. |
| Methods inherited from class com.adventnet.snmp.mibs.MibNode |
addChild,
addChild,
addToNodeList,
cloneNode,
compare,
createSnmpVarBind,
decodeDefval,
getChild,
getCommentObject,
getExternalIndices,
getIndexes,
getIndexModuleName,
getMacroTypeInt,
getMacroTypeStr,
getNextLeafNode,
getNextNode,
getNodeAccess,
getNodeAccessStr,
getNodeStatus,
getNumberedOidString,
getOIDString,
getUserObject,
hasChildren,
isAncestorOf,
isAugments,
isDescendentOf,
isIndex,
merge,
printNodeProperties,
processIPAddressValue,
processObjectIDValue,
processStringValue,
readElements,
readElements,
setAugment,
setAugment,
setCommentObject,
setMacroTypeInt,
setParent,
setRemoteParent,
setUserObject,
updateOID,
updateOID,
updateSyntax |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
moduleName
java.lang.String moduleName
nodeName
java.lang.String nodeName
macroType
java.lang.String macroType
oid
java.lang.String oid
isImportedNode
java.lang.String isImportedNode
reference
java.lang.String reference
description
java.lang.String description
defval
java.lang.String defval
queryString
java.lang.String queryString
keyName
java.lang.String keyName
tableName
java.lang.String tableName
rs
java.sql.ResultSet rs
subID
int subID
childVector
java.util.Vector childVector
jMibOps
JdbcMibOperations jMibOps
JdbcMibNode
JdbcMibNode(java.lang.String modulename,
java.lang.String name,
java.lang.String OID,
java.lang.String macrotype,
JdbcMibOperations jdbcMibOps)
JdbcMibNode
JdbcMibNode()
isImportedNode
public boolean isImportedNode()
- Description copied from class: MibNode
- Used to find whether this is an imported node.
- Overrides:
- isImportedNode in class MibNode
- Tags copied from class: MibNode
- Returns:
- true if the node is imported from other MIB Module
false otherwise.
getSubid
public int getSubid()
- Description copied from class: MibNode
- Gets the subid of this MIB Node.
For example, the subid for the node sysName with OID .1.3.6.1.2.1.1.5 will be 5
- Overrides:
- getSubid in class MibNode
- Tags copied from class: MibNode
- Returns:
- int. The subid for this node.
- See Also:
MibNode.getSubID()
getSubID
public long getSubID()
- Description copied from class: MibNode
- Gives the sub-identifier of this node's object-identifier.
The ObjectIdentifier have the 128 sub-identifiers, each
sub-identifier can have the value ranges from 0 to 4294967295.
- Overrides:
- getSubID in class MibNode
- Tags copied from class: MibNode
- Returns:
- long. The subid of this node.
getChildList
public java.util.Vector getChildList()
- Description copied from class: MibNode
- Gets the child nodes.
for example, For the node system in RFC1213-MIB, the childList
returned by this method will be the following MibNodes -
sysDescr, sysObjectId, sysUpTime, sysContact, sysName,
sysLocation, sysServices.
- Overrides:
- getChildList in class MibNode
- Tags copied from class: MibNode
- Returns:
- Vector of child nodes
empty Vector if there is no children.
or if this is a leaf node.
getChild
public MibNode getChild(int subId)
- Description copied from class: MibNode
- Gets the child node corresponding to the particular sub-id.
The child node could be in another MIB.
For example, the subId of sysDescr will be 1.
So that getChild on system Node with 1 as input argument
will return the sysDescr node.
- Overrides:
- getChild in class MibNode
- Tags copied from class: MibNode
- Parameters:
subId - sub-oid of the child node.- Returns:
- the child node corresponding to the sub-id.
null if no node with that sub-id occurs in the child list.
toString
public java.lang.String toString()
- Description copied from class: MibNode
- Gives the name of this node. Similar to the getLabel() method.
- Overrides:
- toString in class MibNode
- Tags copied from class: MibNode
- Returns:
- String. The name of this node.
- See Also:
MibNode.getLabel()
toTagString
public java.lang.String toTagString()
- Description copied from class: MibNode
- Gets detailed information about the node, much like the MIB definition itself.
This method gives the node information such as the OIDString, syntax,
access, status, description, reference. The index nodes are also printed,
if this is a table entry.
If this a table node, then table items are also printed in addition
to the above information.
- Overrides:
- toTagString in class MibNode
- Tags copied from class: MibNode
- Returns:
- the node details
getOID
public int[] getOID()
- Description copied from class: MibNode
- Gives the numbered OID of the node as an array of ints.
For example, for the node sysDescr in the MIB
RFC1213-MIB, this method will return int array containing
the elements 1,3,6,1,2,1,1,1
- Overrides:
- getOID in class MibNode
- Tags copied from class: MibNode
- Returns:
- the int array containing the OID elements.
getNumberedOIDString
public java.lang.String getNumberedOIDString()
- Description copied from class: MibNode
- Gives the numbered OID string of the node.
For example, for the node sysDescr, in the MIB
RFC1213-MIB, this method will return ".1.3.6.1.2.1.1.1"
- Overrides:
- getNumberedOIDString in class MibNode
- Tags copied from class: MibNode
- Returns:
- numbered OID of the node as a String.
getOIDVector
public java.util.Vector getOIDVector()
- Description copied from class: MibNode
- Gets the named OID of the node as a Vector of String.
For example, for the node sysDescr, in the MIB
RFC1213-MIB, this method will return the Vector whose
elements are iso, org, dod, internet, mgmt, mib-2, system
and sysDescr.
- Overrides:
- getOIDVector in class MibNode
- Tags copied from class: MibNode
- Returns:
- Vector whose elements form the named OID of the node.
getOIDVectorIds
public java.util.Vector getOIDVectorIds()
- Description copied from class: MibNode
- Gives the numbered OID of the node as a Vector of Integer objects.
For example, for the node sysDescr, in the MIB
RFC1213-MIB, this method will return the Vector whose
elements are 1, 3, 6, 1, 2, 1, 1 and 1.
- Overrides:
- getOIDVectorIds in class MibNode
- Tags copied from class: MibNode
- Returns:
- Vector whose elements form the numbered OID of the node.
printIndex
public java.util.Vector printIndex()
- Description copied from class: MibNode
- The names of the index nodes can be obtained using this method.
This method is same as getIndexNames().
NOTE : This method is supposed to be invoked on a table entry.
- Overrides:
- printIndex in class MibNode
- Tags copied from class: MibNode
- Returns:
- Vector of the Index Names.
null if the node is not
a table entry or if the table entry does not have the
INDEX clause. - See Also:
MibNode.getIndexNames(),
MibNode.getIndexes(com.adventnet.snmp.mibs.MibOperations)
isImplied
public boolean isImplied()
- Description copied from class: MibNode
- Used to find whether the INDEX clause contains an IMPLIED keyword.
The IMPLIED keyword can only be present for a node having a
variable-length syntax i.e. OCTET STRING with variable length
or OBJECT IDENTIFIER. Also the IMPLIED keyword can be associated
only with the last object in the INDEX clause.
NOTE : This method is supposed to be invoked on a table entry.
- Overrides:
- isImplied in class MibNode
- Tags copied from class: MibNode
- Returns:
- true if the IMPLIED keyword is present in the INDEX clause.
false, if the IMPLIED keyword is absent in the INDEX clause or if
the node is other than a table entry.
isTableColumn
public boolean isTableColumn()
- Description copied from class: MibNode
- Used to know whether this node is a table column or not.
- Overrides:
- isTableColumn in class MibNode
- Tags copied from class: MibNode
- Returns:
- true if this node is a table column
false otherwise.
isInCurrentTable
public boolean isInCurrentTable(java.lang.String nodeLabel)
- Description copied from class: MibNode
- Used to find whether the given node is a column of the current table.
- Overrides:
- isInCurrentTable in class MibNode
- Tags copied from class: MibNode
- Parameters:
nodeLabel - the name of the node which is to be checked whether it is in this table.- Returns:
- true if the node is a column of the current table.
false otherwise.
isReadable
public boolean isReadable()
- Description copied from class: MibNode
- Used to know whether this node is readable.
A node is considered readable if the ACCESS clause specifies the access to read-only, read-write or read-create.
- Overrides:
- isReadable in class MibNode
- Tags copied from class: MibNode
- Returns:
- true if the node is readable.
false if not readable or if the node is not a leaf node. - See Also:
MibNode.isWriteable(),
MibNode.isLeaf()
isWriteable
public boolean isWriteable()
- Description copied from class: MibNode
- Used to know whether this node is writeable.
A mib variable is writeable if the access specifies it to read-write,write-only or read-create type.
A writeable access in the MIB does not ensure that a Set will succeed on this variable.
Factors contributing to failure could be agent
implementation dependent(certain device capabilities) or
access control on agent ( which could e.g., be community based )
- Overrides:
- isWriteable in class MibNode
- Tags copied from class: MibNode
- Returns:
- true if this node is writeable.
false if not writable or if the node is not a leaf node. - See Also:
MibNode.isReadable(),
MibNode.isLeaf()
isScalar
public boolean isScalar()
- Description copied from class: MibNode
- Using this method we can find whether this node is Scalar or not.
- Overrides:
- isScalar in class MibNode
- Tags copied from class: MibNode
- Returns:
- true if the node is a Scalar variable.
false otherwise. - See Also:
MibNode.isLeaf()
isTable
public boolean isTable()
- Description copied from class: MibNode
- Used to know whether this is a table node.
A table is defined in terms of a SEQUENCE of MibNodes
forming the table. In case a table AUGMENTS another table
the children of the table getting augmented will not be
part of the tableItems of this node.
A table node will usually have only one child node corresponding
to the tableEntry node. A tableEntry node will contain
information pertaining to the INDEX columns for the table
or the reference to the Augmented tableEntry from which the
index for this table can be derived.
- Overrides:
- isTable in class MibNode
- Tags copied from class: MibNode
- Returns:
- true if this node is the root of a table.
false otherwise. - See Also:
MibNode.isTableEntry()
isTableEntry
public boolean isTableEntry()
- Description copied from class: MibNode
- Used to find whether this node is a table entry.
A table entry is identified by the fact that there is an INDEX
component defined for it or an AUGMENTS clause defined in it.
- Overrides:
- isTableEntry in class MibNode
- Tags copied from class: MibNode
- Returns:
- true if this node is a table entry e.g. ifEntry
false otherwise and also in case of table e.g ifTable. - See Also:
MibNode.isTable()
isLeaf
public boolean isLeaf()
- Description copied from class: MibNode
- Used to know whether this is a leaf node. A leaf node is either a scalar object
or a columnar object and always associated with a syntax.
- Overrides:
- isLeaf in class MibNode
- Tags copied from class: MibNode
- Returns:
- true if this node is leaf.
false otherwise.
- See Also:
MibNode.isScalar()
getRevisions
public java.util.Vector getRevisions()
- Description copied from class: MibNode
- Gives the revisions as a Vector of String Elements.
- Overrides:
- getRevisions in class MibNode
- Tags copied from class: MibNode
- Returns:
- the revision strings in a Vector.
The elements will be null,if setReadDesc(boolean) is set to false.
The size of the Vector denotes the number of revisions. Applicable to module-identity.
getRevisionDescriptions
public java.util.Vector getRevisionDescriptions()
- Description copied from class: MibNode
- Gives the revision descriptions as a vector of String Elements.
- Overrides:
- getRevisionDescriptions in class MibNode
- Tags copied from class: MibNode
- Returns:
- the revision descriptions string in a Vector.
The elements will be null, if setReadDesc(boolean) is set to false.
The size of the Vector denotes the number of revisions. Applicable to module-identity.
getObjects
public java.util.Vector getObjects()
- Description copied from class: MibNode
- Gets the OBJECT clause names in OBJECT-GROUP and NOTIFICATION-TYPE macro.
- Overrides:
- getObjects in class MibNode
- Tags copied from class: MibNode
- Returns:
- Vector containing the String objects.
null, if the macro-type is other than OBJECT-GROUP and NOTIFICATION-TYPE.
getModuleName
public java.lang.String getModuleName()
- Description copied from class: MibNode
- Gets the name of the module this node is defined
return the module name e.g. RFC1213-MIB
- Overrides:
- getModuleName in class MibNode
getMacroType
public java.lang.String getMacroType()
- Description copied from class: MibNode
- Gets the macro-type of this node.
- Overrides:
- getMacroType in class MibNode
- Tags copied from class: MibNode
- Returns:
- String corresponding to the type. The values
are OBJECT-TYPE,OBJECT-IDENTITY,MODULE-IDENTITY etc.
getLabel
public java.lang.String getLabel()
- Description copied from class: MibNode
- Gets the name of this MIB Node.
This method is same as toString().
- Overrides:
- getLabel in class MibNode
- Tags copied from class: MibNode
- See Also:
MibNode.toString()
getParent
public MibNode getParent()
- Description copied from class: MibNode
- We can make use this method to get the parent of this node.
- Overrides:
- getParent in class MibNode
- Tags copied from class: MibNode
- See Also:
MibNode.getChild(int subId),
MibNode.getChildList()
getSyntax
public LeafSyntax getSyntax()
- Description copied from class: MibNode
- Gives the syntax associated with this node.
- Overrides:
- getSyntax in class MibNode
- Tags copied from class: MibNode
- Returns:
- LeafSyntax object, if the syntax is basic.
MibTC object, if the syntax is a TC.
getAccess
public int getAccess()
- Description copied from class: MibNode
- Gets the access value for this node.
The following are the return values, which are mapped as
not-accessible - SnmpAPI.NOACCESS
read-only - SnmpAPI.RONLY
read-write - SnmpAPI.RWRITE
write-only - SnmpAPI.WONLY
read-create - SnmpAPI.RCREATE
accessible-for-notify - SnmpAPI.ACCESSFORNOTIFY
- Overrides:
- getAccess in class MibNode
getStatus
public java.lang.String getStatus()
- Description copied from class: MibNode
- Gets the status value of this node.
- Overrides:
- getStatus in class MibNode
getDescription
public java.lang.String getDescription()
- Description copied from class: MibNode
- Gets the description for this node
- Overrides:
- getDescription in class MibNode
getReference
public java.lang.String getReference()
- Description copied from class: MibNode
- Gets string reference for this node. This clause specifies the source
of the definition e.g documents from standards organization
or a document for a proprietary system.
- Overrides:
- getReference in class MibNode
getIndexNames
public java.util.Vector getIndexNames()
- Description copied from class: MibNode
- Gives the index names defined for this node.
As per the standard, every table entry should have
either an INDEX clause or an AUGMENTS clause.
This method return the names that are defined in the
INDEX clause of table entry node.
The elements of the Vector returned by this method are String.
If you need the indexes as Vector of MibNodes, the method
getIndexes(MibOperations) can be used.
- Overrides:
- getIndexNames in class MibNode
- Tags copied from class: MibNode
- Returns:
- Vector of the index names.
null, if the node
is not a table entry or if the table entry doesnot
have the INDEX clause. - See Also:
MibNode.getIndexes(com.adventnet.snmp.mibs.MibOperations),
MibNode.printIndex()
getDefval
public java.lang.String getDefval()
- Description copied from class: MibNode
- The defval for this node can be obtained using this method.
- Overrides:
- getDefval in class MibNode
- Tags copied from class: MibNode
- Returns:
- The defval for the node if present.
empty String if there is no DEFVAL field.
setDefval
public void setDefval(java.lang.String defval)
- Description copied from class: MibNode
- Sets the defval as defined in the MIB.
The value set is not reflected in the MIB.
To check whether the value is set, the getDefval() method can be used.
- Overrides:
- setDefval in class MibNode
- Tags copied from class: MibNode
- Parameters:
defval - the value to be set.- See Also:
MibNode.getDefval()
getTableSequence
public java.lang.String getTableSequence()
- Description copied from class: MibNode
- Gets the name in the SEQUENCE OF "name" item
- Overrides:
- getTableSequence in class MibNode
- Tags copied from class: MibNode
- Returns:
- the name of the SEQUENCE.
null, if not a table node.
getTableItems
public java.util.Vector getTableItems()
- Description copied from class: MibNode
- Will give the names of the items in the row sequence.
- Overrides:
- getTableItems in class MibNode
- Tags copied from class: MibNode
- Returns:
- the columnar fields of the table as a Vector.
null, if not a table node.
getRowName
public java.lang.String getRowName()
- Description copied from class: MibNode
- Gets the name of the row sequence.
- Overrides:
- getRowName in class MibNode
- Tags copied from class: MibNode
- Returns:
- the name of the SEQUENCE.
null, if not a table entry
getIsAugmented
public boolean getIsAugmented()
- Description copied from class: MibNode
- Used to know whether the entry node contains the AUGMENTS clause.
- Overrides:
- getIsAugmented in class MibNode
- Tags copied from class: MibNode
- Returns:
- true if the AUGMENTS clause is present in the entry node.
false otherwise.
getUnits
public java.lang.String getUnits()
- Description copied from class: MibNode
- Gets the value of UNITS clause in OBJECT-TYPE macro
- Overrides:
- getUnits in class MibNode
- Tags copied from class: MibNode
- Returns:
- the value present in the UNITS clause
empty String if the UNITS clause is not present.
getLastupdated
public java.lang.String getLastupdated()
- Description copied from class: MibNode
- Gets the value of the LAST-UPDATED clause in MODULE-IDENTITY macro
- Overrides:
- getLastupdated in class MibNode
- Tags copied from class: MibNode
- Returns:
- the value of LAST-UPDATED clause
null if the macro-type is not MODULE-IDENTITY
getOrganization
public java.lang.String getOrganization()
- Description copied from class: MibNode
- Gets the value of ORGANIZATION clause in MODULE-IDENTITY macro
- Overrides:
- getOrganization in class MibNode
- Tags copied from class: MibNode
- Returns:
- the value of ORGANIZATION clause
null, if the macro-type is not MODULE-IDENTITY
getContactinfo
public java.lang.String getContactinfo()
- Description copied from class: MibNode
- Gets the value of CONTACT-INFO clause in MODULE-IDENTITY macro
- Overrides:
- getContactinfo in class MibNode
- Tags copied from class: MibNode
- Returns:
- the value of the CONTACT-INFO clause
null, if the macro-type is not MODULE-IDENTITY
getRevision
public java.lang.String getRevision()
- Description copied from class: MibNode
- Gets the value of REVISION clause in MODULE-IDENTITY macro
- Overrides:
- getRevision in class MibNode
- Tags copied from class: MibNode
- Returns:
- the value of REVISION clause
null, if the macro-type is not MODULE-IDENTITY - See Also:
MibNode.getRevisions()
getRevdescription
public java.lang.String getRevdescription()
- Description copied from class: MibNode
- Gets the value of DESCRIPTION field under REVISION clause in MODULE-IDENTITY macro
- Overrides:
- getRevdescription in class MibNode
- Tags copied from class: MibNode
- Returns:
- the DESCRIPTION value
null, if the macro-type is not MODULE-IDENTITY - See Also:
MibNode.getRevisionDescriptions()
getModuleCompliance
public java.util.Vector getModuleCompliance()
- Description copied from class: MibNode
- Gets the various clauses in MODULE-COMPLIANCE macro.
The Vector contains all the clauses in the MODULE-COMPLIANCE macro (MODULE, OBJECTS, GROUPS etc.)
- Overrides:
- getModuleCompliance in class MibNode
- Tags copied from class: MibNode
- Returns:
- Vector of MibModuleCompliance object
empty vector, if the macro-type is not MODULE-COMPLIANCE
getAgentCapabilities
public java.util.Vector getAgentCapabilities()
- Description copied from class: MibNode
- Gets the various clauses in AGENT-CAPABILITIES as a Vector of AgentCapabilitiesModule
- Overrides:
- getAgentCapabilities in class MibNode
- Tags copied from class: MibNode
- Returns:
- Vector of AgentCapabilities object
empty Vector if the macro-type is not AGENT-CAPABILITIES
getObjectNames
public java.lang.String getObjectNames()
- Description copied from class: MibNode
- Gets the OBJECT clause names in OBJECT-GROUP and NOTIFICATION-TYPE macro
- Overrides:
- getObjectNames in class MibNode
- Tags copied from class: MibNode
- See Also:
MibNode.getObjects()
getNotificationsNames
public java.lang.String getNotificationsNames()
- Description copied from class: MibNode
- Gets the NOTIFICATIONS clause names in NOTIFICATION-GROUP macro
- Overrides:
- getNotificationsNames in class MibNode
- Tags copied from class: MibNode
- Returns:
- the value present in the NOTIFICATIONS clause.
null, if the macro-type is not NOTIFICATION-GROUP
getProductrelease
public java.lang.String getProductrelease()
- Description copied from class: MibNode
- Get the value of PRODUCT-RELEASE clause in AGENT-CAPABILITIES macro
- Overrides:
- getProductrelease in class MibNode
- Tags copied from class: MibNode
- Returns:
- the value of PRODUCT-RELEASE clause.
null, if the macro-type is not AGENT-CAPABILITIES.
getAugments
public MibNode getAugments()
- Description copied from class: MibNode
- Gets the augmented table entry.
If you want to know whether a table entry is augmented, then
the method getIsAugmented() can be used.
NOTE : This method is supposed to be invoked on a table entry.
- Overrides: