#include <MainRow.h>
Generated from model's revision "1.41", branch "HEAD"
Public Member Functions | |
MainTable & | getTable () const |
MainRowIDL * | toIDL () const |
void | setFromIDL (MainRowIDL x) throw (ConversionException) |
string | toXML () const |
void | setFromXML (string rowDoc) throw (ConversionException) |
ArrayTime | getTime () const |
void | setTime (ArrayTime time) throw (IllegalAccessException) |
int | getScanNumber () const |
void | setScanNumber (int scanNumber) |
int | getSubscanNumber () const |
void | setSubscanNumber (int subscanNumber) |
TimeSampling | getTimeSampling () const |
void | setTimeSampling (TimeSampling timeSampling) |
int | getNumIntegration () const |
void | setNumIntegration (int numIntegration) |
EntityRef | getDataOid () const |
void | setDataOid (EntityRef dataOid) |
bool | getFlagRow () const |
void | setFlagRow (bool flagRow) |
Interval | getInterval () const |
void | setInterval (Interval interval) |
Tag | getConfigDescriptionId () const |
void | setConfigDescriptionId (Tag configDescriptionId) throw (IllegalAccessException) |
Tag | getExecBlockId () const |
void | setExecBlockId (Tag execBlockId) |
Tag | getFieldId () const |
void | setFieldId (Tag fieldId) throw (IllegalAccessException) |
vector< Tag > | getStateId () const |
void | setStateId (vector< Tag > stateId) |
ConfigDescriptionRow * | getConfigDescriptionUsingConfigDescriptionId () |
FieldRow * | getFieldUsingFieldId () |
void | setStateId (int i, Tag stateId) throw (OutOfBoundsException) |
void | addStateId (Tag id) |
void | addStateId (const vector< Tag > &id) |
const Tag | getStateId (int i) |
StateRow * | getState (int i) |
vector< StateRow * > | getStates () |
ExecBlockRow * | getExecBlockUsingExecBlockId () |
bool | compareNoAutoInc (Tag configDescriptionId, Tag fieldId, ArrayTime time, Tag execBlockId, vector< Tag > stateId, int scanNumber, int subscanNumber, TimeSampling timeSampling, int numIntegration, EntityRef dataOid, bool flagRow, Interval interval) |
bool | compareRequiredValue (Tag execBlockId, vector< Tag > stateId, int scanNumber, int subscanNumber, TimeSampling timeSampling, int numIntegration, EntityRef dataOid, bool flagRow, Interval interval) |
bool | equalByRequiredValue (MainRow *x) |
Friends | |
class | asdm::MainTable |
MainTable& asdm::MainRow::getTable | ( | ) | const |
Return the table to which this row belongs.
MainRowIDL* asdm::MainRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::MainRow::setFromIDL | ( | MainRowIDL | x | ) | throw (ConversionException) |
Fill the values of this row from the IDL struct MainRowIDL.
x | The IDL struct containing the values used to fill this row. |
string asdm::MainRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
void asdm::MainRow::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. |
void asdm::MainRow::setTime | ( | ArrayTime | time | ) | throw (IllegalAccessException) |
Set time with the specified ArrayTime.
time | The ArrayTime value to which time is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
int asdm::MainRow::getScanNumber | ( | ) | const |
Get scanNumber.
void asdm::MainRow::setScanNumber | ( | int | scanNumber | ) |
Set scanNumber with the specified int.
scanNumber | The int value to which scanNumber is to be set. |
int asdm::MainRow::getSubscanNumber | ( | ) | const |
Get subscanNumber.
void asdm::MainRow::setSubscanNumber | ( | int | subscanNumber | ) |
Set subscanNumber with the specified int.
subscanNumber | The int value to which subscanNumber is to be set. |
TimeSampling asdm::MainRow::getTimeSampling | ( | ) | const |
Get timeSampling.
void asdm::MainRow::setTimeSampling | ( | TimeSampling | timeSampling | ) |
Set timeSampling with the specified TimeSampling.
timeSampling | The TimeSampling value to which timeSampling is to be set. |
int asdm::MainRow::getNumIntegration | ( | ) | const |
Get numIntegration.
void asdm::MainRow::setNumIntegration | ( | int | numIntegration | ) |
Set numIntegration with the specified int.
numIntegration | The int value to which numIntegration is to be set. |
void asdm::MainRow::setDataOid | ( | EntityRef | dataOid | ) |
bool asdm::MainRow::getFlagRow | ( | ) | const |
Get flagRow.
void asdm::MainRow::setFlagRow | ( | bool | flagRow | ) |
Set flagRow with the specified bool.
flagRow | The bool value to which flagRow is to be set. |
void asdm::MainRow::setInterval | ( | Interval | interval | ) |
Tag asdm::MainRow::getConfigDescriptionId | ( | ) | const |
Get configDescriptionId.
void asdm::MainRow::setConfigDescriptionId | ( | Tag | configDescriptionId | ) | throw (IllegalAccessException) |
Set configDescriptionId with the specified Tag.
configDescriptionId | The Tag value to which configDescriptionId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::MainRow::setExecBlockId | ( | Tag | execBlockId | ) |
void asdm::MainRow::setFieldId | ( | Tag | fieldId | ) | throw (IllegalAccessException) |
Set fieldId with the specified Tag.
fieldId | The Tag value to which fieldId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
vector<Tag> asdm::MainRow::getStateId | ( | ) | const |
Get stateId.
void asdm::MainRow::setStateId | ( | vector< Tag > | stateId | ) |
Set stateId with the specified vector<Tag> .
stateId | The vector<Tag> value to which stateId is to be set. |
ConfigDescriptionRow* asdm::MainRow::getConfigDescriptionUsingConfigDescriptionId | ( | ) |
configDescriptionId pointer to the row in the ConfigDescription table having ConfigDescription.configDescriptionId == configDescriptionId
FieldRow* asdm::MainRow::getFieldUsingFieldId | ( | ) |
fieldId pointer to the row in the Field table having Field.fieldId == fieldId
void asdm::MainRow::setStateId | ( | int | i, | |
Tag | stateId | |||
) | throw (OutOfBoundsException) |
Set stateId[i] with the specified Tag.
i | The index in stateId where to set the Tag value. | |
stateId | The Tag value to which stateId[i] is to be set. |
OutOfBoundsException |
void asdm::MainRow::addStateId | ( | Tag | id | ) |
void asdm::MainRow::addStateId | ( | const vector< Tag > & | id | ) |
const Tag asdm::MainRow::getStateId | ( | int | i | ) |
StateRow* asdm::MainRow::getState | ( | int | i | ) |
vector<StateRow *> asdm::MainRow::getStates | ( | ) |
Returns the vector of StateRow* linked to this row via the Tags stored in stateId
ExecBlockRow* asdm::MainRow::getExecBlockUsingExecBlockId | ( | ) |
execBlockId pointer to the row in the ExecBlock table having ExecBlock.execBlockId == execBlockId
bool asdm::MainRow::compareNoAutoInc | ( | Tag | configDescriptionId, | |
Tag | fieldId, | |||
ArrayTime | time, | |||
Tag | execBlockId, | |||
vector< Tag > | stateId, | |||
int | scanNumber, | |||
int | subscanNumber, | |||
TimeSampling | timeSampling, | |||
int | numIntegration, | |||
EntityRef | dataOid, | |||
bool | flagRow, | |||
Interval | interval | |||
) |
Compare each mandatory attribute except the autoincrementable one of this MainRow with the corresponding parameters and return true if there is a match and false otherwise.
bool asdm::MainRow::equalByRequiredValue | ( | MainRow * | 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 MainRow whose required attributes of the value part will be compared with those of this. |