net.percederberg.mibble.snmp
Class SnmpCompliance

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

public class SnmpCompliance
extends java.lang.Object

An SNMP module compliance value. This declaration is used inside a module declaration for both the GROUP and OBJECT compliance parts.

Since:
2.0
See Also:
SnmpModule

Constructor Summary
SnmpCompliance(MibValue value, MibType syntax, MibType writeSyntax, SnmpAccess access, java.lang.String description)
          Creates a new SNMP module compliance declaration.
 
Method Summary
 SnmpAccess getAccess()
          Returns the access mode.
 java.lang.String getDescription()
          Returns the compliance description.
 MibType getSyntax()
          Returns the value syntax.
 MibValue getValue()
          Returns the value.
 MibType getWriteSyntax()
          Returns the value write syntax.
 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

SnmpCompliance

public SnmpCompliance(MibValue value,
                      MibType syntax,
                      MibType writeSyntax,
                      SnmpAccess access,
                      java.lang.String description)
Creates a new SNMP module compliance declaration.

Parameters:
value - the compliance value
syntax - the value syntax, or null
writeSyntax - the value write syntax, or null
access - the access mode, or null
description - the compliance description
Method Detail

getValue

public MibValue getValue()
Returns the value.

Returns:
the value

getSyntax

public MibType getSyntax()
Returns the value syntax.

Returns:
the value syntax, or null if not set

getWriteSyntax

public MibType getWriteSyntax()
Returns the value write syntax.

Returns:
the value write syntax, or null if not set

getAccess

public SnmpAccess getAccess()
Returns the access mode.

Returns:
the access mode, or null if not set

getDescription

public java.lang.String getDescription()
Returns the compliance description.

Returns:
the compliance description

toString

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

Returns:
a string representation of this object