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.41, 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)
 Set execBlockNum with the specified int value.
String getTelescopeName ()
 Get telescopeName.
void setTelescopeName (String telescopeName)
 Set telescopeName with the specified String value.
String getConfigName ()
 Get configName.
void setConfigName (String configName)
 Set configName with the specified String value.
int getNumAntenna ()
 Get numAntenna.
void setNumAntenna (int numAntenna)
 Set numAntenna with the specified int value.
Length getBaseRangeMin ()
 Get baseRangeMin.
void setBaseRangeMin (Length baseRangeMin)
 Set baseRangeMin with the specified Length value.
Length getBaseRangeMax ()
 Get baseRangeMax.
void setBaseRangeMax (Length baseRangeMax)
 Set baseRangeMax with the specified Length value.
Length getBaseRmsMinor ()
 Get baseRmsMinor.
void setBaseRmsMinor (Length baseRmsMinor)
 Set baseRmsMinor with the specified Length value.
Length getBaseRmsMajor ()
 Get baseRmsMajor.
void setBaseRmsMajor (Length baseRmsMajor)
 Set baseRmsMajor with the specified Length value.
Angle getBasePa ()
 Get basePa.
void setBasePa (Angle basePa)
 Set basePa with the specified Angle value.
ArrayTimeInterval getTimeInterval ()
 Get timeInterval.
void setTimeInterval (ArrayTimeInterval timeInterval)
 Set timeInterval with the specified ArrayTimeInterval value.
String getObserverName ()
 Get observerName.
void setObserverName (String observerName)
 Set observerName with the specified String value.
String[] getObservingLog ()
 Get observingLog.
void setObservingLog (String[] observingLog)
 Set observingLog with the specified String[] value.
String[] getSchedulerMode ()
 Get schedulerMode.
void setSchedulerMode (String[] schedulerMode)
 Set schedulerMode with the specified String[] value.
EntityRef getProjectId ()
 Get projectId.
void setProjectId (EntityRef projectId)
 Set projectId with the specified EntityRef value.
Angle getSiteLongitude ()
 Get siteLongitude.
void setSiteLongitude (Angle siteLongitude)
 Set siteLongitude with the specified Angle value.
Angle getSiteLatitude ()
 Get siteLatitude.
void setSiteLatitude (Angle siteLatitude)
 Set siteLatitude with the specified Angle value.
Length getSiteAltitude ()
 Get siteAltitude.
void setSiteAltitude (Length siteAltitude)
 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)
 Set flagRow with the specified boolean value.
EntityRef getExecBlockUID ()
 Get execBlockUID.
void setExecBlockUID (EntityRef execBlockUID)
 Set execBlockUID with the specified EntityRef value.
boolean getAborted ()
 Get aborted.
void setAborted (boolean aborted)
 Set aborted with the specified boolean value.
Tag[] getAntennaId ()
 Get antennaId.
void setAntennaId (Tag[] antennaId)
 Set antennaId with the specified Tag[] value.
void setAntennaId (int i, Tag antennaId) throws 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

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.

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.

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. 

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. 

Tag alma.asdm.ExecBlockRow.getExecBlockId (  ) 

Get execBlockId.

Returns:
execBlockId as Tag

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.

int alma.asdm.ExecBlockRow.getExecBlockNum (  ) 

Get execBlockNum.

Returns:
execBlockNum as int

void alma.asdm.ExecBlockRow.setExecBlockNum ( int  execBlockNum  ) 

Set execBlockNum with the specified int value.

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

String alma.asdm.ExecBlockRow.getTelescopeName (  ) 

Get telescopeName.

Returns:
telescopeName as String

void alma.asdm.ExecBlockRow.setTelescopeName ( String  telescopeName  ) 

Set telescopeName with the specified String value.

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

String alma.asdm.ExecBlockRow.getConfigName (  ) 

Get configName.

Returns:
configName as String

void alma.asdm.ExecBlockRow.setConfigName ( String  configName  ) 

Set configName with the specified String value.

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

int alma.asdm.ExecBlockRow.getNumAntenna (  ) 

Get numAntenna.

Returns:
numAntenna as int

void alma.asdm.ExecBlockRow.setNumAntenna ( int  numAntenna  ) 

Set numAntenna with the specified int value.

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

Length alma.asdm.ExecBlockRow.getBaseRangeMin (  ) 

Get baseRangeMin.

Returns:
baseRangeMin as Length

void alma.asdm.ExecBlockRow.setBaseRangeMin ( Length  baseRangeMin  ) 

Set baseRangeMin with the specified Length value.

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

Length alma.asdm.ExecBlockRow.getBaseRangeMax (  ) 

Get baseRangeMax.

Returns:
baseRangeMax as Length

void alma.asdm.ExecBlockRow.setBaseRangeMax ( Length  baseRangeMax  ) 

Set baseRangeMax with the specified Length value.

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

Length alma.asdm.ExecBlockRow.getBaseRmsMinor (  ) 

Get baseRmsMinor.

Returns:
baseRmsMinor as Length

void alma.asdm.ExecBlockRow.setBaseRmsMinor ( Length  baseRmsMinor  ) 

Set baseRmsMinor with the specified Length value.

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

Length alma.asdm.ExecBlockRow.getBaseRmsMajor (  ) 

Get baseRmsMajor.

Returns:
baseRmsMajor as Length

void alma.asdm.ExecBlockRow.setBaseRmsMajor ( Length  baseRmsMajor  ) 

Set baseRmsMajor with the specified Length value.

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

Angle alma.asdm.ExecBlockRow.getBasePa (  ) 

Get basePa.

Returns:
basePa as Angle

void alma.asdm.ExecBlockRow.setBasePa ( Angle  basePa  ) 

Set basePa with the specified Angle value.

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

ArrayTimeInterval alma.asdm.ExecBlockRow.getTimeInterval (  ) 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

void alma.asdm.ExecBlockRow.setTimeInterval ( ArrayTimeInterval  timeInterval  ) 

Set timeInterval with the specified ArrayTimeInterval value.

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

String alma.asdm.ExecBlockRow.getObserverName (  ) 

Get observerName.

Returns:
observerName as String

void alma.asdm.ExecBlockRow.setObserverName ( String  observerName  ) 

Set observerName with the specified String value.

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

String [] alma.asdm.ExecBlockRow.getObservingLog (  ) 

Get observingLog.

Returns:
observingLog as String[]

void alma.asdm.ExecBlockRow.setObservingLog ( String[]  observingLog  ) 

Set observingLog with the specified String[] value.

Parameters:
observingLog The String[] value to which observingLog is to be set.

String [] alma.asdm.ExecBlockRow.getSchedulerMode (  ) 

Get schedulerMode.

Returns:
schedulerMode as String[]

void alma.asdm.ExecBlockRow.setSchedulerMode ( String[]  schedulerMode  ) 

Set schedulerMode with the specified String[] value.

Parameters:
schedulerMode The String[] value to which schedulerMode is to be set.

EntityRef alma.asdm.ExecBlockRow.getProjectId (  ) 

Get projectId.

Returns:
projectId as EntityRef

void alma.asdm.ExecBlockRow.setProjectId ( EntityRef  projectId  ) 

Set projectId with the specified EntityRef value.

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

Angle alma.asdm.ExecBlockRow.getSiteLongitude (  ) 

Get siteLongitude.

Returns:
siteLongitude as Angle

void alma.asdm.ExecBlockRow.setSiteLongitude ( Angle  siteLongitude  ) 

Set siteLongitude with the specified Angle value.

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

Angle alma.asdm.ExecBlockRow.getSiteLatitude (  ) 

Get siteLatitude.

Returns:
siteLatitude as Angle

void alma.asdm.ExecBlockRow.setSiteLatitude ( Angle  siteLatitude  ) 

Set siteLatitude with the specified Angle value.

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

Length alma.asdm.ExecBlockRow.getSiteAltitude (  ) 

Get siteAltitude.

Returns:
siteAltitude as Length

void alma.asdm.ExecBlockRow.setSiteAltitude ( Length  siteAltitude  ) 

Set siteAltitude with the specified Length value.

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

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.

ArrayTime alma.asdm.ExecBlockRow.getReleaseDate (  )  throws IllegalAccessException

Get releaseDate, which is optional.

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

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.

boolean alma.asdm.ExecBlockRow.getFlagRow (  ) 

Get flagRow.

Returns:
flagRow as boolean

void alma.asdm.ExecBlockRow.setFlagRow ( boolean  flagRow  ) 

Set flagRow with the specified boolean value.

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

EntityRef alma.asdm.ExecBlockRow.getExecBlockUID (  ) 

Get execBlockUID.

Returns:
execBlockUID as EntityRef

void alma.asdm.ExecBlockRow.setExecBlockUID ( EntityRef  execBlockUID  ) 

Set execBlockUID with the specified EntityRef value.

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

boolean alma.asdm.ExecBlockRow.getAborted (  ) 

Get aborted.

Returns:
aborted as boolean

void alma.asdm.ExecBlockRow.setAborted ( boolean  aborted  ) 

Set aborted with the specified boolean value.

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

Tag [] alma.asdm.ExecBlockRow.getAntennaId (  ) 

Get antennaId.

Returns:
antennaId as Tag[]

void alma.asdm.ExecBlockRow.setAntennaId ( Tag[]  antennaId  ) 

Set antennaId with the specified Tag[] value.

Parameters:
antennaId The Tag[] value to which antennaId is to be set.

void alma.asdm.ExecBlockRow.setAntennaId ( int  i,
Tag  antennaId 
) throws 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:
IndexOutOfBoundsException 

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.addAntennaId ( Tag[]  id  )  [package]

Append an array of Tag to antennaId.

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

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.

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.


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 16:47:23 2007 for ASDM Java Implementation by  doxygen 1.5.1