public class Comment
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
CommentedAlarmMap,
Serialized Form| Constructor and Description |
|---|
Comment(java.lang.String newConsoleUser,
java.lang.String newComment)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
java.lang.String |
getComment()
Accessor method.
|
java.lang.String |
getConsoleUser()
Accessor method.
|
void |
setComment(java.lang.String newComment)
Accessor method.
|
void |
setConsoleUser(java.lang.String newConsoleUser)
Accessor method.
|
java.lang.String |
toString() |
public Comment(java.lang.String newConsoleUser,
java.lang.String newComment)
newConsoleUser - the author of the comment.newComment - the comment text.public java.lang.String getConsoleUser()
public void setConsoleUser(java.lang.String newConsoleUser)
newConsoleUser - the author of the comment.public java.lang.String getComment()
public void setComment(java.lang.String newComment)
newComment - the comment text.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Object