com::cosylab::acs::laser::dao::xml::Threshold Class Reference

Collaboration diagram for com::cosylab::acs::laser::dao::xml::Threshold:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Threshold ()
void deleteValue ()
com.cosylab.acs.laser.dao.xml.AlarmDefinition getAlarmDefinition ()
int getValue ()
boolean hasValue ()
boolean isValid ()
void marshal (java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
void marshal (org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
void setAlarmDefinition (com.cosylab.acs.laser.dao.xml.AlarmDefinition alarmDefinition)
void setValue (int value)
void validate () throws org.exolab.castor.xml.ValidationException

Static Public Member Functions

static java.lang.Object unmarshal (java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException

Private Attributes

int _value
boolean _has_value
com.cosylab.acs.laser.dao.xml.AlarmDefinition _alarmDefinition

Detailed Description

Class Threshold.

Version:
Revision
1.3
Date
2006/09/25 08:52:36

Constructor & Destructor Documentation

com::cosylab::acs::laser::dao::xml::Threshold::Threshold (  )  [inline]

Member Function Documentation

void com::cosylab::acs::laser::dao::xml::Threshold::deleteValue (  )  [inline]

Method deleteValue

References _has_value.

com.cosylab.acs.laser.dao.xml.AlarmDefinition com::cosylab::acs::laser::dao::xml::Threshold::getAlarmDefinition (  )  [inline]

Returns the value of field 'alarmDefinition'. The field 'alarmDefinition' has the following description: LASER alarm definition

Returns:
AlarmDefinition
the value of field 'alarmDefinition'.

References _alarmDefinition.

Referenced by com::cosylab::acs::laser::dao::ACSAlarmDAOImpl::loadReductionRules(), cl::utfsm::acs::acg::dao::ACSAlarmDAOImpl::loadReductionRules(), and com::cosylab::acs::laser::dao::xml::ThresholdDescriptor::ThresholdDescriptor().

int com::cosylab::acs::laser::dao::xml::Threshold::getValue (  )  [inline]

Returns the value of field 'value'.

Returns:
int
the value of field 'value'.

References _value.

Referenced by com::cosylab::acs::laser::dao::xml::ThresholdDescriptor::ThresholdDescriptor().

boolean com::cosylab::acs::laser::dao::xml::Threshold::hasValue (  )  [inline]

Method hasValue

Returns:
boolean

References _has_value.

Referenced by com::cosylab::acs::laser::dao::xml::ThresholdDescriptor::ThresholdDescriptor().

boolean com::cosylab::acs::laser::dao::xml::Threshold::isValid (  )  [inline]

Method isValid

Returns:
boolean

References validate().

void com::cosylab::acs::laser::dao::xml::Threshold::marshal ( org.xml.sax.ContentHandler  handler  )  throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException [inline]

Method marshal

Parameters:
handler 
void com::cosylab::acs::laser::dao::xml::Threshold::marshal ( java.io.Writer  out  )  throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException [inline]

Method marshal

Parameters:
out 
void com::cosylab::acs::laser::dao::xml::Threshold::setAlarmDefinition ( com.cosylab.acs.laser.dao.xml.AlarmDefinition  alarmDefinition  )  [inline]

Sets the value of field 'alarmDefinition'. The field 'alarmDefinition' has the following description: LASER alarm definition

Parameters:
alarmDefinition the value of field 'alarmDefinition'.

References _alarmDefinition.

Referenced by com::cosylab::acs::laser::dao::xml::ThresholdDescriptor::ThresholdDescriptor().

void com::cosylab::acs::laser::dao::xml::Threshold::setValue ( int  value  )  [inline]

Sets the value of field 'value'.

Parameters:
value the value of field 'value'.

References _has_value, and _value.

Referenced by com::cosylab::acs::laser::dao::xml::ThresholdDescriptor::ThresholdDescriptor().

static java.lang.Object com::cosylab::acs::laser::dao::xml::Threshold::unmarshal ( java.io.Reader  reader  )  throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException [inline, static]

Method unmarshal

Parameters:
reader 
Returns:
Object
void com::cosylab::acs::laser::dao::xml::Threshold::validate (  )  throws org.exolab.castor.xml.ValidationException [inline]

Method validate

Referenced by isValid().


Member Data Documentation

LASER alarm definition

Referenced by getAlarmDefinition(), and setAlarmDefinition().

keeps track of state for field: _value

Referenced by deleteValue(), hasValue(), and setValue().

Field _value

Referenced by getValue(), and setValue().


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

Generated by  doxygen 1.6.2