alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus Class Reference

Inheritance diagram for alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus:
Inheritance graph
[legend]
Collaboration diagram for alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PanelStatus (boolean active, Properties props)
String getSourceHostname ()
Timestamp getSourceTimestamp ()
Timestamp getSystemTimestamp ()
Properties getUserProperties ()
Timestamp getUserTimestamp ()
boolean isActive ()
boolean isMasked ()
boolean isReduced ()
Object clone () throws CloneNotSupportedException
void setStatus (boolean active)
void setUserProps (Properties props)

Private Attributes

boolean active
Properties properties
final Timestamp timestamp = new Timestamp(System.currentTimeMillis())

Detailed Description

The status

Author:
acaproni

Constructor & Destructor Documentation

alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::PanelStatus ( boolean  active,
Properties  props 
) [inline]

Build the status

Parameters:
active true if the alarm is active
props The user properties

References setStatus(), and setUserProps().


Member Function Documentation

Object alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::clone (  )  throws CloneNotSupportedException [inline]

Cloning method. The cloned object is a deep copy.

Returns:
a deep copy of the object
Exceptions:
CloneNotSupportedException if clone failed

Implements cern::laser::client::data::Status.

String alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::getSourceHostname (  )  [inline]
Timestamp alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::getSourceTimestamp (  )  [inline]
Timestamp alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::getSystemTimestamp (  )  [inline]
Properties alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::getUserProperties (  )  [inline]
Timestamp alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::getUserTimestamp (  )  [inline]
boolean alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::isActive (  )  [inline]
boolean alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::isMasked (  )  [inline]
boolean alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::isReduced (  )  [inline]
void alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::setStatus ( boolean  active  )  [inline]

Set the status active/inactive and update the time stamp

Parameters:
active 

References timestamp.

Referenced by PanelStatus(), and alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::setStatus().

void alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::setUserProps ( Properties  props  )  [inline]

Set the user properties of the alarm

Parameters:
props The new properties

References properties.

Referenced by PanelStatus(), and alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::setUserProperties().


Member Data Documentation

true if the alarm is active

Referenced by isActive().

The user properties

Referenced by getUserProperties(), and setUserProps().

final Timestamp alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::timestamp = new Timestamp(System.currentTimeMillis()) [private]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2