asdm::StateRow Class Reference

#include <StateRow.h>

List of all members.


Detailed Description

The StateRow class is a row of a StateTable.

Generated from model's revision "1.41", branch "HEAD"


Public Member Functions

StateTablegetTable () const
StateRowIDL * toIDL () const
void setFromIDL (StateRowIDL x) throw (ConversionException)
string toXML () const
void setFromXML (string rowDoc) throw (ConversionException)
Tag getStateId () const
bool getSig () const
void setSig (bool sig)
bool getRef () const
void setRef (bool ref)
bool isWeightExists () const
float getWeight () const throw (IllegalAccessException)
void setWeight (float weight)
void clearWeight ()
bool getOnSky () const
void setOnSky (bool onSky)
CalibrationDevice getCalDeviceName () const
void setCalDeviceName (CalibrationDevice calDeviceName)
bool getFlagRow () const
void setFlagRow (bool flagRow)
bool compareNoAutoInc (bool sig, bool ref, bool onSky, CalibrationDevice calDeviceName, bool flagRow)
bool compareRequiredValue (bool sig, bool ref, bool onSky, CalibrationDevice calDeviceName, bool flagRow)
bool equalByRequiredValue (StateRow *x)

Friends

class asdm::StateTable


Member Function Documentation

StateTable& asdm::StateRow::getTable (  )  const

Return the table to which this row belongs.

StateRowIDL* asdm::StateRow::toIDL (  )  const

Return this row in the form of an IDL struct.

Returns:
The values of this row as a StateRowIDL struct.

void asdm::StateRow::setFromIDL ( StateRowIDL  x  )  throw (ConversionException)

Fill the values of this row from the IDL struct StateRowIDL.

Parameters:
x The IDL struct containing the values used to fill this row.

string asdm::StateRow::toXML (  )  const

Return this row in the form of an XML string.

Returns:
The values of this row as an XML string.

void asdm::StateRow::setFromXML ( string  rowDoc  )  throw (ConversionException)

Fill the values of this row from an XML string that was produced by the toXML() method.

Parameters:
x The XML string being used to set the values of this row.

Tag asdm::StateRow::getStateId (  )  const

Get stateId.

Returns:
stateId as Tag

bool asdm::StateRow::getSig (  )  const

Get sig.

Returns:
sig as bool

void asdm::StateRow::setSig ( bool  sig  ) 

Set sig with the specified bool.

Parameters:
sig The bool value to which sig is to be set.

bool asdm::StateRow::getRef (  )  const

Get ref.

Returns:
ref as bool

void asdm::StateRow::setRef ( bool  ref  ) 

Set ref with the specified bool.

Parameters:
ref The bool value to which ref is to be set.

bool asdm::StateRow::isWeightExists (  )  const

The attribute weight is optional. Return true if this attribute exists.

Returns:
true if and only if the weight attribute exists.

float asdm::StateRow::getWeight (  )  const throw (IllegalAccessException)

Get weight, which is optional.

Returns:
weight as float
Exceptions:
IllegalAccessException If weight does not exist.

void asdm::StateRow::setWeight ( float  weight  ) 

Set weight with the specified float.

Parameters:
weight The float value to which weight is to be set.

void asdm::StateRow::clearWeight (  ) 

Mark weight, which is an optional field, as non-existent.

bool asdm::StateRow::getOnSky (  )  const

Get onSky.

Returns:
onSky as bool

void asdm::StateRow::setOnSky ( bool  onSky  ) 

Set onSky with the specified bool.

Parameters:
onSky The bool value to which onSky is to be set.

CalibrationDevice asdm::StateRow::getCalDeviceName (  )  const

Get calDeviceName.

Returns:
calDeviceName as CalibrationDevice

void asdm::StateRow::setCalDeviceName ( CalibrationDevice  calDeviceName  ) 

Set calDeviceName with the specified CalibrationDevice.

Parameters:
calDeviceName The CalibrationDevice value to which calDeviceName is to be set.

bool asdm::StateRow::getFlagRow (  )  const

Get flagRow.

Returns:
flagRow as bool

void asdm::StateRow::setFlagRow ( bool  flagRow  ) 

Set flagRow with the specified bool.

Parameters:
flagRow The bool value to which flagRow is to be set.

bool asdm::StateRow::compareNoAutoInc ( bool  sig,
bool  ref,
bool  onSky,
CalibrationDevice  calDeviceName,
bool  flagRow 
)

Compare each mandatory attribute except the autoincrementable one of this StateRow with the corresponding parameters and return true if there is a match and false otherwise.

bool asdm::StateRow::equalByRequiredValue ( StateRow x  ) 

Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.

Parameters:
x a pointer on the StateRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 16:46:51 2007 for ASDM C++ Implementation by  doxygen 1.5.1