alma.asdm.CalDeviceRow Class Reference

Inherits alma.asdm.ASDMRow.

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

CalDeviceTable getTable ()
 Return the table to which this row belongs.
CalDeviceRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (CalDeviceRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct CalDeviceRowIDL.
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.
ArrayTimeInterval getTimeInterval ()
 Get timeInterval.
void setTimeInterval (ArrayTimeInterval timeInterval) throws IllegalAccessException
 Set timeInterval with the specified ArrayTimeInterval value.
int getNumCalload ()
 Get numCalload.
void setNumCalload (int numCalload)
 Set numCalload with the specified int value.
boolean isNoiseCalExists ()
 The attribute noiseCal is optional.
double[] getNoiseCal () throws IllegalAccessException
 Get noiseCal, which is optional.
void setNoiseCal (double[] noiseCal)
 Set noiseCal with the specified double[] value.
void clearNoiseCal ()
 Mark noiseCal, which is an optional field, as non-existent.
boolean isTemperatureLoadExists ()
 The attribute temperatureLoad is optional.
Temperature[] getTemperatureLoad () throws IllegalAccessException
 Get temperatureLoad, which is optional.
void setTemperatureLoad (Temperature[] temperatureLoad)
 Set temperatureLoad with the specified Temperature[] value.
void clearTemperatureLoad ()
 Mark temperatureLoad, which is an optional field, as non-existent.
boolean isCalEffExists ()
 The attribute calEff is optional.
float[][] getCalEff () throws IllegalAccessException
 Get calEff, which is optional.
void setCalEff (float[][] calEff)
 Set calEff with the specified float[][] value.
void clearCalEff ()
 Mark calEff, which is an optional field, as non-existent.
CalibrationDevice[] getCalLoadName ()
 Get calLoadName.
void setCalLoadName (CalibrationDevice[] calLoadName)
 Set calLoadName with the specified CalibrationDevice[] value.
Tag getAntennaId ()
 Get antennaId.
void setAntennaId (Tag antennaId) throws IllegalAccessException
 Set antennaId with the specified Tag value.
int getFeedId ()
 Get feedId.
void setFeedId (int feedId) throws IllegalAccessException
 Set feedId with the specified int value.
Tag getSpectralWindowId ()
 Get spectralWindowId.
void setSpectralWindowId (Tag spectralWindowId) throws IllegalAccessException
 Set spectralWindowId with the specified Tag value.
AntennaRow getAntennaUsingAntennaId ()
 Returns the pointer to the row in the Antenna table having Antenna.antennaId == antennaId.
SpectralWindowRow getSpectralWindowUsingSpectralWindowId ()
 Returns the pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId.
FeedRow[] getFeeds () throws InvalidAccessException, NoSuchRow
 Get the collection of rows in the Feed table having feedId == this.feedId.
boolean compareNoAutoInc (Tag antennaId, int feedId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int numCalload, CalibrationDevice[] calLoadName)
 Compare each attribute except the autoincrementable one of this CalDeviceRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (CalDeviceRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (int numCalload, CalibrationDevice[] calLoadName)

Package Functions

 CalDeviceRow (CalDeviceTable table)
 Create a CalDeviceRow.
 CalDeviceRow (CalDeviceTable table, CalDeviceRow row)
 Creates a CalDeviceRow using a copy constructor mechanism.
void isAdded ()
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.CalDeviceRow.CalDeviceRow ( CalDeviceTable  table  )  [package]

Create a CalDeviceRow.

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.CalDeviceRow.CalDeviceRow ( CalDeviceTable  table,
CalDeviceRow  row 
) [package]

Creates a CalDeviceRow using a copy constructor mechanism.

Given a CalDeviceRow row and a CalDeviceTable table, the method creates a new CalDeviceRow 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

CalDeviceRowIDL alma.asdm.CalDeviceRow.toIDL (  ) 

Return this row in the form of an IDL struct.

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

void alma.asdm.CalDeviceRow.setFromIDL ( CalDeviceRowIDL  x  )  throws 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 alma.asdm.CalDeviceRow.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.CalDeviceRow.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. 

ArrayTimeInterval alma.asdm.CalDeviceRow.getTimeInterval (  ) 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

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

int alma.asdm.CalDeviceRow.getNumCalload (  ) 

Get numCalload.

Returns:
numCalload as int

void alma.asdm.CalDeviceRow.setNumCalload ( int  numCalload  ) 

Set numCalload with the specified int value.

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

boolean alma.asdm.CalDeviceRow.isNoiseCalExists (  ) 

The attribute noiseCal is optional.

Return true if this attribute exists.

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

double [] alma.asdm.CalDeviceRow.getNoiseCal (  )  throws IllegalAccessException

Get noiseCal, which is optional.

Returns:
noiseCal as double[]
Exceptions:
IllegalAccessException If noiseCal does not exist.

void alma.asdm.CalDeviceRow.setNoiseCal ( double[]  noiseCal  ) 

Set noiseCal with the specified double[] value.

Parameters:
noiseCal The double[] value to which noiseCal is to be set.

boolean alma.asdm.CalDeviceRow.isTemperatureLoadExists (  ) 

The attribute temperatureLoad is optional.

Return true if this attribute exists.

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

Temperature [] alma.asdm.CalDeviceRow.getTemperatureLoad (  )  throws IllegalAccessException

Get temperatureLoad, which is optional.

Returns:
temperatureLoad as Temperature[]
Exceptions:
IllegalAccessException If temperatureLoad does not exist.

void alma.asdm.CalDeviceRow.setTemperatureLoad ( Temperature[]  temperatureLoad  ) 

Set temperatureLoad with the specified Temperature[] value.

Parameters:
temperatureLoad The Temperature[] value to which temperatureLoad is to be set.

boolean alma.asdm.CalDeviceRow.isCalEffExists (  ) 

The attribute calEff is optional.

Return true if this attribute exists.

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

float [][] alma.asdm.CalDeviceRow.getCalEff (  )  throws IllegalAccessException

Get calEff, which is optional.

Returns:
calEff as float[][]
Exceptions:
IllegalAccessException If calEff does not exist.

void alma.asdm.CalDeviceRow.setCalEff ( float  calEff[][]  ) 

Set calEff with the specified float[][] value.

Parameters:
calEff The float[][] value to which calEff is to be set.

CalibrationDevice [] alma.asdm.CalDeviceRow.getCalLoadName (  ) 

Get calLoadName.

Returns:
calLoadName as CalibrationDevice[]

void alma.asdm.CalDeviceRow.setCalLoadName ( CalibrationDevice[]  calLoadName  ) 

Set calLoadName with the specified CalibrationDevice[] value.

Parameters:
calLoadName The CalibrationDevice[] value to which calLoadName is to be set.

Tag alma.asdm.CalDeviceRow.getAntennaId (  ) 

Get antennaId.

Returns:
antennaId as Tag

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

int alma.asdm.CalDeviceRow.getFeedId (  ) 

Get feedId.

Returns:
feedId as int

void alma.asdm.CalDeviceRow.setFeedId ( int  feedId  )  throws IllegalAccessException

Set feedId with the specified int value.

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 alma.asdm.CalDeviceRow.getSpectralWindowId (  ) 

Get spectralWindowId.

Returns:
spectralWindowId as Tag

void alma.asdm.CalDeviceRow.setSpectralWindowId ( Tag  spectralWindowId  )  throws IllegalAccessException

Set spectralWindowId with the specified Tag value.

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 alma.asdm.CalDeviceRow.getAntennaUsingAntennaId (  ) 

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

Returns:
a AntennaRow

SpectralWindowRow alma.asdm.CalDeviceRow.getSpectralWindowUsingSpectralWindowId (  ) 

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

Returns:
a SpectralWindowRow

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

Object [] alma.asdm.CalDeviceRow.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:21 2007 for ASDM Java Implementation by  doxygen 1.5.1