|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.percederberg.mibble.snmp.SnmpCompliance
public class SnmpCompliance
An SNMP module compliance value. This declaration is used inside a module declaration for both the GROUP and OBJECT compliance parts.
SnmpModule
Constructor Summary | |
---|---|
SnmpCompliance(boolean group,
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 |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 descriptionMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |