net.percederberg.mibble.snmp
Class SnmpModuleSupport

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

public class SnmpModuleSupport
extends java.lang.Object

An SNMP module support declaration. This declaration is used inside the agent capabilities type.

Since:
2.0

Constructor Summary
SnmpModuleSupport(java.lang.String module, java.util.ArrayList groups, java.util.ArrayList variations)
          Creates a new module support declaration.
 
Method Summary
 java.util.ArrayList getGroups()
          Returns the list of included group values.
 java.lang.String getModule()
          Returns the module name.
 java.util.ArrayList getVariations()
          Returns the list of variations.
 void initialize(MibLoaderLog log)
          Initializes the object.
 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

SnmpModuleSupport

public SnmpModuleSupport(java.lang.String module,
                         java.util.ArrayList groups,
                         java.util.ArrayList variations)
Creates a new module support declaration.

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

initialize

public void initialize(MibLoaderLog log)
                throws MibException
Initializes the object. This will remove all levels of indirection present, such as references to other types, and returns the basic type. No type information is lost by this operation. This method may modify this object as a side-effect, and will be called by the MIB loader.

Parameters:
log - the MIB loader log
Throws:
MibException - if an error was encountered during the initialization

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 included group values.

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

getVariations

public java.util.ArrayList getVariations()
Returns the list of variations.

Returns:
the list of variations
See Also:
SnmpVariation

toString

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

Returns:
a string representation of this object