public class SnmpModule
extends java.lang.Object
SnmpModuleCompliance
Constructor and Description |
---|
SnmpModule(java.lang.String module,
java.util.ArrayList<MibValue> groups,
java.util.ArrayList<SnmpCompliance> compliances)
Creates a new module compliance declaration.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment()
Returns the module comment.
|
java.util.ArrayList<SnmpCompliance> |
getCompliances()
Returns the list of compliances.
|
java.util.ArrayList<MibValue> |
getGroups()
Returns the list of mandatory group values.
|
java.lang.String |
getModule()
Returns the module name.
|
void |
setComment(java.lang.String comment)
Sets the module comment.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
public SnmpModule(java.lang.String module, java.util.ArrayList<MibValue> groups, java.util.ArrayList<SnmpCompliance> compliances)
module
- the module name, or nullgroups
- the list of mandatory group valuescompliances
- the list of compliancespublic java.lang.String getModule()
public java.util.ArrayList<MibValue> getGroups()
MibValue
public java.util.ArrayList<SnmpCompliance> getCompliances()
SnmpCompliance
public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- the module commentpublic java.lang.String toString()
toString
in class java.lang.Object