net.percederberg.mibble.snmp
Class SnmpModule

java.lang.Object
  extended bynet.percederberg.mibble.snmp.SnmpModule

public class SnmpModule
extends java.lang.Object

An SNMP module compliance value. This declaration is used inside the module compliance macro type.

Since:
2.0
See Also:
SnmpModuleCompliance

Constructor Summary
SnmpModule(java.lang.String module, java.util.ArrayList groups, java.util.ArrayList compliances)
          Creates a new module compliance declaration.
 
Method Summary
 java.util.ArrayList getCompliances()
          Returns the list of compliances.
 java.util.ArrayList getGroups()
          Returns the list of mandatory group values.
 java.lang.String getModule()
          Returns the module name.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SnmpModule

public SnmpModule(java.lang.String module,
                  java.util.ArrayList groups,
                  java.util.ArrayList compliances)
Creates a new module compliance declaration.

Parameters:
module - the module name, or null
groups - the list of mandatory group values
compliances - the list of compliances
Method Detail

getModule

public java.lang.String getModule()
Returns the module name.

Returns:
the module name, or null if not set

getGroups

public java.util.ArrayList getGroups()
Returns the list of mandatory group values. The returned list will consist of MibValue instances.

Returns:
the list of mandatory group values
See Also:
MibValue

getCompliances

public java.util.ArrayList getCompliances()
Returns the list of compliances. The returned list will consist of SnmpCompliance instances.

Returns:
the list of compliances
See Also:
SnmpCompliance

toString

public java.lang.String toString()
Returns a string representation of this object.

Returns:
a string representation of this object