|
JASMI API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IModule
IModule represents a SNMP MIB module as well as the corresponding SMIv2 MODULE-IDENTITY construct.
| Field Summary |
|---|
| Fields inherited from interface com.agentpp.smi.IObject |
|---|
AGENT_CAPABILITIES, MODULE_COMPLIANCE, MODULE_IDENTITY, NOTIFICATION_GROUP, NOTIFICATION_TYPE, OBJECT_GROUP, OBJECT_IDENTITY, OBJECT_NAME, OBJECT_TYPE, TEXTUAL_CONVENTION, TRAP_TYPE |
| Method Summary | |
|---|---|
java.lang.String |
getContactInfo()
|
java.lang.String |
getCopyrightComment()
Get the ASN.1 comment located at the beginning of the original SMI file. |
java.lang.String |
getCopyrightCommentEnd()
Get the ASN.1 comment located at the end of the original SMI file. |
IImport[] |
getImports()
|
java.lang.String |
getImportSource(java.lang.String objectName)
Returns the module name of the module from which the specified object is imported. |
java.lang.String[] |
getImportSources()
Get the list of all MIB modules the receiver imports from. |
java.util.Vector |
getImportSources(java.lang.String objectName)
Gets all names of MIB modules from which an object with the given name is imported by this MIB module. |
java.lang.String |
getLastUpdated()
|
java.lang.String |
getModuleName()
|
IObject |
getObject(java.lang.String objectName)
Gets the MIB object for a given object name. |
IObject |
getObjectByOID(java.lang.String oid)
Gets the MIB object for a given object identifier (OID). |
java.util.Vector |
getObjectsVector()
Get the objects of the module as a Vector of IObject instances. |
java.lang.String |
getOrganization()
|
IRevision[] |
getRevisions()
|
int |
getSMIVersion()
Get the SMI version of the MIB module. |
boolean |
hasCopyrightComment()
|
boolean |
hasCopyrightCommentEnd()
|
boolean |
hasImports()
|
boolean |
hasRevisions()
|
boolean |
imports(java.lang.String objectName)
Checks whether this MIB module imports an object with the given name. |
java.util.Enumeration |
objects()
Return a Enumeration of the IObject instances of this MIB module. |
com.objectspace.jgl.OrderedMap |
objectsByName()
Return an OrderedMap that contains the IObject instances of this MIB module ordered by the object names. |
com.objectspace.jgl.OrderedMap |
objectsByOid()
Return an OrderedMap that contains the IObject instances of this MIB module ordered by the OIDs of the objects. |
java.util.Collection |
objectsOrderedByOccurance()
Returns an Iterator on the objects contained in this module
ordered by their occurance in the original (compiled) MIB module. |
int |
size()
Return the size of the MIB module. |
| Methods inherited from interface com.agentpp.smi.IObject |
|---|
getComment, getDeepClone, getDescription, getModuleID, getName, getObjectID, getPrintableOid, getReference, getStatus, getType, getTypeString, hasComment, hasDescription, hasReference, hasStatus, isStructural |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
IObject getObject(java.lang.String objectName)
objectName - an object name.
objectName or null otherwise.IObject getObjectByOID(java.lang.String oid)
oid - an OID String as a sequence of positive 32bit integer
values separated by dots.
oid or null otherwise.java.util.Vector getObjectsVector()
int size()
java.util.Enumeration objects()
com.objectspace.jgl.OrderedMap objectsByOid()
java.util.Collection objectsOrderedByOccurance()
Iterator on the objects contained in this module
ordered by their occurance in the original (compiled) MIB module.
Iterator on the MIB objects of this module.com.objectspace.jgl.OrderedMap objectsByName()
java.lang.String getModuleName()
java.lang.String[] getImportSources()
boolean hasImports()
IImport[] getImports()
java.lang.String getImportSource(java.lang.String objectName)
objectName - an object, type, or textual convention name.
java.lang.String getOrganization()
java.lang.String getLastUpdated()
java.lang.String getContactInfo()
int getSMIVersion()
boolean hasRevisions()
IRevision[] getRevisions()
java.lang.String getCopyrightComment()
boolean hasCopyrightComment()
java.lang.String getCopyrightCommentEnd()
boolean hasCopyrightCommentEnd()
boolean imports(java.lang.String objectName)
objectName - an object name.
true if an object with the name denoted by
objectName is imported by this MIB module,
false otherwise.java.util.Vector getImportSources(java.lang.String objectName)
objectName - an object name.
Vector containing zero or more MIB module names of the
source MIB modules of the given object.
|
JASMI API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||