cern::laser::guiplatform::alarms::helpers::StatusImpl Class Reference

Inheritance diagram for cern::laser::guiplatform::alarms::helpers::StatusImpl:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::alarms::helpers::StatusImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 StatusImpl (boolean active, boolean masked, boolean reduced)
 StatusImpl (boolean active)
boolean isActive ()
boolean isMasked ()
boolean isReduced ()
String getSourceHostname ()
Timestamp getSourceTimestamp ()
Timestamp getUserTimestamp ()
Timestamp getSystemTimestamp ()
Properties getUserProperties ()
Object clone () throws CloneNotSupportedException
String toString ()

Static Package Functions

 [static initializer]

Private Member Functions

 StatusImpl (Status status)

Private Attributes

boolean active
boolean masked
boolean reduced
Timestamp sourceTimestamp
String sourceHostname
Timestamp userTimestamp
Timestamp systemTimestamp
Properties userProperties

Static Private Attributes

static long timeMillis = -1

Constructor & Destructor Documentation

cern::laser::guiplatform::alarms::helpers::StatusImpl::StatusImpl ( boolean  active,
boolean  masked,
boolean  reduced 
) [inline]
cern::laser::guiplatform::alarms::helpers::StatusImpl::StatusImpl ( boolean  active  )  [inline]
cern::laser::guiplatform::alarms::helpers::StatusImpl::StatusImpl ( Status  status  )  [inline, private]

Member Function Documentation

cern::laser::guiplatform::alarms::helpers::StatusImpl::[static initializer] (  )  [inline, static, package]
Object cern::laser::guiplatform::alarms::helpers::StatusImpl::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.

References StatusImpl().

String cern::laser::guiplatform::alarms::helpers::StatusImpl::getSourceHostname (  )  [inline]

Accessor method.

Returns:
the alarm source hostname

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

References sourceHostname.

Referenced by toString().

Timestamp cern::laser::guiplatform::alarms::helpers::StatusImpl::getSourceTimestamp (  )  [inline]

Accessor method.

Returns:
the most recent alarm change source timestamp

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

References sourceTimestamp.

Referenced by toString().

Timestamp cern::laser::guiplatform::alarms::helpers::StatusImpl::getSystemTimestamp (  )  [inline]

Accessor method.

Returns:
the most recent alarm change system timestamp

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

References systemTimestamp.

Referenced by toString().

Properties cern::laser::guiplatform::alarms::helpers::StatusImpl::getUserProperties (  )  [inline]

Accessor method.

Returns:
the alarm change user properties

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

References userProperties.

Referenced by toString().

Timestamp cern::laser::guiplatform::alarms::helpers::StatusImpl::getUserTimestamp (  )  [inline]

Accessor method.

Returns:
the most recent alarm change user timestamp

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

References userTimestamp.

Referenced by toString().

boolean cern::laser::guiplatform::alarms::helpers::StatusImpl::isActive (  )  [inline]

Accessor method.

Returns:
true iff the alarm is active

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

References active.

Referenced by toString().

boolean cern::laser::guiplatform::alarms::helpers::StatusImpl::isMasked (  )  [inline]

Accessor method.

Returns:
true iff the alarm is maintenance/mode masked

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

References masked.

Referenced by toString().

boolean cern::laser::guiplatform::alarms::helpers::StatusImpl::isReduced (  )  [inline]

Accessor method.

Returns:
true iff the alarm is multiplicity/node reduced

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

References reduced.

Referenced by toString().

String cern::laser::guiplatform::alarms::helpers::StatusImpl::toString (  )  [inline]

Member Data Documentation

Referenced by isActive(), and StatusImpl().

Referenced by isMasked(), and StatusImpl().

Referenced by isReduced(), and StatusImpl().

Referenced by getSourceHostname(), and StatusImpl().

Referenced by getSourceTimestamp(), and StatusImpl().

Referenced by getSystemTimestamp(), and StatusImpl().

Referenced by StatusImpl().

Referenced by getUserProperties(), and StatusImpl().

Referenced by getUserTimestamp(), and StatusImpl().


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

Generated by  doxygen 1.6.2