| java.lang.Object org.objectweb.alarm.beans.AlarmData
AlarmData | public class AlarmData implements Serializable(Code) | | Data associated with an AlarmRecord. This is what will be passed to servlets
to be displayed.
|
AlarmData | public AlarmData(int n, int s, String dev, String m, java.sql.Date d)(Code) | | Parameters: n - AlarmRecord number Parameters: s - Severity Level Parameters: dev - Device that generated Alarm Parameters: m - Alarm Message Parameters: d - Date of first message |
getCount | public int getCount()(Code) | | nb of messages received |
getMessage | public String getMessage()(Code) | | the alarm message |
getNum | public int getNum()(Code) | | the alarm record number |
getSev | public int getSev()(Code) | | Severity Level |
getState | public int getState()(Code) | | the state |
setCount | public void setCount(int c)(Code) | | Set the nb of messages received
Parameters: c - Count of received messages |
setState | public void setState(int s)(Code) | | Set the current state
Parameters: s - State (1=received, 2=processed, 3=deleted) |
|
|