Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry Class Reference

List of all members.

Public Member Functions

 AlarmTableEntry (Alarm alarm)
void updateAlarm (Alarm newAlarm)
AlarmGUIType getAlarmType ()
Alarm getAlarm ()
boolean isNew ()
void alarmSeen ()
boolean isReduced ()
boolean isChild ()
boolean isParent ()

Private Attributes

volatile boolean isNew
Alarm alarm
AlarmGUIType alarmType

Detailed Description

An entry in the alarm table i.e. a row in the table

It consists of the alarm plus other information to represent the alarm in the table. The AlarmTablemodel finds here all it needs to show an alarm in a row.

Author:
acaproni


Constructor & Destructor Documentation

alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry::AlarmTableEntry Alarm  alarm  )  [inline]
 

Build an AlarmTableEntry from the given alarm

Parameters:
alarm The alarm in the entry


Member Function Documentation

void alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry::alarmSeen  )  [inline]
 

The user saw the alarm and press one mouse button over its line so the alarm is not new anymore

Alarm alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry::getAlarm  )  [inline]
 

Returns:
The alarm

AlarmGUIType alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry::getAlarmType  )  [inline]
 

Returns:
The type of the alarm

boolean alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry::isChild  )  [inline]
 

Returns:
true if the alarm is a node or multiplicity child

boolean alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry::isNew  )  [inline]
 

Return true if the alarm is new

Returns:
true if the alarm is new

boolean alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry::isParent  )  [inline]
 

Returns:
true if the alarm is a node or multiplicity parent

boolean alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry::isReduced  )  [inline]
 

Returns:
true if the alarm is reduced

void alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry::updateAlarm Alarm  newAlarm  )  [inline]
 

Update the alarm with the new one.

Replace the alarm with the one but only if they have the same ID

Parameters:
newAlarm The not null new alarm


Member Data Documentation

Alarm alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry::alarm [private]
 

The alarm received by the alarm system

AlarmGUIType alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry::alarmType [private]
 

The type of the alarm

volatile boolean alma::acsplugins::alarmsystem::gui::table::AlarmTableEntry::isNew [private]
 

An entry is new till the user look at it by pressing one mouse button over the row of the alarm


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:00:37 2009 for ACS Java API by doxygen 1.3.8