public class CommentedAlarm
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
CommentedAlarmMap,
Comment,
Serialized Form| Constructor and Description |
|---|
CommentedAlarm()
Default constructor.
|
CommentedAlarm(Alarm alarm,
Comment comment)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
Alarm |
getAlarm()
Accessor method.
|
Comment |
getComment()
Accessor method.
|
void |
setAlarm(Alarm newAlarm)
Accessor method.
|
void |
setComment(Comment newComment)
Accessor method.
|
java.lang.String |
toString()
Returns a string representation.
|
public Alarm getAlarm()
public void setAlarm(Alarm newAlarm)
newAlarm - the alarmpublic Comment getComment()
public void setComment(Comment newComment)
newComment - the alarm commentpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Object