#include <SourceRow.h>
Generated from model's revision "1.41", branch "HEAD"
Public Member Functions | |
SourceTable & | getTable () const |
SourceRowIDL * | toIDL () const |
void | setFromIDL (SourceRowIDL x) throw (ConversionException) |
string | toXML () const |
void | setFromXML (string rowDoc) throw (ConversionException) |
int | getSourceId () const |
ArrayTimeInterval | getTimeInterval () const |
void | setTimeInterval (ArrayTimeInterval timeInterval) throw (IllegalAccessException) |
int | getNumLines () const |
void | setNumLines (int numLines) |
string | getSourceName () const |
void | setSourceName (string sourceName) |
bool | isCatalogExists () const |
string | getCatalog () const throw (IllegalAccessException) |
void | setCatalog (string catalog) |
void | clearCatalog () |
bool | isCalibrationGroupExists () const |
int | getCalibrationGroup () const throw (IllegalAccessException) |
void | setCalibrationGroup (int calibrationGroup) |
void | clearCalibrationGroup () |
string | getCode () const |
void | setCode (string code) |
vector< Angle > | getDirection () const |
void | setDirection (vector< Angle > direction) |
bool | isPositionExists () const |
vector< Length > | getPosition () const throw (IllegalAccessException) |
void | setPosition (vector< Length > position) |
void | clearPosition () |
vector< AngularRate > | getProperMotion () const |
void | setProperMotion (vector< AngularRate > properMotion) |
bool | isTransitionExists () const |
vector< string > | getTransition () const throw (IllegalAccessException) |
void | setTransition (vector< string > transition) |
void | clearTransition () |
bool | isRestFrequencyExists () const |
vector< Frequency > | getRestFrequency () const throw (IllegalAccessException) |
void | setRestFrequency (vector< Frequency > restFrequency) |
void | clearRestFrequency () |
bool | isSysVelExists () const |
vector< Speed > | getSysVel () const throw (IllegalAccessException) |
void | setSysVel (vector< Speed > sysVel) |
void | clearSysVel () |
bool | isSourceModelExists () const |
SourceModel | getSourceModel () const throw (IllegalAccessException) |
void | setSourceModel (SourceModel sourceModel) |
void | clearSourceModel () |
bool | isDeltaVelExists () const |
Speed | getDeltaVel () const throw (IllegalAccessException) |
void | setDeltaVel (Speed deltaVel) |
void | clearDeltaVel () |
bool | isRangeVelExists () const |
vector< Speed > | getRangeVel () const throw (IllegalAccessException) |
void | setRangeVel (vector< Speed > rangeVel) |
void | clearRangeVel () |
bool | isSourceParameterIdExists () const |
int | getSourceParameterId () const throw (IllegalAccessException) |
void | setSourceParameterId (int sourceParameterId) |
void | clearSourceParameterId () |
Tag | getSpectralWindowId () const |
void | setSpectralWindowId (Tag spectralWindowId) throw (IllegalAccessException) |
SpectralWindowRow * | getSpectralWindowUsingSpectralWindowId () |
vector< SourceParameterRow * > | getSourceParameters () |
bool | compareNoAutoInc (Tag spectralWindowId, ArrayTimeInterval timeInterval, int numLines, string sourceName, string code, vector< Angle > direction, vector< AngularRate > properMotion) |
bool | compareRequiredValue (int numLines, string sourceName, string code, vector< Angle > direction, vector< AngularRate > properMotion) |
bool | equalByRequiredValue (SourceRow *x) |
Friends | |
class | asdm::SourceTable |
SourceTable& asdm::SourceRow::getTable | ( | ) | const |
Return the table to which this row belongs.
SourceRowIDL* asdm::SourceRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::SourceRow::setFromIDL | ( | SourceRowIDL | x | ) | throw (ConversionException) |
Fill the values of this row from the IDL struct SourceRowIDL.
x | The IDL struct containing the values used to fill this row. |
string asdm::SourceRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
void asdm::SourceRow::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. |
int asdm::SourceRow::getSourceId | ( | ) | const |
Get sourceId.
ArrayTimeInterval asdm::SourceRow::getTimeInterval | ( | ) | const |
Get timeInterval.
void asdm::SourceRow::setTimeInterval | ( | ArrayTimeInterval | timeInterval | ) | throw (IllegalAccessException) |
Set timeInterval with the specified ArrayTimeInterval.
timeInterval | The ArrayTimeInterval value to which timeInterval is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
int asdm::SourceRow::getNumLines | ( | ) | const |
Get numLines.
void asdm::SourceRow::setNumLines | ( | int | numLines | ) |
Set numLines with the specified int.
numLines | The int value to which numLines is to be set. |
string asdm::SourceRow::getSourceName | ( | ) | const |
Get sourceName.
void asdm::SourceRow::setSourceName | ( | string | sourceName | ) |
Set sourceName with the specified string.
sourceName | The string value to which sourceName is to be set. |
bool asdm::SourceRow::isCatalogExists | ( | ) | const |
The attribute catalog is optional. Return true if this attribute exists.
string asdm::SourceRow::getCatalog | ( | ) | const throw (IllegalAccessException) |
Get catalog, which is optional.
IllegalAccessException | If catalog does not exist. |
void asdm::SourceRow::setCatalog | ( | string | catalog | ) |
Set catalog with the specified string.
catalog | The string value to which catalog is to be set. |
void asdm::SourceRow::clearCatalog | ( | ) |
Mark catalog, which is an optional field, as non-existent.
bool asdm::SourceRow::isCalibrationGroupExists | ( | ) | const |
The attribute calibrationGroup is optional. Return true if this attribute exists.
int asdm::SourceRow::getCalibrationGroup | ( | ) | const throw (IllegalAccessException) |
Get calibrationGroup, which is optional.
IllegalAccessException | If calibrationGroup does not exist. |
void asdm::SourceRow::setCalibrationGroup | ( | int | calibrationGroup | ) |
Set calibrationGroup with the specified int.
calibrationGroup | The int value to which calibrationGroup is to be set. |
void asdm::SourceRow::clearCalibrationGroup | ( | ) |
Mark calibrationGroup, which is an optional field, as non-existent.
string asdm::SourceRow::getCode | ( | ) | const |
Get code.
void asdm::SourceRow::setCode | ( | string | code | ) |
Set code with the specified string.
code | The string value to which code is to be set. |
vector<Angle > asdm::SourceRow::getDirection | ( | ) | const |
Get direction.
void asdm::SourceRow::setDirection | ( | vector< Angle > | direction | ) |
Set direction with the specified vector<Angle >.
direction | The vector<Angle > value to which direction is to be set. |
bool asdm::SourceRow::isPositionExists | ( | ) | const |
The attribute position is optional. Return true if this attribute exists.
vector<Length > asdm::SourceRow::getPosition | ( | ) | const throw (IllegalAccessException) |
Get position, which is optional.
IllegalAccessException | If position does not exist. |
void asdm::SourceRow::setPosition | ( | vector< Length > | position | ) |
Set position with the specified vector<Length >.
position | The vector<Length > value to which position is to be set. |
void asdm::SourceRow::clearPosition | ( | ) |
Mark position, which is an optional field, as non-existent.
vector<AngularRate > asdm::SourceRow::getProperMotion | ( | ) | const |
Get properMotion.
void asdm::SourceRow::setProperMotion | ( | vector< AngularRate > | properMotion | ) |
Set properMotion with the specified vector<AngularRate >.
properMotion | The vector<AngularRate > value to which properMotion is to be set. |
bool asdm::SourceRow::isTransitionExists | ( | ) | const |
The attribute transition is optional. Return true if this attribute exists.
vector<string > asdm::SourceRow::getTransition | ( | ) | const throw (IllegalAccessException) |
Get transition, which is optional.
IllegalAccessException | If transition does not exist. |
void asdm::SourceRow::setTransition | ( | vector< string > | transition | ) |
Set transition with the specified vector<string >.
transition | The vector<string > value to which transition is to be set. |
void asdm::SourceRow::clearTransition | ( | ) |
Mark transition, which is an optional field, as non-existent.
bool asdm::SourceRow::isRestFrequencyExists | ( | ) | const |
The attribute restFrequency is optional. Return true if this attribute exists.
vector<Frequency > asdm::SourceRow::getRestFrequency | ( | ) | const throw (IllegalAccessException) |
Get restFrequency, which is optional.
IllegalAccessException | If restFrequency does not exist. |
void asdm::SourceRow::setRestFrequency | ( | vector< Frequency > | restFrequency | ) |
Set restFrequency with the specified vector<Frequency >.
restFrequency | The vector<Frequency > value to which restFrequency is to be set. |
void asdm::SourceRow::clearRestFrequency | ( | ) |
Mark restFrequency, which is an optional field, as non-existent.
bool asdm::SourceRow::isSysVelExists | ( | ) | const |
The attribute sysVel is optional. Return true if this attribute exists.
vector<Speed > asdm::SourceRow::getSysVel | ( | ) | const throw (IllegalAccessException) |
Get sysVel, which is optional.
IllegalAccessException | If sysVel does not exist. |
void asdm::SourceRow::setSysVel | ( | vector< Speed > | sysVel | ) |
Set sysVel with the specified vector<Speed >.
sysVel | The vector<Speed > value to which sysVel is to be set. |
void asdm::SourceRow::clearSysVel | ( | ) |
Mark sysVel, which is an optional field, as non-existent.
bool asdm::SourceRow::isSourceModelExists | ( | ) | const |
The attribute sourceModel is optional. Return true if this attribute exists.
SourceModel asdm::SourceRow::getSourceModel | ( | ) | const throw (IllegalAccessException) |
Get sourceModel, which is optional.
IllegalAccessException | If sourceModel does not exist. |
void asdm::SourceRow::setSourceModel | ( | SourceModel | sourceModel | ) |
Set sourceModel with the specified SourceModel.
sourceModel | The SourceModel value to which sourceModel is to be set. |
void asdm::SourceRow::clearSourceModel | ( | ) |
Mark sourceModel, which is an optional field, as non-existent.
bool asdm::SourceRow::isDeltaVelExists | ( | ) | const |
The attribute deltaVel is optional. Return true if this attribute exists.
Speed asdm::SourceRow::getDeltaVel | ( | ) | const throw (IllegalAccessException) |
Get deltaVel, which is optional.
IllegalAccessException | If deltaVel does not exist. |
void asdm::SourceRow::setDeltaVel | ( | Speed | deltaVel | ) |
void asdm::SourceRow::clearDeltaVel | ( | ) |
Mark deltaVel, which is an optional field, as non-existent.
bool asdm::SourceRow::isRangeVelExists | ( | ) | const |
The attribute rangeVel is optional. Return true if this attribute exists.
vector<Speed > asdm::SourceRow::getRangeVel | ( | ) | const throw (IllegalAccessException) |
Get rangeVel, which is optional.
IllegalAccessException | If rangeVel does not exist. |
void asdm::SourceRow::setRangeVel | ( | vector< Speed > | rangeVel | ) |
Set rangeVel with the specified vector<Speed >.
rangeVel | The vector<Speed > value to which rangeVel is to be set. |
void asdm::SourceRow::clearRangeVel | ( | ) |
Mark rangeVel, which is an optional field, as non-existent.
bool asdm::SourceRow::isSourceParameterIdExists | ( | ) | const |
The attribute sourceParameterId is optional. Return true if this attribute exists.
int asdm::SourceRow::getSourceParameterId | ( | ) | const throw (IllegalAccessException) |
Get sourceParameterId, which is optional.
IllegalAccessException | If sourceParameterId does not exist. |
void asdm::SourceRow::setSourceParameterId | ( | int | sourceParameterId | ) |
Set sourceParameterId with the specified int.
sourceParameterId | The int value to which sourceParameterId is to be set. |
void asdm::SourceRow::clearSourceParameterId | ( | ) |
Mark sourceParameterId, which is an optional field, as non-existent.
Tag asdm::SourceRow::getSpectralWindowId | ( | ) | const |
Get spectralWindowId.
void asdm::SourceRow::setSpectralWindowId | ( | Tag | spectralWindowId | ) | throw (IllegalAccessException) |
Set spectralWindowId with the specified Tag.
spectralWindowId | The Tag value to which spectralWindowId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
SpectralWindowRow* asdm::SourceRow::getSpectralWindowUsingSpectralWindowId | ( | ) |
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
vector<SourceParameterRow *> asdm::SourceRow::getSourceParameters | ( | ) |
Get the collection of row in the SourceParameter table having sourceParameterId == this.sourceParameterId
bool asdm::SourceRow::compareNoAutoInc | ( | Tag | spectralWindowId, | |
ArrayTimeInterval | timeInterval, | |||
int | numLines, | |||
string | sourceName, | |||
string | code, | |||
vector< Angle > | direction, | |||
vector< AngularRate > | properMotion | |||
) |
Compare each mandatory attribute except the autoincrementable one of this SourceRow with the corresponding parameters and return true if there is a match and false otherwise.
bool asdm::SourceRow::equalByRequiredValue | ( | SourceRow * | 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 SourceRow whose required attributes of the value part will be compared with those of this. |