asdm::CalDeviceRow Class Reference

#include <CalDeviceRow.h>

List of all members.


Detailed Description

The CalDeviceRow class is a row of a CalDeviceTable.

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


Public Member Functions

CalDeviceTablegetTable () const
CalDeviceRowIDL * toIDL () const
void setFromIDL (CalDeviceRowIDL x) throw (ConversionException)
string toXML () const
void setFromXML (string rowDoc) throw (ConversionException)
ArrayTimeInterval getTimeInterval () const
void setTimeInterval (ArrayTimeInterval timeInterval) throw (IllegalAccessException)
int getNumCalload () const
void setNumCalload (int numCalload)
bool isNoiseCalExists () const
vector< double > getNoiseCal () const throw (IllegalAccessException)
void setNoiseCal (vector< double > noiseCal)
void clearNoiseCal ()
bool isTemperatureLoadExists () const
vector< TemperaturegetTemperatureLoad () const throw (IllegalAccessException)
void setTemperatureLoad (vector< Temperature > temperatureLoad)
void clearTemperatureLoad ()
bool isCalEffExists () const
vector< vector< float > > getCalEff () const throw (IllegalAccessException)
void setCalEff (vector< vector< float > > calEff)
void clearCalEff ()
vector< CalibrationDevice > getCalLoadName () const
void setCalLoadName (vector< CalibrationDevice > calLoadName)
Tag getAntennaId () const
void setAntennaId (Tag antennaId) throw (IllegalAccessException)
int getFeedId () const
void setFeedId (int feedId) throw (IllegalAccessException)
Tag getSpectralWindowId () const
void setSpectralWindowId (Tag spectralWindowId) throw (IllegalAccessException)
AntennaRowgetAntennaUsingAntennaId ()
SpectralWindowRowgetSpectralWindowUsingSpectralWindowId ()
vector< FeedRow * > getFeeds ()
bool compareNoAutoInc (Tag antennaId, int feedId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int numCalload, vector< CalibrationDevice > calLoadName)
bool compareRequiredValue (int numCalload, vector< CalibrationDevice > calLoadName)
bool equalByRequiredValue (CalDeviceRow *x)

Friends

class asdm::CalDeviceTable


Member Function Documentation

CalDeviceTable& asdm::CalDeviceRow::getTable (  )  const

Return the table to which this row belongs.

CalDeviceRowIDL* asdm::CalDeviceRow::toIDL (  )  const

Return this row in the form of an IDL struct.

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

void asdm::CalDeviceRow::setFromIDL ( CalDeviceRowIDL  x  )  throw (ConversionException)

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

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

string asdm::CalDeviceRow::toXML (  )  const

Return this row in the form of an XML string.

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

void asdm::CalDeviceRow::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.

ArrayTimeInterval asdm::CalDeviceRow::getTimeInterval (  )  const

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

void asdm::CalDeviceRow::setTimeInterval ( ArrayTimeInterval  timeInterval  )  throw (IllegalAccessException)

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.

int asdm::CalDeviceRow::getNumCalload (  )  const

Get numCalload.

Returns:
numCalload as int

void asdm::CalDeviceRow::setNumCalload ( int  numCalload  ) 

Set numCalload with the specified int.

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

bool asdm::CalDeviceRow::isNoiseCalExists (  )  const

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

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

vector<double > asdm::CalDeviceRow::getNoiseCal (  )  const throw (IllegalAccessException)

Get noiseCal, which is optional.

Returns:
noiseCal as vector<double >
Exceptions:
IllegalAccessException If noiseCal does not exist.

void asdm::CalDeviceRow::setNoiseCal ( vector< double >  noiseCal  ) 

Set noiseCal with the specified vector<double >.

Parameters:
noiseCal The vector<double > value to which noiseCal is to be set.

void asdm::CalDeviceRow::clearNoiseCal (  ) 

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

bool asdm::CalDeviceRow::isTemperatureLoadExists (  )  const

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

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

vector<Temperature > asdm::CalDeviceRow::getTemperatureLoad (  )  const throw (IllegalAccessException)

Get temperatureLoad, which is optional.

Returns:
temperatureLoad as vector<Temperature >
Exceptions:
IllegalAccessException If temperatureLoad does not exist.

void asdm::CalDeviceRow::setTemperatureLoad ( vector< Temperature temperatureLoad  ) 

Set temperatureLoad with the specified vector<Temperature >.

Parameters:
temperatureLoad The vector<Temperature > value to which temperatureLoad is to be set.

void asdm::CalDeviceRow::clearTemperatureLoad (  ) 

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

bool asdm::CalDeviceRow::isCalEffExists (  )  const

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

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

vector<vector<float > > asdm::CalDeviceRow::getCalEff (  )  const throw (IllegalAccessException)

Get calEff, which is optional.

Returns:
calEff as vector<vector<float > >
Exceptions:
IllegalAccessException If calEff does not exist.

void asdm::CalDeviceRow::setCalEff ( vector< vector< float > >  calEff  ) 

Set calEff with the specified vector<vector<float > >.

Parameters:
calEff The vector<vector<float > > value to which calEff is to be set.

void asdm::CalDeviceRow::clearCalEff (  ) 

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

vector<CalibrationDevice > asdm::CalDeviceRow::getCalLoadName (  )  const

Get calLoadName.

Returns:
calLoadName as vector<CalibrationDevice >

void asdm::CalDeviceRow::setCalLoadName ( vector< CalibrationDevice >  calLoadName  ) 

Set calLoadName with the specified vector<CalibrationDevice >.

Parameters:
calLoadName The vector<CalibrationDevice > value to which calLoadName is to be set.

Tag asdm::CalDeviceRow::getAntennaId (  )  const

Get antennaId.

Returns:
antennaId as Tag

void asdm::CalDeviceRow::setAntennaId ( Tag  antennaId  )  throw (IllegalAccessException)

Set antennaId with the specified Tag.

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

int asdm::CalDeviceRow::getFeedId (  )  const

Get feedId.

Returns:
feedId as int

void asdm::CalDeviceRow::setFeedId ( int  feedId  )  throw (IllegalAccessException)

Set feedId with the specified int.

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

Tag asdm::CalDeviceRow::getSpectralWindowId (  )  const

Get spectralWindowId.

Returns:
spectralWindowId as Tag

void asdm::CalDeviceRow::setSpectralWindowId ( Tag  spectralWindowId  )  throw (IllegalAccessException)

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.

AntennaRow* asdm::CalDeviceRow::getAntennaUsingAntennaId (  ) 

antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId

Returns:
a AntennaRow*

SpectralWindowRow* asdm::CalDeviceRow::getSpectralWindowUsingSpectralWindowId (  ) 

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

Returns:
a SpectralWindowRow*

vector<FeedRow *> asdm::CalDeviceRow::getFeeds (  ) 

Get the collection of row in the Feed table having feedId == this.feedId

Returns:
a vector of FeedRow *

bool asdm::CalDeviceRow::compareNoAutoInc ( Tag  antennaId,
int  feedId,
Tag  spectralWindowId,
ArrayTimeInterval  timeInterval,
int  numCalload,
vector< CalibrationDevice >  calLoadName 
)

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

bool asdm::CalDeviceRow::equalByRequiredValue ( CalDeviceRow 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 CalDeviceRow 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:48 2007 for ASDM C++ Implementation by  doxygen 1.5.1