alma.asdm.ExecBlockRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The ExecBlockRow class is a row of a ExecBlockTable.

Generated from model's revision 1.46, branch HEAD


Public Member Functions

ExecBlockTable getTable ()
 Return the table to which this row belongs.
ExecBlockRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (ExecBlockRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct ExecBlockRowIDL.
String toXML () throws ConversionException
 Return this row in the form of an XML string.
void setFromXML (String rowDoc) throws ConversionException
 Fill the values of this row from an XML string that was produced by the toXML() method.
Tag getExecBlockId ()
 Get execBlockId.
int getExecBlockNum ()
 Get execBlockNum.
void setExecBlockNum (int execBlockNum) throws IllegalAccessException
 Set execBlockNum with the specified int value.
String getTelescopeName ()
 Get telescopeName.
void setTelescopeName (String telescopeName) throws IllegalAccessException
 Set telescopeName with the specified String value.
String getConfigName ()
 Get configName.
void setConfigName (String configName) throws IllegalAccessException
 Set configName with the specified String value.
int getNumAntenna ()
 Get numAntenna.
void setNumAntenna (int numAntenna) throws IllegalAccessException
 Set numAntenna with the specified int value.
Length getBaseRangeMin ()
 Get baseRangeMin.
void setBaseRangeMin (Length baseRangeMin) throws IllegalAccessException
 Set baseRangeMin with the specified Length value.
Length getBaseRangeMax ()
 Get baseRangeMax.
void setBaseRangeMax (Length baseRangeMax) throws IllegalAccessException
 Set baseRangeMax with the specified Length value.
Length getBaseRmsMinor ()
 Get baseRmsMinor.
void setBaseRmsMinor (Length baseRmsMinor) throws IllegalAccessException
 Set baseRmsMinor with the specified Length value.
Length getBaseRmsMajor ()
 Get baseRmsMajor.
void setBaseRmsMajor (Length baseRmsMajor) throws IllegalAccessException
 Set baseRmsMajor with the specified Length value.
Angle getBasePa ()
 Get basePa.
void setBasePa (Angle basePa) throws IllegalAccessException
 Set basePa with the specified Angle value.
ArrayTimeInterval getTimeInterval ()
 Get timeInterval.
void setTimeInterval (ArrayTimeInterval timeInterval) throws IllegalAccessException
 Set timeInterval with the specified ArrayTimeInterval value.
String getObserverName ()
 Get observerName.
void setObserverName (String observerName) throws IllegalAccessException
 Set observerName with the specified String value.
String[] getObservingLog ()
 Get observingLog.
void setObservingLog (String[] observingLog) throws IllegalAccessException
 Set observingLog with the specified String[] value.
String[] getSchedulerMode ()
 Get schedulerMode.
void setSchedulerMode (String[] schedulerMode) throws IllegalAccessException
 Set schedulerMode with the specified String[] value.
EntityRef getProjectId ()
 Get projectId.
void setProjectId (EntityRef projectId) throws IllegalAccessException
 Set projectId with the specified EntityRef value.
Angle getSiteLongitude ()
 Get siteLongitude.
void setSiteLongitude (Angle siteLongitude) throws IllegalAccessException
 Set siteLongitude with the specified Angle value.
Angle getSiteLatitude ()
 Get siteLatitude.
void setSiteLatitude (Angle siteLatitude) throws IllegalAccessException
 Set siteLatitude with the specified Angle value.
Length getSiteAltitude ()
 Get siteAltitude.
void setSiteAltitude (Length siteAltitude) throws IllegalAccessException
 Set siteAltitude with the specified Length value.
boolean isReleaseDateExists ()
 The attribute releaseDate is optional.
ArrayTime getReleaseDate () throws IllegalAccessException
 Get releaseDate, which is optional.
void setReleaseDate (ArrayTime releaseDate)
 Set releaseDate with the specified ArrayTime value.
void clearReleaseDate ()
 Mark releaseDate, which is an optional field, as non-existent.
boolean getFlagRow ()
 Get flagRow.
void setFlagRow (boolean flagRow) throws IllegalAccessException
 Set flagRow with the specified boolean value.
EntityRef getExecBlockUID ()
 Get execBlockUID.
void setExecBlockUID (EntityRef execBlockUID) throws IllegalAccessException
 Set execBlockUID with the specified EntityRef value.
boolean getAborted ()
 Get aborted.
void setAborted (boolean aborted) throws IllegalAccessException
 Set aborted with the specified boolean value.
Tag[] getAntennaId ()
 Get antennaId.
void setAntennaId (Tag[] antennaId) throws IllegalAccessException
 Set antennaId with the specified Tag[] value.
void setAntennaId (int i, Tag antennaId) throws IllegalAccessException, IndexOutOfBoundsException
 Set antennaId[i] with the specified Tag value.
boolean compareNoAutoInc (Tag[] antennaId, int execBlockNum, String telescopeName, String configName, int numAntenna, Length baseRangeMin, Length baseRangeMax, Length baseRmsMinor, Length baseRmsMajor, Angle basePa, ArrayTimeInterval timeInterval, String observerName, String[] observingLog, String[] schedulerMode, EntityRef projectId, Angle siteLongitude, Angle siteLatitude, Length siteAltitude, boolean flagRow, EntityRef execBlockUID, boolean aborted)
 Compare each attribute except the autoincrementable one of this ExecBlockRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (ExecBlockRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (Tag[] antennaId, int execBlockNum, String telescopeName, String configName, int numAntenna, Length baseRangeMin, Length baseRangeMax, Length baseRmsMinor, Length baseRmsMajor, Angle basePa, ArrayTimeInterval timeInterval, String observerName, String[] observingLog, String[] schedulerMode, EntityRef projectId, Angle siteLongitude, Angle siteLatitude, Length siteAltitude, boolean flagRow, EntityRef execBlockUID, boolean aborted)

Protected Member Functions

void setExecBlockId (Tag execBlockId) throws IllegalAccessException
 Set execBlockId with the specified Tag value.

Package Functions

 ExecBlockRow (ExecBlockTable table)
 Create a ExecBlockRow.
 ExecBlockRow (ExecBlockTable table, ExecBlockRow row)
 Creates a ExecBlockRow using a copy constructor mechanism.
void isAdded ()
void addAntennaId (Tag id)
 Append a Tag to antennaId.
void addAntennaId (Tag[] id)
 Append an array of Tag to antennaId.
Tag getAntennaId (int i) throws IndexOutOfBoundsException
 Returns the Tag stored in antennaId at position i.
AntennaRow getAntenna (int i) throws IndexOutOfBoundsException, NoSuchRow
 Returns the AntennaRow linked to this row via the Tag stored in antennaId at position i.
AntennaRow[] getAntennas () throws NoSuchRow
 Returns the array of AntennaRow linked to this row via the Tags stored in antennaId.
Object[] getAttributesValues ()
 Returns all the attributes of an attribute of an ASDM table as an array of Object.

Package Attributes

ArrayTimeInterval timeInterval


Constructor & Destructor Documentation

alma.asdm.ExecBlockRow.ExecBlockRow ExecBlockTable  table  )  [package]
 

Create a ExecBlockRow.

This constructor has package access because only the table can create rows. All rows know the table to which they belong.

Parameters:
table The table to which this row belongs.

alma.asdm.ExecBlockRow.ExecBlockRow ExecBlockTable  table,
ExecBlockRow  row
[package]
 

Creates a ExecBlockRow using a copy constructor mechanism.

Given a ExecBlockRow row and a ExecBlockTable table, the method creates a new ExecBlockRow owned by table. Each attribute of the created row is a copy (deep) of the corresponding attribute of row. The method does not add the created row to its table, its simply parents it to table, a call to the add method has to be done in order to get the row added (very likely after having modified some of its attributes). If row is null then the method returns a row with default values for its attributes.

This constructor has package access because only the table can create rows. All rows know the table to which they belong.

Parameters:
table The table to which this row belongs.
row The row which is to be copied.


Member Function Documentation

void alma.asdm.ExecBlockRow.addAntennaId Tag[]  id  )  [package]
 

Append an array of Tag to antennaId.

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

void alma.asdm.ExecBlockRow.addAntennaId Tag  id  )  [package]
 

Append a Tag to antennaId.

Parameters:
id the Tag to be appended to antennaId

void alma.asdm.ExecBlockRow.clearReleaseDate  ) 
 

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

boolean alma.asdm.ExecBlockRow.compareNoAutoInc Tag[]  antennaId,
int  execBlockNum,
String  telescopeName,
String  configName,
int  numAntenna,
Length  baseRangeMin,
Length  baseRangeMax,
Length  baseRmsMinor,
Length  baseRmsMajor,
Angle  basePa,
ArrayTimeInterval  timeInterval,
String  observerName,
String[]  observingLog,
String[]  schedulerMode,
EntityRef  projectId,
Angle  siteLongitude,
Angle  siteLatitude,
Length  siteAltitude,
boolean  flagRow,
EntityRef  execBlockUID,
boolean  aborted
 

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

boolean alma.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 the ExecBlockRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.

boolean alma.asdm.ExecBlockRow.getAborted  ) 
 

Get aborted.

Returns:
aborted as boolean

Tag [] alma.asdm.ExecBlockRow.getAntennaId  ) 
 

Get antennaId.

Returns:
antennaId as Tag[]

Object [] alma.asdm.ExecBlockRow.getAttributesValues  )  [package, virtual]
 

Returns all the attributes of an attribute of an ASDM table as an array of Object.

Returns:
an array of Object.

Implements alma.asdm.ASDMRow.

Angle alma.asdm.ExecBlockRow.getBasePa  ) 
 

Get basePa.

Returns:
basePa as Angle

Length alma.asdm.ExecBlockRow.getBaseRangeMax  ) 
 

Get baseRangeMax.

Returns:
baseRangeMax as Length

Length alma.asdm.ExecBlockRow.getBaseRangeMin  ) 
 

Get baseRangeMin.

Returns:
baseRangeMin as Length

Length alma.asdm.ExecBlockRow.getBaseRmsMajor  ) 
 

Get baseRmsMajor.

Returns:
baseRmsMajor as Length

Length alma.asdm.ExecBlockRow.getBaseRmsMinor  ) 
 

Get baseRmsMinor.

Returns:
baseRmsMinor as Length

String alma.asdm.ExecBlockRow.getConfigName  ) 
 

Get configName.

Returns:
configName as String

Tag alma.asdm.ExecBlockRow.getExecBlockId  ) 
 

Get execBlockId.

Returns:
execBlockId as Tag

int alma.asdm.ExecBlockRow.getExecBlockNum  ) 
 

Get execBlockNum.

Returns:
execBlockNum as int

EntityRef alma.asdm.ExecBlockRow.getExecBlockUID  ) 
 

Get execBlockUID.

Returns:
execBlockUID as EntityRef

boolean alma.asdm.ExecBlockRow.getFlagRow  ) 
 

Get flagRow.

Returns:
flagRow as boolean

int alma.asdm.ExecBlockRow.getNumAntenna  ) 
 

Get numAntenna.

Returns:
numAntenna as int

String alma.asdm.ExecBlockRow.getObserverName  ) 
 

Get observerName.

Returns:
observerName as String

String [] alma.asdm.ExecBlockRow.getObservingLog  ) 
 

Get observingLog.

Returns:
observingLog as String[]

EntityRef alma.asdm.ExecBlockRow.getProjectId  ) 
 

Get projectId.

Returns:
projectId as EntityRef

ArrayTime alma.asdm.ExecBlockRow.getReleaseDate  )  throws IllegalAccessException
 

Get releaseDate, which is optional.

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

String [] alma.asdm.ExecBlockRow.getSchedulerMode  ) 
 

Get schedulerMode.

Returns:
schedulerMode as String[]

Length alma.asdm.ExecBlockRow.getSiteAltitude  ) 
 

Get siteAltitude.

Returns:
siteAltitude as Length

Angle alma.asdm.ExecBlockRow.getSiteLatitude  ) 
 

Get siteLatitude.

Returns:
siteLatitude as Angle

Angle alma.asdm.ExecBlockRow.getSiteLongitude  ) 
 

Get siteLongitude.

Returns:
siteLongitude as Angle

ExecBlockTable alma.asdm.ExecBlockRow.getTable  ) 
 

Return the table to which this row belongs.

String alma.asdm.ExecBlockRow.getTelescopeName  ) 
 

Get telescopeName.

Returns:
telescopeName as String

ArrayTimeInterval alma.asdm.ExecBlockRow.getTimeInterval  ) 
 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

boolean alma.asdm.ExecBlockRow.isReleaseDateExists  ) 
 

The attribute releaseDate is optional.

Return true if this attribute exists.

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

void alma.asdm.ExecBlockRow.setAborted boolean  aborted  )  throws IllegalAccessException
 

Set aborted with the specified boolean value.

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

void alma.asdm.ExecBlockRow.setAntennaId int  i,
Tag  antennaId
throws IllegalAccessException, IndexOutOfBoundsException
 

Set antennaId[i] with the specified Tag value.

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:
IllegalAccessException 
IndexOutOfBoundsException 

void alma.asdm.ExecBlockRow.setAntennaId Tag[]  antennaId  )  throws IllegalAccessException
 

Set antennaId with the specified Tag[] value.

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.

void alma.asdm.ExecBlockRow.setBasePa Angle  basePa  )  throws IllegalAccessException
 

Set basePa with the specified Angle value.

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

void alma.asdm.ExecBlockRow.setBaseRangeMax Length  baseRangeMax  )  throws IllegalAccessException
 

Set baseRangeMax with the specified Length value.

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

void alma.asdm.ExecBlockRow.setBaseRangeMin Length  baseRangeMin  )  throws IllegalAccessException
 

Set baseRangeMin with the specified Length value.

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

void alma.asdm.ExecBlockRow.setBaseRmsMajor Length  baseRmsMajor  )  throws IllegalAccessException
 

Set baseRmsMajor with the specified Length value.

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

void alma.asdm.ExecBlockRow.setBaseRmsMinor Length  baseRmsMinor  )  throws IllegalAccessException
 

Set baseRmsMinor with the specified Length value.

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

void alma.asdm.ExecBlockRow.setConfigName String  configName  )  throws IllegalAccessException
 

Set configName with the specified String value.

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

void alma.asdm.ExecBlockRow.setExecBlockId Tag  execBlockId  )  throws IllegalAccessException [protected]
 

Set execBlockId with the specified Tag value.

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

void alma.asdm.ExecBlockRow.setExecBlockNum int  execBlockNum  )  throws IllegalAccessException
 

Set execBlockNum with the specified int value.

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

void alma.asdm.ExecBlockRow.setExecBlockUID EntityRef  execBlockUID  )  throws IllegalAccessException
 

Set execBlockUID with the specified EntityRef value.

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

void alma.asdm.ExecBlockRow.setFlagRow boolean  flagRow  )  throws IllegalAccessException
 

Set flagRow with the specified boolean value.

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

void alma.asdm.ExecBlockRow.setFromIDL ExecBlockRowIDL  x  )  throws 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.

void alma.asdm.ExecBlockRow.setFromXML String  rowDoc  )  throws 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.
Exceptions:
ConversionException. 

void alma.asdm.ExecBlockRow.setNumAntenna int  numAntenna  )  throws IllegalAccessException
 

Set numAntenna with the specified int value.

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

void alma.asdm.ExecBlockRow.setObserverName String  observerName  )  throws IllegalAccessException
 

Set observerName with the specified String value.

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

void alma.asdm.ExecBlockRow.setObservingLog String[]  observingLog  )  throws IllegalAccessException
 

Set observingLog with the specified String[] value.

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

void alma.asdm.ExecBlockRow.setProjectId EntityRef  projectId  )  throws IllegalAccessException
 

Set projectId with the specified EntityRef value.

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

void alma.asdm.ExecBlockRow.setReleaseDate ArrayTime  releaseDate  ) 
 

Set releaseDate with the specified ArrayTime value.

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

void alma.asdm.ExecBlockRow.setSchedulerMode String[]  schedulerMode  )  throws IllegalAccessException
 

Set schedulerMode with the specified String[] value.

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

void alma.asdm.ExecBlockRow.setSiteAltitude Length  siteAltitude  )  throws IllegalAccessException
 

Set siteAltitude with the specified Length value.

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

void alma.asdm.ExecBlockRow.setSiteLatitude Angle  siteLatitude  )  throws IllegalAccessException
 

Set siteLatitude with the specified Angle value.

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

void alma.asdm.ExecBlockRow.setSiteLongitude Angle  siteLongitude  )  throws IllegalAccessException
 

Set siteLongitude with the specified Angle value.

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

void alma.asdm.ExecBlockRow.setTelescopeName String  telescopeName  )  throws IllegalAccessException
 

Set telescopeName with the specified String value.

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

void alma.asdm.ExecBlockRow.setTimeInterval ArrayTimeInterval  timeInterval  )  throws IllegalAccessException
 

Set timeInterval with the specified ArrayTimeInterval value.

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.

ExecBlockRowIDL alma.asdm.ExecBlockRow.toIDL  ) 
 

Return this row in the form of an IDL struct.

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

String alma.asdm.ExecBlockRow.toXML  )  throws ConversionException
 

Return this row in the form of an XML string.

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


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