#include <StateRow.h>
Generated from model's revision "1.41", branch "HEAD"
Public Member Functions | |
StateTable & | getTable () 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 |
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.
void asdm::StateRow::setFromIDL | ( | StateRowIDL | x | ) | throw (ConversionException) |
Fill the values of this row from the IDL struct StateRowIDL.
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.
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.
x | The XML string being used to set the values of this row. |
bool asdm::StateRow::getSig | ( | ) | const |
Get sig.
void asdm::StateRow::setSig | ( | bool | sig | ) |
Set sig with the specified bool.
sig | The bool value to which sig is to be set. |
bool asdm::StateRow::getRef | ( | ) | const |
Get ref.
void asdm::StateRow::setRef | ( | bool | ref | ) |
Set ref with the specified bool.
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.
float asdm::StateRow::getWeight | ( | ) | const throw (IllegalAccessException) |
Get weight, which is optional.
IllegalAccessException | If weight does not exist. |
void asdm::StateRow::setWeight | ( | float | weight | ) |
Set weight with the specified float.
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.
void asdm::StateRow::setOnSky | ( | bool | onSky | ) |
Set onSky with the specified bool.
onSky | The bool value to which onSky is to be set. |
CalibrationDevice asdm::StateRow::getCalDeviceName | ( | ) | const |
Get calDeviceName.
void asdm::StateRow::setCalDeviceName | ( | CalibrationDevice | calDeviceName | ) |
Set calDeviceName with the specified CalibrationDevice.
calDeviceName | The CalibrationDevice value to which calDeviceName is to be set. |
bool asdm::StateRow::getFlagRow | ( | ) | const |
Get flagRow.
void asdm::StateRow::setFlagRow | ( | bool | flagRow | ) |
Set flagRow with the specified bool.
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.
x | a pointer on the StateRow whose required attributes of the value part will be compared with those of this. |