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

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

List of all members.

Public Member Functions

 DisplayableChangeEvent (String name)
 DisplayableChangeEvent (String name, Integer privateIdent, boolean isActive, String faultFamily, String faultMember, int faultCode)
String getName ()
String getDisplayName ()
Integer getPrivateIdentifier ()
int getPriority ()
void setPriority (int priority)
Collection getCategories ()
String getResponsiblePerson ()
String getLocation ()
String getProblemDescription ()
String getSource ()
String getFaultFamily ()
String getFaultMember ()
int getFaultCode ()
long getTimestamp ()
long getSourceTimestamp ()
String getSourceHostName ()
String getUserData ()
boolean isActive ()
boolean isMasked ()
boolean isNodeChild ()
boolean isNodeParent ()
boolean isNodeReduced ()
boolean isMultiplicityReduced ()
boolean isMultiplicityParent ()
boolean isMultiplicityChild ()
boolean isMaintenanceMasked ()
boolean isModeMasked ()
boolean isReduced ()
String toShortString ()
String toString ()
Object clone () throws CloneNotSupportedException

Public Attributes

int priority = -1

Private Attributes

String name = null
Integer privateIdent = null
boolean isActive = true
String faultFamily = null
String faultMember = null
int faultCode = -1
boolean isMasked = false

Detailed Description

This is test class. In final version should be replaced by cern.laser.business.alarm.data.DisplayableChangeEvent;

Adapter class wrapping DisplayableChangeEvent. Follows the JavaBeans specifications. Actual properties are all the one contained in the StaticInfo, DynamicInfo & StatusInfo classes

should not be used

Author:
claustre


Constructor & Destructor Documentation

cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::DisplayableChangeEvent String  name  )  [inline]
 

Creates new empty DisplayableChangeEventAdapter Should be removed as soon as the tests will be done with an external alarm generator. In this case, the Dummy bean creted in CustomiseFields class should use the other constructor: DisplayableChangeEventAdapter(null).

WARNING: this constructor should not be used

cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::DisplayableChangeEvent String  name,
Integer  privateIdent,
boolean  isActive,
String  faultFamily,
String  faultMember,
int  faultCode
[inline]
 


Member Function Documentation

Object cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::clone  )  throws CloneNotSupportedException [inline]
 

Return the object hashcode

Returns:
the object hashcode

Collection cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getCategories  )  [inline]
 

getter for the categories to which the alarm belongs

Returns:
a collection containing the names of the categories to which dsplyChngEvt. alarm belongs

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getDisplayName  )  [inline]
 

At the moment, the field chosen to be the "Display Name of an Alarm" is the problem description

Returns:
DisplayName

int cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getFaultCode  )  [inline]
 

getter for the fault code

Returns:
the "fault code" of the alarm (as defined in the LEP alarm system)

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getFaultFamily  )  [inline]
 

getter for the fault family

Returns:
the "fault family" of the alarm (as defined in the LEP alarm system)

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getFaultMember  )  [inline]
 

getter for the fault Member

Returns:
the "fault member" of the alarm (as defined in the LEP alarm system)

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getLocation  )  [inline]
 

getter for the location of the equipment

Returns:
the location of the equipment

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getName  )  [inline]
 

The private identifier is the name of the node

Returns:
Name

int cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getPriority  )  [inline]
 

Integer cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getPrivateIdentifier  )  [inline]
 

Returns:
the private identifier as an int

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getProblemDescription  )  [inline]
 

getter for the problem description

Returns:
the description of the problem from static info

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getResponsiblePerson  )  [inline]
 

getter for the responsible person for this equipement

Returns:
the name of the repsonsible person from the static info

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getSource  )  [inline]
 

getter for the alarm source

Returns:
the alarm source from static info

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getSourceHostName  )  [inline]
 

Returns:
source name from the DynamicInfo class

long cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getSourceTimestamp  )  [inline]
 

Returns:
SourceTimestamp from the DynamicInfo class

long cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getTimestamp  )  [inline]
 

Returns:
Timestamp from the DynamicInfo class

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::getUserData  )  [inline]
 

Returns:
UserData from the DynamicInfo class

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

Returns:
isActive field from the StatusInfo class

boolean cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::isMaintenanceMasked  )  [inline]
 

Returns:
isMaintenanceMasked field from the StatusInfo class

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

boolean cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::isModeMasked  )  [inline]
 

Returns:
isModeMasked field from the StatusInfo class

boolean cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::isMultiplicityChild  )  [inline]
 

Returns:
isMultiplicityChild field from the StatusInfo class

boolean cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::isMultiplicityParent  )  [inline]
 

Returns:
isMultiplicityParent field from the StatusInfo class

boolean cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::isMultiplicityReduced  )  [inline]
 

Returns:
isMultiplicityReduced field from the StatusInfo class

boolean cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::isNodeChild  )  [inline]
 

Tests if the alarm is a node child

Returns:
boolean

boolean cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::isNodeParent  )  [inline]
 

Tests if the alarm is a node parent

Returns:
boolean

boolean cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::isNodeReduced  )  [inline]
 

Tests if a node reduction is applied on this alarm

Returns:
boolean

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

Returns:
isReduced field from the StatusInfo class

void cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::setPriority int  priority  )  [inline]
 

this is method only for testing

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::toShortString  )  [inline]
 

Checks for equality

Returns:
boolean: 1 if the object is equal, 0 else

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


Member Data Documentation

int cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::faultCode = -1 [private]
 

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::faultFamily = null [private]
 

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::faultMember = null [private]
 

boolean cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::isActive = true [private]
 

boolean cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::isMasked = false [private]
 

Returns:
isMasked field from the StatusInfo class

String cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::name = null [private]
 

will have to be private. But at the moment, it must be public to set internaly some parameters (no set function must be written to make the fields not editable)

int cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::priority = -1
 

getter for the priority of the alarm

Returns:
the priority of the alarm

Integer cern::laser::guiplatform::alarms::helpers::DisplayableChangeEvent::privateIdent = null [private]
 


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