asdm::SourceRow Class Reference

#include <SourceRow.h>

List of all members.


Detailed Description

The SourceRow class is a row of a SourceTable.

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


Public Member Functions

SourceTablegetTable () 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)
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< AnglegetDirection () const
void setDirection (vector< Angle > direction)
bool isPositionExists () const
vector< LengthgetPosition () const throw (IllegalAccessException)
void setPosition (vector< Length > position)
void clearPosition ()
vector< AngularRategetProperMotion () 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< FrequencygetRestFrequency () const throw (IllegalAccessException)
void setRestFrequency (vector< Frequency > restFrequency)
void clearRestFrequency ()
bool isSysVelExists () const
vector< SpeedgetSysVel () const throw (IllegalAccessException)
void setSysVel (vector< Speed > sysVel)
void clearSysVel ()
bool isSourceModelExists () const
SourceModelMod::SourceModel getSourceModel () const throw (IllegalAccessException)
void setSourceModel (SourceModelMod::SourceModel sourceModel)
void clearSourceModel ()
bool isDeltaVelExists () const
Speed getDeltaVel () const throw (IllegalAccessException)
void setDeltaVel (Speed deltaVel)
void clearDeltaVel ()
bool isRangeVelExists () const
vector< SpeedgetRangeVel () 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)
SpectralWindowRowgetSpectralWindowUsingSpectralWindowId ()
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)


Member Function Documentation

void asdm::SourceRow::clearCalibrationGroup  ) 
 

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

void asdm::SourceRow::clearCatalog  ) 
 

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

void asdm::SourceRow::clearDeltaVel  ) 
 

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

void asdm::SourceRow::clearPosition  ) 
 

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

void asdm::SourceRow::clearRangeVel  ) 
 

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

void asdm::SourceRow::clearRestFrequency  ) 
 

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

void asdm::SourceRow::clearSourceModel  ) 
 

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

void asdm::SourceRow::clearSourceParameterId  ) 
 

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

void asdm::SourceRow::clearSysVel  ) 
 

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

void asdm::SourceRow::clearTransition  ) 
 

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

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.

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

int asdm::SourceRow::getCalibrationGroup  )  const throw (IllegalAccessException)
 

Get calibrationGroup, which is optional.

Returns:
calibrationGroup as int
Exceptions:
IllegalAccessException If calibrationGroup does not exist.

string asdm::SourceRow::getCatalog  )  const throw (IllegalAccessException)
 

Get catalog, which is optional.

Returns:
catalog as string
Exceptions:
IllegalAccessException If catalog does not exist.

string asdm::SourceRow::getCode  )  const
 

Get code.

Returns:
code as string

Speed asdm::SourceRow::getDeltaVel  )  const throw (IllegalAccessException)
 

Get deltaVel, which is optional.

Returns:
deltaVel as Speed
Exceptions:
IllegalAccessException If deltaVel does not exist.

vector<Angle > asdm::SourceRow::getDirection  )  const
 

Get direction.

Returns:
direction as vector<Angle >

int asdm::SourceRow::getNumLines  )  const
 

Get numLines.

Returns:
numLines as int

vector<Length > asdm::SourceRow::getPosition  )  const throw (IllegalAccessException)
 

Get position, which is optional.

Returns:
position as vector<Length >
Exceptions:
IllegalAccessException If position does not exist.

vector<AngularRate > asdm::SourceRow::getProperMotion  )  const
 

Get properMotion.

Returns:
properMotion as vector<AngularRate >

vector<Speed > asdm::SourceRow::getRangeVel  )  const throw (IllegalAccessException)
 

Get rangeVel, which is optional.

Returns:
rangeVel as vector<Speed >
Exceptions:
IllegalAccessException If rangeVel does not exist.

vector<Frequency > asdm::SourceRow::getRestFrequency  )  const throw (IllegalAccessException)
 

Get restFrequency, which is optional.

Returns:
restFrequency as vector<Frequency >
Exceptions:
IllegalAccessException If restFrequency does not exist.

int asdm::SourceRow::getSourceId  )  const
 

Get sourceId.

Returns:
sourceId as int

SourceModelMod::SourceModel asdm::SourceRow::getSourceModel  )  const throw (IllegalAccessException)
 

Get sourceModel, which is optional.

Returns:
sourceModel as SourceModelMod::SourceModel
Exceptions:
IllegalAccessException If sourceModel does not exist.

string asdm::SourceRow::getSourceName  )  const
 

Get sourceName.

Returns:
sourceName as string

int asdm::SourceRow::getSourceParameterId  )  const throw (IllegalAccessException)
 

Get sourceParameterId, which is optional.

Returns:
sourceParameterId as int
Exceptions:
IllegalAccessException If sourceParameterId does not exist.

vector<SourceParameterRow *> asdm::SourceRow::getSourceParameters  ) 
 

Get the collection of row in the SourceParameter table having sourceParameterId == this.sourceParameterId

Returns:
a vector of SourceParameterRow *

Tag asdm::SourceRow::getSpectralWindowId  )  const
 

Get spectralWindowId.

Returns:
spectralWindowId as Tag

SpectralWindowRow* asdm::SourceRow::getSpectralWindowUsingSpectralWindowId  ) 
 

spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId

Returns:
a SpectralWindowRow*

vector<Speed > asdm::SourceRow::getSysVel  )  const throw (IllegalAccessException)
 

Get sysVel, which is optional.

Returns:
sysVel as vector<Speed >
Exceptions:
IllegalAccessException If sysVel does not exist.

SourceTable& asdm::SourceRow::getTable  )  const
 

Return the table to which this row belongs.

ArrayTimeInterval asdm::SourceRow::getTimeInterval  )  const
 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

vector<string > asdm::SourceRow::getTransition  )  const throw (IllegalAccessException)
 

Get transition, which is optional.

Returns:
transition as vector<string >
Exceptions:
IllegalAccessException If transition does not exist.

bool asdm::SourceRow::isCalibrationGroupExists  )  const
 

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

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

bool asdm::SourceRow::isCatalogExists  )  const
 

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

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

bool asdm::SourceRow::isDeltaVelExists  )  const
 

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

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

bool asdm::SourceRow::isPositionExists  )  const
 

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

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

bool asdm::SourceRow::isRangeVelExists  )  const
 

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

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

bool asdm::SourceRow::isRestFrequencyExists  )  const
 

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

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

bool asdm::SourceRow::isSourceModelExists  )  const
 

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

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

bool asdm::SourceRow::isSourceParameterIdExists  )  const
 

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

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

bool asdm::SourceRow::isSysVelExists  )  const
 

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

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

bool asdm::SourceRow::isTransitionExists  )  const
 

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

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

void asdm::SourceRow::setCalibrationGroup int  calibrationGroup  ) 
 

Set calibrationGroup with the specified int.

Parameters:
calibrationGroup The int value to which calibrationGroup is to be set.

void asdm::SourceRow::setCatalog string  catalog  ) 
 

Set catalog with the specified string.

Parameters:
catalog The string value to which catalog is to be set.

void asdm::SourceRow::setCode string  code  ) 
 

Set code with the specified string.

Parameters:
code The string value to which code is to be set.

void asdm::SourceRow::setDeltaVel Speed  deltaVel  ) 
 

Set deltaVel with the specified Speed.

Parameters:
deltaVel The Speed value to which deltaVel is to be set.

void asdm::SourceRow::setDirection vector< Angle direction  ) 
 

Set direction with the specified vector<Angle >.

Parameters:
direction The vector<Angle > value to which direction is to be set.

void asdm::SourceRow::setFromIDL SourceRowIDL  x  )  throw (ConversionException)
 

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

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

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.

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

void asdm::SourceRow::setNumLines int  numLines  ) 
 

Set numLines with the specified int.

Parameters:
numLines The int value to which numLines is to be set.

void asdm::SourceRow::setPosition vector< Length position  ) 
 

Set position with the specified vector<Length >.

Parameters:
position The vector<Length > value to which position is to be set.

void asdm::SourceRow::setProperMotion vector< AngularRate properMotion  ) 
 

Set properMotion with the specified vector<AngularRate >.

Parameters:
properMotion The vector<AngularRate > value to which properMotion is to be set.

void asdm::SourceRow::setRangeVel vector< Speed rangeVel  ) 
 

Set rangeVel with the specified vector<Speed >.

Parameters:
rangeVel The vector<Speed > value to which rangeVel is to be set.

void asdm::SourceRow::setRestFrequency vector< Frequency restFrequency  ) 
 

Set restFrequency with the specified vector<Frequency >.

Parameters:
restFrequency The vector<Frequency > value to which restFrequency is to be set.

void asdm::SourceRow::setSourceModel SourceModelMod::SourceModel  sourceModel  ) 
 

Set sourceModel with the specified SourceModelMod::SourceModel.

Parameters:
sourceModel The SourceModelMod::SourceModel value to which sourceModel is to be set.

void asdm::SourceRow::setSourceName string  sourceName  ) 
 

Set sourceName with the specified string.

Parameters:
sourceName The string value to which sourceName is to be set.

void asdm::SourceRow::setSourceParameterId int  sourceParameterId  ) 
 

Set sourceParameterId with the specified int.

Parameters:
sourceParameterId The int value to which sourceParameterId is to be set.

void asdm::SourceRow::setSpectralWindowId Tag  spectralWindowId  ) 
 

Set spectralWindowId with the specified Tag.

Parameters:
spectralWindowId The Tag value to which spectralWindowId is to be set.
Exceptions:
IllegalAccessException If an attempt is made to change this field after is has been added to the table.

void asdm::SourceRow::setSysVel vector< Speed sysVel  ) 
 

Set sysVel with the specified vector<Speed >.

Parameters:
sysVel The vector<Speed > value to which sysVel is to be set.

void asdm::SourceRow::setTimeInterval ArrayTimeInterval  timeInterval  ) 
 

Set timeInterval with the specified ArrayTimeInterval.

Parameters:
timeInterval The ArrayTimeInterval value to which timeInterval is to be set.
Exceptions:
IllegalAccessException If an attempt is made to change this field after is has been added to the table.

void asdm::SourceRow::setTransition vector< string >  transition  ) 
 

Set transition with the specified vector<string >.

Parameters:
transition The vector<string > value to which transition is to be set.

SourceRowIDL* asdm::SourceRow::toIDL  )  const
 

Return this row in the form of an IDL struct.

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

string asdm::SourceRow::toXML  )  const
 

Return this row in the form of an XML string.

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


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 17:43:47 2008 for ASDM C++ Implementation by doxygen 1.3.8