public class SnmpRevision
extends java.lang.Object
SnmpModuleIdentity
Constructor and Description |
---|
SnmpRevision(MibValue value,
java.lang.String description)
Creates a new SNMP module identity revision.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment()
Returns the revision comment.
|
java.lang.String |
getDescription()
Returns the revision description.
|
java.lang.String |
getUnformattedDescription()
Returns the unformatted revision description.
|
MibValue |
getValue()
Returns the revision number.
|
void |
setComment(java.lang.String comment)
Sets the revision comment.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
public SnmpRevision(MibValue value, java.lang.String description)
value
- the revision numberdescription
- the revision descriptionpublic MibValue getValue()
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 revision commentpublic java.lang.String toString()
toString
in class java.lang.Object