public class SnmpCompliance
extends java.lang.Object
SnmpModule
Constructor and Description |
---|
SnmpCompliance(boolean group,
MibValue value,
MibType syntax,
MibType writeSyntax,
SnmpAccess access,
java.lang.String description)
Creates a new SNMP module compliance declaration.
|
Modifier and Type | Method and Description |
---|---|
SnmpAccess |
getAccess()
Returns the access mode.
|
java.lang.String |
getComment()
Returns the compliance comment.
|
java.lang.String |
getDescription()
Returns the compliance description.
|
MibType |
getSyntax()
Returns the value syntax.
|
java.lang.String |
getUnformattedDescription()
Returns the unformatted compliance description.
|
MibValue |
getValue()
Returns the value.
|
MibType |
getWriteSyntax()
Returns the value write syntax.
|
boolean |
isGroup()
Checks if this is a group compliance.
|
boolean |
isObject()
Checks if this is an object compliance.
|
void |
setComment(java.lang.String comment)
Sets the compliance comment.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
public SnmpCompliance(boolean group, MibValue value, MibType syntax, MibType writeSyntax, SnmpAccess access, java.lang.String description)
group
- the group compliance flagvalue
- the compliance valuesyntax
- the value syntax, or nullwriteSyntax
- the value write syntax, or nullaccess
- the access mode, or nulldescription
- the compliance descriptionpublic boolean isGroup()
public boolean isObject()
public MibValue getValue()
public MibType getSyntax()
public MibType getWriteSyntax()
public SnmpAccess getAccess()
public java.lang.String getDescription()
getUnformattedDescription()
public java.lang.String getUnformattedDescription()
getDescription()
public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- the compliance commentpublic java.lang.String toString()
toString
in class java.lang.Object