asdm::ExecBlockRow Class Reference

#include <ExecBlockRow.h>

List of all members.


Detailed Description

The ExecBlockRow class is a row of a ExecBlockTable.

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


Public Member Functions

ExecBlockTablegetTable () const
ExecBlockRowIDL * toIDL () const
void setFromIDL (ExecBlockRowIDL x) throw (ConversionException)
string toXML () const
void setFromXML (string rowDoc) throw (ConversionException)
Tag getExecBlockId () const
int getExecBlockNum () const
void setExecBlockNum (int execBlockNum)
string getTelescopeName () const
void setTelescopeName (string telescopeName)
string getConfigName () const
void setConfigName (string configName)
int getNumAntenna () const
void setNumAntenna (int numAntenna)
Length getBaseRangeMin () const
void setBaseRangeMin (Length baseRangeMin)
Length getBaseRangeMax () const
void setBaseRangeMax (Length baseRangeMax)
Length getBaseRmsMinor () const
void setBaseRmsMinor (Length baseRmsMinor)
Length getBaseRmsMajor () const
void setBaseRmsMajor (Length baseRmsMajor)
Angle getBasePa () const
void setBasePa (Angle basePa)
ArrayTimeInterval getTimeInterval () const
void setTimeInterval (ArrayTimeInterval timeInterval)
string getObserverName () const
void setObserverName (string observerName)
vector< string > getObservingLog () const
void setObservingLog (vector< string > observingLog)
vector< string > getSchedulerMode () const
void setSchedulerMode (vector< string > schedulerMode)
EntityRef getProjectId () const
void setProjectId (EntityRef projectId)
Angle getSiteLongitude () const
void setSiteLongitude (Angle siteLongitude)
Angle getSiteLatitude () const
void setSiteLatitude (Angle siteLatitude)
Length getSiteAltitude () const
void setSiteAltitude (Length siteAltitude)
bool isReleaseDateExists () const
ArrayTime getReleaseDate () const throw (IllegalAccessException)
void setReleaseDate (ArrayTime releaseDate)
void clearReleaseDate ()
bool getFlagRow () const
void setFlagRow (bool flagRow)
EntityRef getExecBlockUID () const
void setExecBlockUID (EntityRef execBlockUID)
bool getAborted () const
void setAborted (bool aborted)
vector< TaggetAntennaId () const
void setAntennaId (vector< Tag > antennaId)
void setAntennaId (int i, Tag antennaId) throw (OutOfBoundsException)
void addAntennaId (Tag id)
void addAntennaId (const vector< Tag > &id)
const Tag getAntennaId (int i)
AntennaRowgetAntenna (int i)
vector< AntennaRow * > getAntennas ()
bool compareNoAutoInc (vector< Tag > antennaId, int execBlockNum, string telescopeName, string configName, int numAntenna, Length baseRangeMin, Length baseRangeMax, Length baseRmsMinor, Length baseRmsMajor, Angle basePa, ArrayTimeInterval timeInterval, string observerName, vector< string > observingLog, vector< string > schedulerMode, EntityRef projectId, Angle siteLongitude, Angle siteLatitude, Length siteAltitude, bool flagRow, EntityRef execBlockUID, bool aborted)
bool compareRequiredValue (vector< Tag > antennaId, int execBlockNum, string telescopeName, string configName, int numAntenna, Length baseRangeMin, Length baseRangeMax, Length baseRmsMinor, Length baseRmsMajor, Angle basePa, ArrayTimeInterval timeInterval, string observerName, vector< string > observingLog, vector< string > schedulerMode, EntityRef projectId, Angle siteLongitude, Angle siteLatitude, Length siteAltitude, bool flagRow, EntityRef execBlockUID, bool aborted)
bool equalByRequiredValue (ExecBlockRow *x)

Friends

class asdm::ExecBlockTable


Member Function Documentation

ExecBlockTable& asdm::ExecBlockRow::getTable (  )  const

Return the table to which this row belongs.

ExecBlockRowIDL* asdm::ExecBlockRow::toIDL (  )  const

Return this row in the form of an IDL struct.

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

void asdm::ExecBlockRow::setFromIDL ( ExecBlockRowIDL  x  )  throw (ConversionException)

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

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

string asdm::ExecBlockRow::toXML (  )  const

Return this row in the form of an XML string.

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

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

Tag asdm::ExecBlockRow::getExecBlockId (  )  const

Get execBlockId.

Returns:
execBlockId as Tag

int asdm::ExecBlockRow::getExecBlockNum (  )  const

Get execBlockNum.

Returns:
execBlockNum as int

void asdm::ExecBlockRow::setExecBlockNum ( int  execBlockNum  ) 

Set execBlockNum with the specified int.

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

string asdm::ExecBlockRow::getTelescopeName (  )  const

Get telescopeName.

Returns:
telescopeName as string

void asdm::ExecBlockRow::setTelescopeName ( string  telescopeName  ) 

Set telescopeName with the specified string.

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

string asdm::ExecBlockRow::getConfigName (  )  const

Get configName.

Returns:
configName as string

void asdm::ExecBlockRow::setConfigName ( string  configName  ) 

Set configName with the specified string.

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

int asdm::ExecBlockRow::getNumAntenna (  )  const

Get numAntenna.

Returns:
numAntenna as int

void asdm::ExecBlockRow::setNumAntenna ( int  numAntenna  ) 

Set numAntenna with the specified int.

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

Length asdm::ExecBlockRow::getBaseRangeMin (  )  const

Get baseRangeMin.

Returns:
baseRangeMin as Length

void asdm::ExecBlockRow::setBaseRangeMin ( Length  baseRangeMin  ) 

Set baseRangeMin with the specified Length.

Parameters:
baseRangeMin The Length value to which baseRangeMin is to be set.

Length asdm::ExecBlockRow::getBaseRangeMax (  )  const

Get baseRangeMax.

Returns:
baseRangeMax as Length

void asdm::ExecBlockRow::setBaseRangeMax ( Length  baseRangeMax  ) 

Set baseRangeMax with the specified Length.

Parameters:
baseRangeMax The Length value to which baseRangeMax is to be set.

Length asdm::ExecBlockRow::getBaseRmsMinor (  )  const

Get baseRmsMinor.

Returns:
baseRmsMinor as Length

void asdm::ExecBlockRow::setBaseRmsMinor ( Length  baseRmsMinor  ) 

Set baseRmsMinor with the specified Length.

Parameters:
baseRmsMinor The Length value to which baseRmsMinor is to be set.

Length asdm::ExecBlockRow::getBaseRmsMajor (  )  const

Get baseRmsMajor.

Returns:
baseRmsMajor as Length

void asdm::ExecBlockRow::setBaseRmsMajor ( Length  baseRmsMajor  ) 

Set baseRmsMajor with the specified Length.

Parameters:
baseRmsMajor The Length value to which baseRmsMajor is to be set.

Angle asdm::ExecBlockRow::getBasePa (  )  const

Get basePa.

Returns:
basePa as Angle

void asdm::ExecBlockRow::setBasePa ( Angle  basePa  ) 

Set basePa with the specified Angle.

Parameters:
basePa The Angle value to which basePa is to be set.

ArrayTimeInterval asdm::ExecBlockRow::getTimeInterval (  )  const

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

void asdm::ExecBlockRow::setTimeInterval ( ArrayTimeInterval  timeInterval  ) 

Set timeInterval with the specified ArrayTimeInterval.

Parameters:
timeInterval The ArrayTimeInterval value to which timeInterval is to be set.

string asdm::ExecBlockRow::getObserverName (  )  const

Get observerName.

Returns:
observerName as string

void asdm::ExecBlockRow::setObserverName ( string  observerName  ) 

Set observerName with the specified string.

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

vector<string > asdm::ExecBlockRow::getObservingLog (  )  const

Get observingLog.

Returns:
observingLog as vector<string >

void asdm::ExecBlockRow::setObservingLog ( vector< string >  observingLog  ) 

Set observingLog with the specified vector<string >.

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

vector<string > asdm::ExecBlockRow::getSchedulerMode (  )  const

Get schedulerMode.

Returns:
schedulerMode as vector<string >

void asdm::ExecBlockRow::setSchedulerMode ( vector< string >  schedulerMode  ) 

Set schedulerMode with the specified vector<string >.

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

EntityRef asdm::ExecBlockRow::getProjectId (  )  const

Get projectId.

Returns:
projectId as EntityRef

void asdm::ExecBlockRow::setProjectId ( EntityRef  projectId  ) 

Set projectId with the specified EntityRef.

Parameters:
projectId The EntityRef value to which projectId is to be set.

Angle asdm::ExecBlockRow::getSiteLongitude (  )  const

Get siteLongitude.

Returns:
siteLongitude as Angle

void asdm::ExecBlockRow::setSiteLongitude ( Angle  siteLongitude  ) 

Set siteLongitude with the specified Angle.

Parameters:
siteLongitude The Angle value to which siteLongitude is to be set.

Angle asdm::ExecBlockRow::getSiteLatitude (  )  const

Get siteLatitude.

Returns:
siteLatitude as Angle

void asdm::ExecBlockRow::setSiteLatitude ( Angle  siteLatitude  ) 

Set siteLatitude with the specified Angle.

Parameters:
siteLatitude The Angle value to which siteLatitude is to be set.

Length asdm::ExecBlockRow::getSiteAltitude (  )  const

Get siteAltitude.

Returns:
siteAltitude as Length

void asdm::ExecBlockRow::setSiteAltitude ( Length  siteAltitude  ) 

Set siteAltitude with the specified Length.

Parameters:
siteAltitude The Length value to which siteAltitude is to be set.

bool asdm::ExecBlockRow::isReleaseDateExists (  )  const

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

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

ArrayTime asdm::ExecBlockRow::getReleaseDate (  )  const throw (IllegalAccessException)

Get releaseDate, which is optional.

Returns:
releaseDate as ArrayTime
Exceptions:
IllegalAccessException If releaseDate does not exist.

void asdm::ExecBlockRow::setReleaseDate ( ArrayTime  releaseDate  ) 

Set releaseDate with the specified ArrayTime.

Parameters:
releaseDate The ArrayTime value to which releaseDate is to be set.

void asdm::ExecBlockRow::clearReleaseDate (  ) 

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

bool asdm::ExecBlockRow::getFlagRow (  )  const

Get flagRow.

Returns:
flagRow as bool

void asdm::ExecBlockRow::setFlagRow ( bool  flagRow  ) 

Set flagRow with the specified bool.

Parameters:
flagRow The bool value to which flagRow is to be set.

EntityRef asdm::ExecBlockRow::getExecBlockUID (  )  const

Get execBlockUID.

Returns:
execBlockUID as EntityRef

void asdm::ExecBlockRow::setExecBlockUID ( EntityRef  execBlockUID  ) 

Set execBlockUID with the specified EntityRef.

Parameters:
execBlockUID The EntityRef value to which execBlockUID is to be set.

bool asdm::ExecBlockRow::getAborted (  )  const

Get aborted.

Returns:
aborted as bool

void asdm::ExecBlockRow::setAborted ( bool  aborted  ) 

Set aborted with the specified bool.

Parameters:
aborted The bool value to which aborted is to be set.

vector<Tag> asdm::ExecBlockRow::getAntennaId (  )  const

Get antennaId.

Returns:
antennaId as vector<Tag>

void asdm::ExecBlockRow::setAntennaId ( vector< Tag antennaId  ) 

Set antennaId with the specified vector<Tag> .

Parameters:
antennaId The vector<Tag> value to which antennaId is to be set.

void asdm::ExecBlockRow::setAntennaId ( int  i,
Tag  antennaId 
) throw (OutOfBoundsException)

Set antennaId[i] with the specified Tag.

Parameters:
i The index in antennaId where to set the Tag value.
antennaId The Tag value to which antennaId[i] is to be set.
Exceptions:
OutOfBoundsException 

void asdm::ExecBlockRow::addAntennaId ( Tag  id  ) 

Append a Tag to antennaId.

Parameters:
id the Tag to be appended to antennaId

void asdm::ExecBlockRow::addAntennaId ( const vector< Tag > &  id  ) 

Append a vector of Tag to antennaId.

Parameters:
id an array of Tag to be appended to antennaId

const Tag asdm::ExecBlockRow::getAntennaId ( int  i  ) 

Returns the Tag stored in antennaId at position i.

Parameters:
i the position in antennaId where the Tag is retrieved.
Returns:
the Tag stored at position i in antennaId.

AntennaRow* asdm::ExecBlockRow::getAntenna ( int  i  ) 

Returns the AntennaRow linked to this row via the tag stored in antennaId at position i.

Parameters:
i the position in antennaId.
Returns:
a pointer on a AntennaRow whose key (a Tag) is equal to the Tag stored at position i in the antennaId.

vector<AntennaRow *> asdm::ExecBlockRow::getAntennas (  ) 

Returns the vector of AntennaRow* linked to this row via the Tags stored in antennaId

Returns:
an array of pointers on AntennaRow.

bool asdm::ExecBlockRow::compareNoAutoInc ( vector< Tag antennaId,
int  execBlockNum,
string  telescopeName,
string  configName,
int  numAntenna,
Length  baseRangeMin,
Length  baseRangeMax,
Length  baseRmsMinor,
Length  baseRmsMajor,
Angle  basePa,
ArrayTimeInterval  timeInterval,
string  observerName,
vector< string >  observingLog,
vector< string >  schedulerMode,
EntityRef  projectId,
Angle  siteLongitude,
Angle  siteLatitude,
Length  siteAltitude,
bool  flagRow,
EntityRef  execBlockUID,
bool  aborted 
)

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

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