asdm::SourceParameterRow Class Reference

#include <SourceParameterRow.h>

List of all members.


Detailed Description

The SourceParameterRow class is a row of a SourceParameterTable.

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


Public Member Functions

SourceParameterTablegetTable () const
SourceParameterRowIDL * toIDL () const
void setFromIDL (SourceParameterRowIDL x) throw (ConversionException)
string toXML () const
void setFromXML (string rowDoc) throw (ConversionException)
ArrayTimeInterval getTimeInterval () const
void setTimeInterval (ArrayTimeInterval timeInterval) throw (IllegalAccessException)
int getNumFreq () const
void setNumFreq (int numFreq)
int getNumStokes () const
void setNumStokes (int numStokes)
int getNumDep () const
void setNumDep (int numDep)
vector< StokesParameter > getStokesParameter () const
void setStokesParameter (vector< StokesParameter > stokesParameter)
vector< vector< Flux > > getFlux () const
void setFlux (vector< vector< Flux > > flux)
bool isSizeExists () const
vector< vector< Angle > > getSize () const throw (IllegalAccessException)
void setSize (vector< vector< Angle > > size)
void clearSize ()
bool isPositionAngleExists () const
vector< AnglegetPositionAngle () const throw (IllegalAccessException)
void setPositionAngle (vector< Angle > positionAngle)
void clearPositionAngle ()
int getSourceParameterId () const
vector< FrequencygetFrequency () const
void setFrequency (vector< Frequency > frequency)
vector< FrequencygetFrequencyInterval () const
void setFrequencyInterval (vector< Frequency > frequencyInterval)
vector< vector< Flux > > getFluxErr () const
void setFluxErr (vector< vector< Flux > > fluxErr)
bool isSizeErrExists () const
vector< vector< Angle > > getSizeErr () const throw (IllegalAccessException)
void setSizeErr (vector< vector< Angle > > sizeErr)
void clearSizeErr ()
bool isPositionAngleErrExists () const
vector< AnglegetPositionAngleErr () const throw (IllegalAccessException)
void setPositionAngleErr (vector< Angle > positionAngleErr)
void clearPositionAngleErr ()
bool isDepSourceParameterIdExists () const
vector< int > getDepSourceParameterId () const throw (IllegalAccessException)
void setDepSourceParameterId (vector< int > depSourceParameterId)
void clearDepSourceParameterId ()
int getSourceId () const
void setSourceId (int sourceId) throw (IllegalAccessException)
vector< SourceRow * > getSources ()
bool compareNoAutoInc (int sourceId, ArrayTimeInterval timeInterval, int numFreq, int numStokes, int numDep, vector< StokesParameter > stokesParameter, vector< vector< Flux > > flux, vector< Frequency > frequency, vector< Frequency > frequencyInterval, vector< vector< Flux > > fluxErr)
bool compareRequiredValue (int numFreq, int numStokes, int numDep, vector< StokesParameter > stokesParameter, vector< vector< Flux > > flux, vector< Frequency > frequency, vector< Frequency > frequencyInterval, vector< vector< Flux > > fluxErr)
bool equalByRequiredValue (SourceParameterRow *x)

Friends

class asdm::SourceParameterTable


Member Function Documentation

SourceParameterTable& asdm::SourceParameterRow::getTable (  )  const

Return the table to which this row belongs.

SourceParameterRowIDL* asdm::SourceParameterRow::toIDL (  )  const

Return this row in the form of an IDL struct.

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

void asdm::SourceParameterRow::setFromIDL ( SourceParameterRowIDL  x  )  throw (ConversionException)

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

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

string asdm::SourceParameterRow::toXML (  )  const

Return this row in the form of an XML string.

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

void asdm::SourceParameterRow::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::SourceParameterRow::getTimeInterval (  )  const

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

void asdm::SourceParameterRow::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::SourceParameterRow::getNumFreq (  )  const

Get numFreq.

Returns:
numFreq as int

void asdm::SourceParameterRow::setNumFreq ( int  numFreq  ) 

Set numFreq with the specified int.

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

int asdm::SourceParameterRow::getNumStokes (  )  const

Get numStokes.

Returns:
numStokes as int

void asdm::SourceParameterRow::setNumStokes ( int  numStokes  ) 

Set numStokes with the specified int.

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

int asdm::SourceParameterRow::getNumDep (  )  const

Get numDep.

Returns:
numDep as int

void asdm::SourceParameterRow::setNumDep ( int  numDep  ) 

Set numDep with the specified int.

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

vector<StokesParameter > asdm::SourceParameterRow::getStokesParameter (  )  const

Get stokesParameter.

Returns:
stokesParameter as vector<StokesParameter >

void asdm::SourceParameterRow::setStokesParameter ( vector< StokesParameter >  stokesParameter  ) 

Set stokesParameter with the specified vector<StokesParameter >.

Parameters:
stokesParameter The vector<StokesParameter > value to which stokesParameter is to be set.

vector<vector<Flux > > asdm::SourceParameterRow::getFlux (  )  const

Get flux.

Returns:
flux as vector<vector<Flux > >

void asdm::SourceParameterRow::setFlux ( vector< vector< Flux > >  flux  ) 

Set flux with the specified vector<vector<Flux > >.

Parameters:
flux The vector<vector<Flux > > value to which flux is to be set.

bool asdm::SourceParameterRow::isSizeExists (  )  const

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

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

vector<vector<Angle > > asdm::SourceParameterRow::getSize (  )  const throw (IllegalAccessException)

Get size, which is optional.

Returns:
size as vector<vector<Angle > >
Exceptions:
IllegalAccessException If size does not exist.

void asdm::SourceParameterRow::setSize ( vector< vector< Angle > >  size  ) 

Set size with the specified vector<vector<Angle > >.

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

void asdm::SourceParameterRow::clearSize (  ) 

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

bool asdm::SourceParameterRow::isPositionAngleExists (  )  const

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

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

vector<Angle > asdm::SourceParameterRow::getPositionAngle (  )  const throw (IllegalAccessException)

Get positionAngle, which is optional.

Returns:
positionAngle as vector<Angle >
Exceptions:
IllegalAccessException If positionAngle does not exist.

void asdm::SourceParameterRow::setPositionAngle ( vector< Angle positionAngle  ) 

Set positionAngle with the specified vector<Angle >.

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

void asdm::SourceParameterRow::clearPositionAngle (  ) 

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

int asdm::SourceParameterRow::getSourceParameterId (  )  const

Get sourceParameterId.

Returns:
sourceParameterId as int

vector<Frequency > asdm::SourceParameterRow::getFrequency (  )  const

Get frequency.

Returns:
frequency as vector<Frequency >

void asdm::SourceParameterRow::setFrequency ( vector< Frequency frequency  ) 

Set frequency with the specified vector<Frequency >.

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

vector<Frequency > asdm::SourceParameterRow::getFrequencyInterval (  )  const

Get frequencyInterval.

Returns:
frequencyInterval as vector<Frequency >

void asdm::SourceParameterRow::setFrequencyInterval ( vector< Frequency frequencyInterval  ) 

Set frequencyInterval with the specified vector<Frequency >.

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

vector<vector<Flux > > asdm::SourceParameterRow::getFluxErr (  )  const

Get fluxErr.

Returns:
fluxErr as vector<vector<Flux > >

void asdm::SourceParameterRow::setFluxErr ( vector< vector< Flux > >  fluxErr  ) 

Set fluxErr with the specified vector<vector<Flux > >.

Parameters:
fluxErr The vector<vector<Flux > > value to which fluxErr is to be set.

bool asdm::SourceParameterRow::isSizeErrExists (  )  const

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

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

vector<vector<Angle > > asdm::SourceParameterRow::getSizeErr (  )  const throw (IllegalAccessException)

Get sizeErr, which is optional.

Returns:
sizeErr as vector<vector<Angle > >
Exceptions:
IllegalAccessException If sizeErr does not exist.

void asdm::SourceParameterRow::setSizeErr ( vector< vector< Angle > >  sizeErr  ) 

Set sizeErr with the specified vector<vector<Angle > >.

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

void asdm::SourceParameterRow::clearSizeErr (  ) 

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

bool asdm::SourceParameterRow::isPositionAngleErrExists (  )  const

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

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

vector<Angle > asdm::SourceParameterRow::getPositionAngleErr (  )  const throw (IllegalAccessException)

Get positionAngleErr, which is optional.

Returns:
positionAngleErr as vector<Angle >
Exceptions:
IllegalAccessException If positionAngleErr does not exist.

void asdm::SourceParameterRow::setPositionAngleErr ( vector< Angle positionAngleErr  ) 

Set positionAngleErr with the specified vector<Angle >.

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

void asdm::SourceParameterRow::clearPositionAngleErr (  ) 

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

bool asdm::SourceParameterRow::isDepSourceParameterIdExists (  )  const

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

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

vector<int > asdm::SourceParameterRow::getDepSourceParameterId (  )  const throw (IllegalAccessException)

Get depSourceParameterId, which is optional.

Returns:
depSourceParameterId as vector<int >
Exceptions:
IllegalAccessException If depSourceParameterId does not exist.

void asdm::SourceParameterRow::setDepSourceParameterId ( vector< int >  depSourceParameterId  ) 

Set depSourceParameterId with the specified vector<int >.

Parameters:
depSourceParameterId The vector<int > value to which depSourceParameterId is to be set.

void asdm::SourceParameterRow::clearDepSourceParameterId (  ) 

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

int asdm::SourceParameterRow::getSourceId (  )  const

Get sourceId.

Returns:
sourceId as int

void asdm::SourceParameterRow::setSourceId ( int  sourceId  )  throw (IllegalAccessException)

Set sourceId with the specified int.

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

vector<SourceRow *> asdm::SourceParameterRow::getSources (  ) 

Get the collection of row in the Source table having sourceId == this.sourceId

Returns:
a vector of SourceRow *

bool asdm::SourceParameterRow::compareNoAutoInc ( int  sourceId,
ArrayTimeInterval  timeInterval,
int  numFreq,
int  numStokes,
int  numDep,
vector< StokesParameter >  stokesParameter,
vector< vector< Flux > >  flux,
vector< Frequency frequency,
vector< Frequency frequencyInterval,
vector< vector< Flux > >  fluxErr 
)

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

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