|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jasmine.rules.logs.util.AlarmLog
public class AlarmLog
This class provides a POJO to handle JASMINe alarms.
| Constructor Summary | |
|---|---|
AlarmLog(int id,
java.util.Date date,
java.lang.String level,
java.lang.String message)
Creates an alarm with the specified values. |
|
| Method Summary | |
|---|---|
java.util.Date |
getDate()
Returns the alarm date. |
int |
getId()
Returns the alarm id. |
java.lang.String |
getLevel()
Returns the alarm level. |
java.lang.String |
getMessage()
Returns the alarm message. |
void |
setDate(java.util.Date date)
Defines the alarm date. |
void |
setId(int id)
Defines the alarm id. |
void |
setLevel(java.lang.String level)
Defines the alarm level. |
void |
setMessage(java.lang.String message)
Defines the alarm message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlarmLog(int id,
java.util.Date date,
java.lang.String level,
java.lang.String message)
id - the alarm id.date - the alarm date.level - the alarm level.message - the alarm message.| Method Detail |
|---|
public int getId()
public void setId(int id)
id - the id to set.public java.util.Date getDate()
public void setDate(java.util.Date date)
date - the date to setpublic java.lang.String getLevel()
public void setLevel(java.lang.String level)
level - the level to setpublic java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - the message to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||