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

cern::laser::business::data::AlarmImpl Class Reference

Inheritance diagram for cern::laser::business::data::AlarmImpl:

Inheritance graph
[legend]
Collaboration diagram for cern::laser::business::data::AlarmImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AlarmImpl (String alarmId, String systemName, String identifier, String problemDescription, Integer priority, String cause, String action, String consequence, String piquetGSM, String piquetEmail, String helpURLString, Boolean instant, Source source, Location location, ResponsiblePerson responsiblePerson, Set categories, Status status, Triplet triplet, boolean nodeParent, boolean multiplicityParent, boolean nodeChild, boolean multiplicityChild)
 AlarmImpl ()
 AlarmImpl (AlarmDefinition definition, Source source, ResponsiblePerson responsiblePerson)
String getAlarmId ()
String getAction ()
Collection getCategories ()
void setCategories (Collection newCategories)
String getCause ()
String getConsequence ()
String getIdentifier ()
Boolean getInstant ()
void setHelpURL (URL newHelpURL)
URL getHelpURL ()
Location getLocation ()
String[] getMultiplicityChildren ()
boolean hasMultiplicityChildren ()
boolean hasMultiplicityParents ()
String[] getMultiplicityParents ()
void addMultiplicityChild (Alarm multiplicityChild)
void removeMultiplicityChild (Alarm multiplicityChild)
String[] getNodeChildren ()
boolean hasNodeChildren ()
String[] getNodeParents ()
boolean hasNodeParents ()
void addNodeChild (Alarm nodeChild)
void removeNodeChild (Alarm nodeChild)
Integer getMultiplicityThreshold ()
void setMultiplicityThreshold (Integer multiplicityThreshold)
String getPiquetEmail ()
String getPiquetGSM ()
Integer getPriority ()
String getProblemDescription ()
ResponsiblePerson getResponsiblePerson ()
Source getSource ()
Status getStatus ()
void setStatus (Status status)
String getSystemName ()
Triplet getTriplet ()
AlarmDefinition getDefinition ()
void setDefinition (AlarmDefinition definition)
void setAction (String action)
void setAlarmId (String alarmId)
void setCause (String cause)
void setConsequence (String consequence)
void setIdentifier (String identifier)
void setInstant (Boolean instant)
void setLocation (Location location)
void setPiquetEmail (String piquetEmail)
void setPiquetGSM (String piquetGSM)
void setPriority (Integer priority)
void setProblemDescription (String problemDescription)
void setResponsiblePerson (ResponsiblePerson responsiblePerson)
void setSource (Source source)
void setSystemName (String systemName)
void setTriplet (Triplet triplet)
Object clone ()
String toString ()
int hashCode ()
boolean equals (Object obj)
String getHelpURLString ()
void setHelpURLString (String newHelpURL)
Set getMultiplicityChildrenIds ()
void setMultiplicityChildrenIds (Set newMultiplicityChildrenIds)
Set getMultiplicityParentIds ()
void setMultiplicityParentIds (Set newMultiplicityParentIds)
Set getNodeChildrenIds ()
void setNodeChildrenIds (Set newNnodeChildrenIds)
Set getNodeParentIds ()
void setNodeParentIds (Set newNodeParentIds)

Private Member Functions

String getFaultFamily ()
void setFaultFamily (String faultFamily)
String getFaultMember ()
void setFaultMember (String faultMember)
Integer getFaultCode ()
void setFaultCode (Integer faultCode)

Private Attributes

String alarmId
String systemName
String identifier
String problemDescription
Integer priority
String cause
String action
String consequence
String piquetGSM
String piquetEmail
String helpURLString
Boolean instant
Source source
Location location
ResponsiblePerson responsiblePerson
Set categories
Set nodeParentIds
Set nodeChildrenIds
Set multiplicityParentIds
Set multiplicityChildrenIds
Integer multiplicityThreshold
Status status = Status.INITIAL_STATUS
Triplet triplet = new Triplet()

Detailed Description

Version:
Revision
1.8
Date
2006/09/25 08:52:36
Author:
Niall Stapley

Katarina Sigerud

.class table="ALARM_DEFINITION"


Constructor & Destructor Documentation

cern::laser::business::data::AlarmImpl::AlarmImpl String  alarmId,
String  systemName,
String  identifier,
String  problemDescription,
Integer  priority,
String  cause,
String  action,
String  consequence,
String  piquetGSM,
String  piquetEmail,
String  helpURLString,
Boolean  instant,
Source  source,
Location  location,
ResponsiblePerson  responsiblePerson,
Set  categories,
Status  status,
Triplet  triplet,
boolean  nodeParent,
boolean  multiplicityParent,
boolean  nodeChild,
boolean  multiplicityChild
[inline]
 

Parameters:
alarmId 
systemName 
identifier 
problemDescription 
priority 
cause 
action 
consequence 
piquetGSM 
piquetEmail 
helpURLString 
instant 
source 
location 
responsiblePerson 
categories 
multiplicityThreshold 
status 
triplet 

cern::laser::business::data::AlarmImpl::AlarmImpl  )  [inline]
 

Empty constructor for Hibernate.

cern::laser::business::data::AlarmImpl::AlarmImpl AlarmDefinition  definition,
Source  source,
ResponsiblePerson  responsiblePerson
[inline]
 

Parameters:
responsiblePerson 
source 
alarm 


Member Function Documentation

void cern::laser::business::data::AlarmImpl::addMultiplicityChild Alarm  multiplicityChild  )  [inline, virtual]
 

Sets up the bi-directional relation between the multiplicity parent and the multiplicity child

Parameters:
multiplicityChild the alarm to add to this alarm as a multiplicity child. This alarm will at the same time be added to the child's multiplicity parents.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::addNodeChild Alarm  nodeChild  )  [inline, virtual]
 

Sets up the bi-directional relation between the node parent and the node child

Parameters:
nodeChild the alarm to add to this alarm as a node child. This alarm will at the same time be added to the child's node parents.

Implements cern::laser::business::data::Alarm.

Object cern::laser::business::data::AlarmImpl::clone  )  [inline]
 

boolean cern::laser::business::data::AlarmImpl::equals Object  obj  )  [inline]
 

String cern::laser::business::data::AlarmImpl::getAction  )  [inline, virtual]
 

Returns:
Returns the action. .property name="getAction" column="ACTION" not-null="false" unique="false"

Implements cern::laser::business::data::Alarm.

String cern::laser::business::data::AlarmImpl::getAlarmId  )  [inline, virtual]
 

.id generator-class="assigned" column="ALARM_ID"

Implements cern::laser::business::data::Alarm.

Collection cern::laser::business::data::AlarmImpl::getCategories  )  [inline, virtual]
 

Returns:
Returns the categories. .set name="getCategories" table="ALARM_CATEGORY" inverse="true" lazy="true" .collection-key column="ALARM_ID" .collection-many-to-many column="CATEGORY_ID" class="cern.laser.business.data.CategoryImpl"

Implements cern::laser::business::data::Alarm.

String cern::laser::business::data::AlarmImpl::getCause  )  [inline, virtual]
 

Returns:
Returns the cause. .property name="getCause" column="CAUSE" not-null="false" unique="false"

Implements cern::laser::business::data::Alarm.

String cern::laser::business::data::AlarmImpl::getConsequence  )  [inline, virtual]
 

Returns:
Returns the consequence. .property name="getConsequence" column="CONSEQUENCE" not-null="false" unique="false"

Implements cern::laser::business::data::Alarm.

AlarmDefinition cern::laser::business::data::AlarmImpl::getDefinition  )  [inline, virtual]
 

Returns:

Implements cern::laser::business::data::Alarm.

Integer cern::laser::business::data::AlarmImpl::getFaultCode  )  [inline, private]
 

Returns:
Returns the faultCode. .property name="getFaultCode" column="FAULT_CODE" not-null="false" unique="false"

String cern::laser::business::data::AlarmImpl::getFaultFamily  )  [inline, private]
 

Returns:
Returns the faultFamily. .property name="getFaultFamily" column="FAULT_FAMILY" not-null="false" unique="true"

String cern::laser::business::data::AlarmImpl::getFaultMember  )  [inline, private]
 

Returns:
Returns the faultMember. .property name="getFaultMember" column="FAULT_MEMBER" not-null="false" unique="false"

URL cern::laser::business::data::AlarmImpl::getHelpURL  )  [inline, virtual]
 

Returns the help URL for this alarm, or null if there is none or if it is malformed.

Returns:
the help URL for this alarm, or null if there is none or if it is malformed.

Implements cern::laser::business::data::Alarm.

String cern::laser::business::data::AlarmImpl::getHelpURLString  )  [inline]
 

.property name="getHelpURL" column="HELP_URL" type="cern.laser.business.data.customtypes.JavaNetURLUserType" not-null="false" unique="false"

String cern::laser::business::data::AlarmImpl::getIdentifier  )  [inline, virtual]
 

Returns:
Returns the identifier. .property name="getIdentifier" column="IDENTIFIER" not-null="false" unique="false"

Implements cern::laser::business::data::Alarm.

Boolean cern::laser::business::data::AlarmImpl::getInstant  )  [inline, virtual]
 

Returns:
Returns the instant. .property name="getInstant" column="INSTANT" type="yes_no" not-null="false" unique="false"

Implements cern::laser::business::data::Alarm.

Location cern::laser::business::data::AlarmImpl::getLocation  )  [inline, virtual]
 

Returns:
Returns the location. This was mapped as one-to-one, but in the future the table Location will have its own id. .many-to-one column="LOCATION_ID" class="cern.laser.business.data.Location" cascade="all" unique="true"

Implements cern::laser::business::data::Alarm.

String [] cern::laser::business::data::AlarmImpl::getMultiplicityChildren  )  [inline, virtual]
 

Returns the ids of the multiplicity children alarms.

Returns:
the ids of the multiplicity children alarms.

Implements cern::laser::business::data::Alarm.

Set cern::laser::business::data::AlarmImpl::getMultiplicityChildrenIds  )  [inline]
 

Returns the ids of the associated multiplicity children

Returns:
the ids of the associated multiplicity children
.set name="getMultiplicityChildrenIds" table="MULTIPLICITY_REDUCTION" inverse="true" lazy="true" .collection-key column="PARENT_ID" .collection-element column="CHILD_ID" type="string"

Set cern::laser::business::data::AlarmImpl::getMultiplicityParentIds  )  [inline]
 

Returns the ids of the associated multiplicity parents

Returns:
the ids of the associated multiplicity parents
.set name="getMultiplicityParentIds" table="MULTIPLICITY_REDUCTION" inverse="false" lazy="true" .collection-key column="CHILD_ID" .collection-element column="PARENT_ID" type="string"

String [] cern::laser::business::data::AlarmImpl::getMultiplicityParents  )  [inline, virtual]
 

Returns the ids of the multiplicity parent alarms.

Returns:
the ids of the multiplicity parent alarms.

Implements cern::laser::business::data::Alarm.

Integer cern::laser::business::data::AlarmImpl::getMultiplicityThreshold  )  [inline, virtual]
 

.property name="getMultiplicityThreshold" column="MULTIPLICITY_THRESHOLD" not-null="false" unique="false"

Implements cern::laser::business::data::Alarm.

String [] cern::laser::business::data::AlarmImpl::getNodeChildren  )  [inline, virtual]
 

Returns the ids of the node children alarms.

Returns:
the ids of the node children alarms.

Implements cern::laser::business::data::Alarm.

Set cern::laser::business::data::AlarmImpl::getNodeChildrenIds  )  [inline]
 

Returns the ids of the associated node children

Returns:
the ids of the associated node children
.set name="getNodeChildrenIds" table="NODE_REDUCTION" inverse="true" lazy="true" .collection-key column="PARENT_ID" .collection-element column="CHILD_ID" type="string"

Set cern::laser::business::data::AlarmImpl::getNodeParentIds  )  [inline]
 

Returns the ids of the associated node parents

Returns:
the ids of the associated node parents
.set name="getNodeParentIds" table="NODE_REDUCTION" inverse="false" lazy="true" .collection-key column="CHILD_ID" .collection-element column="PARENT_ID" type="string"

String [] cern::laser::business::data::AlarmImpl::getNodeParents  )  [inline, virtual]
 

Returns the ids of the node parent alarms.

Returns:
the ids of the node parent alarms.

Implements cern::laser::business::data::Alarm.

String cern::laser::business::data::AlarmImpl::getPiquetEmail  )  [inline, virtual]
 

.property name="getPiquetEmail" column="PIQUET_EMAIL" not-null="false" unique="false"

Implements cern::laser::business::data::Alarm.

String cern::laser::business::data::AlarmImpl::getPiquetGSM  )  [inline, virtual]
 

.property name="getPiquetGSM" column="PIQUET_PORTABLE_PHONE" not-null="false" unique="false"

Implements cern::laser::business::data::Alarm.

Integer cern::laser::business::data::AlarmImpl::getPriority  )  [inline, virtual]
 

.property name="getPriority" column="PRIORITY" not-null="false" unique="false"

Implements cern::laser::business::data::Alarm.

String cern::laser::business::data::AlarmImpl::getProblemDescription  )  [inline, virtual]
 

.property name="getProblemDescription" column="PROBLEM_DESCRIPTION" not-null="false" unique="false"

Implements cern::laser::business::data::Alarm.

ResponsiblePerson cern::laser::business::data::AlarmImpl::getResponsiblePerson  )  [inline, virtual]
 

.many-to-one name="getResponsiblePerson" column="RESPONSIBLE_ID" class="cern.laser.business.data.ResponsiblePerson" not-null="false"

Implements cern::laser::business::data::Alarm.

Source cern::laser::business::data::AlarmImpl::getSource  )  [inline, virtual]
 

.many-to-one name="getSource" column="SOURCE_ID" class="cern.laser.business.data.Source"

Implements cern::laser::business::data::Alarm.

Status cern::laser::business::data::AlarmImpl::getStatus  )  [inline, virtual]
 

Returns:
Returns the status. .many-to-one column="STATUS_ID" class="cern.laser.business.data.StatusImpl" cascade="all" unique="true"

Implements cern::laser::business::data::Alarm.

String cern::laser::business::data::AlarmImpl::getSystemName  )  [inline, virtual]
 

Returns:
Returns the systemName. .property name="getSystemName" column="SYSTEM_NAME" not-null="false" unique="false"

Implements cern::laser::business::data::Alarm.

Triplet cern::laser::business::data::AlarmImpl::getTriplet  )  [inline, virtual]
 

Returns:
Returns the triplet.

Implements cern::laser::business::data::Alarm.

int cern::laser::business::data::AlarmImpl::hashCode  )  [inline]
 

boolean cern::laser::business::data::AlarmImpl::hasMultiplicityChildren  )  [inline, virtual]
 

Returns:

Implements cern::laser::business::data::Alarm.

boolean cern::laser::business::data::AlarmImpl::hasMultiplicityParents  )  [inline, virtual]
 

Returns:

Implements cern::laser::business::data::Alarm.

boolean cern::laser::business::data::AlarmImpl::hasNodeChildren  )  [inline, virtual]
 

Returns:

Implements cern::laser::business::data::Alarm.

boolean cern::laser::business::data::AlarmImpl::hasNodeParents  )  [inline, virtual]
 

Returns:

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::removeMultiplicityChild Alarm  multiplicityChild  )  [inline, virtual]
 

Removes the bi-directional relation between the multiplicity parent and the multiplicity child

Parameters:
multiplicityChild the alarm to remove from this alarm as a multiplicity child. This alarm will at the same time be removed from the child's multiplicity parents.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::removeNodeChild Alarm  nodeChild  )  [inline, virtual]
 

Removes the bi-directional relation between the node parent and the multiplicity child

Parameters:
nodeChild the alarm to remove from this alarm as a node child. This alarm will at the same time be removed from the child's node parents.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setAction String  action  )  [inline, virtual]
 

Parameters:
action The action to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setAlarmId String  alarmId  )  [inline, virtual]
 

Parameters:
alarmId The alarmId to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setCategories Collection  newCategories  )  [inline, virtual]
 

Parameters:
categories The categories to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setCause String  cause  )  [inline, virtual]
 

Parameters:
cause The cause to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setConsequence String  consequence  )  [inline, virtual]
 

Parameters:
consequence The consequence to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setDefinition AlarmDefinition  definition  )  [inline, virtual]
 

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setFaultCode Integer  faultCode  )  [inline, private]
 

Parameters:
faultCode The faultCode to set.

void cern::laser::business::data::AlarmImpl::setFaultFamily String  faultFamily  )  [inline, private]
 

Parameters:
faultFamily The faultFamily to set.

void cern::laser::business::data::AlarmImpl::setFaultMember String  faultMember  )  [inline, private]
 

Parameters:
faultMember The faultMember to set.

void cern::laser::business::data::AlarmImpl::setHelpURL URL  newHelpURL  )  [inline, virtual]
 

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setHelpURLString String  newHelpURL  )  [inline]
 

Parameters:
newHelpURL The helpURLString to set.

void cern::laser::business::data::AlarmImpl::setIdentifier String  identifier  )  [inline, virtual]
 

Parameters:
identifier The identifier to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setInstant Boolean  instant  )  [inline, virtual]
 

Parameters:
instant The instant to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setLocation Location  location  )  [inline, virtual]
 

Parameters:
location The location to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setMultiplicityChildrenIds Set  newMultiplicityChildrenIds  )  [inline]
 

Parameters:
newMultiplicityChildrenIds The new collection of multiplicity children to set.

void cern::laser::business::data::AlarmImpl::setMultiplicityParentIds Set  newMultiplicityParentIds  )  [inline]
 

Parameters:
newMultiplicityParentIds The new collection of multiplicity parents to set.

void cern::laser::business::data::AlarmImpl::setMultiplicityThreshold Integer  multiplicityThreshold  )  [inline, virtual]
 

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setNodeChildrenIds Set  newNnodeChildrenIds  )  [inline]
 

Parameters:
newNnodeChildrenIds The nodeChildrenId to set.

void cern::laser::business::data::AlarmImpl::setNodeParentIds Set  newNodeParentIds  )  [inline]
 

Parameters:
nodeParentIds The new collection of node parents to set.

void cern::laser::business::data::AlarmImpl::setPiquetEmail String  piquetEmail  )  [inline, virtual]
 

Parameters:
piquetEmail The piquetEmail to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setPiquetGSM String  piquetGSM  )  [inline, virtual]
 

Parameters:
piquetGSM The piquetGSM to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setPriority Integer  priority  )  [inline, virtual]
 

Parameters:
priority The priority to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setProblemDescription String  problemDescription  )  [inline, virtual]
 

Parameters:
problemDescription The problemDescription to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setResponsiblePerson ResponsiblePerson  responsiblePerson  )  [inline, virtual]
 

Parameters:
responsiblePerson The responsiblePerson to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setSource Source  source  )  [inline, virtual]
 

Parameters:
source The source to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setStatus Status  status  )  [inline, virtual]
 

Parameters:
status The status to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setSystemName String  systemName  )  [inline, virtual]
 

Parameters:
systemName The systemName to set.

Implements cern::laser::business::data::Alarm.

void cern::laser::business::data::AlarmImpl::setTriplet Triplet  triplet  )  [inline, virtual]
 

Parameters:
triplet The triplet to set.

Implements cern::laser::business::data::Alarm.

String cern::laser::business::data::AlarmImpl::toString  )  [inline]
 


Member Data Documentation

String cern::laser::business::data::AlarmImpl::action [private]
 

String cern::laser::business::data::AlarmImpl::alarmId [private]
 

Set cern::laser::business::data::AlarmImpl::categories [private]
 

String cern::laser::business::data::AlarmImpl::cause [private]
 

String cern::laser::business::data::AlarmImpl::consequence [private]
 

String cern::laser::business::data::AlarmImpl::helpURLString [private]
 

String cern::laser::business::data::AlarmImpl::identifier [private]
 

Boolean cern::laser::business::data::AlarmImpl::instant [private]
 

Location cern::laser::business::data::AlarmImpl::location [private]
 

Set cern::laser::business::data::AlarmImpl::multiplicityChildrenIds [private]
 

Set cern::laser::business::data::AlarmImpl::multiplicityParentIds [private]
 

Integer cern::laser::business::data::AlarmImpl::multiplicityThreshold [private]
 

Set cern::laser::business::data::AlarmImpl::nodeChildrenIds [private]
 

Set cern::laser::business::data::AlarmImpl::nodeParentIds [private]
 

String cern::laser::business::data::AlarmImpl::piquetEmail [private]
 

String cern::laser::business::data::AlarmImpl::piquetGSM [private]
 

Integer cern::laser::business::data::AlarmImpl::priority [private]
 

String cern::laser::business::data::AlarmImpl::problemDescription [private]
 

ResponsiblePerson cern::laser::business::data::AlarmImpl::responsiblePerson [private]
 

Source cern::laser::business::data::AlarmImpl::source [private]
 

Status cern::laser::business::data::AlarmImpl::status = Status.INITIAL_STATUS [private]
 

String cern::laser::business::data::AlarmImpl::systemName [private]
 

Triplet cern::laser::business::data::AlarmImpl::triplet = new Triplet() [private]
 


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