alma.asdm.WVMCalRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The WVMCalRow class is a row of a WVMCalTable.

Generated from model's revision 1.41, branch HEAD


Public Member Functions

WVMCalTable getTable ()
 Return the table to which this row belongs.
WVMCalRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (WVMCalRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct WVMCalRowIDL.
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.
boolean isOperationModeExists ()
 The attribute operationMode is optional.
String getOperationMode () throws IllegalAccessException
 Get operationMode, which is optional.
void setOperationMode (String operationMode)
 Set operationMode with the specified String value.
void clearOperationMode ()
 Mark operationMode, which is an optional field, as non-existent.
int getNumPoly ()
 Get numPoly.
void setNumPoly (int numPoly)
 Set numPoly with the specified int value.
Frequency getFreqOrigin ()
 Get freqOrigin.
void setFreqOrigin (Frequency freqOrigin)
 Set freqOrigin with the specified Frequency value.
ArrayTimeInterval getTimeInterval ()
 Get timeInterval.
void setTimeInterval (ArrayTimeInterval timeInterval) throws IllegalAccessException
 Set timeInterval with the specified ArrayTimeInterval value.
double[] getPathCoeff ()
 Get pathCoeff.
void setPathCoeff (double[] pathCoeff)
 Set pathCoeff with the specified double[] value.
String getCalibrationMode ()
 Get calibrationMode.
void setCalibrationMode (String calibrationMode)
 Set calibrationMode with the specified String value.
boolean isWvrefModelExists ()
 The attribute wvrefModel is optional.
float getWvrefModel () throws IllegalAccessException
 Get wvrefModel, which is optional.
void setWvrefModel (float wvrefModel)
 Set wvrefModel with the specified float value.
void clearWvrefModel ()
 Mark wvrefModel, which is an optional field, as non-existent.
Tag getAntennaId ()
 Get antennaId.
void setAntennaId (Tag antennaId) throws IllegalAccessException
 Set antennaId with the specified Tag value.
Tag getSpectralWindowId ()
 Get spectralWindowId.
void setSpectralWindowId (Tag spectralWindowId) throws IllegalAccessException
 Set spectralWindowId with the specified Tag value.
SpectralWindowRow getSpectralWindowUsingSpectralWindowId ()
 Returns the pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId.
AntennaRow getAntennaUsingAntennaId ()
 Returns the pointer to the row in the Antenna table having Antenna.antennaId == antennaId.
boolean compareNoAutoInc (Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int numPoly, Frequency freqOrigin, double[] pathCoeff, String calibrationMode)
 Compare each attribute except the autoincrementable one of this WVMCalRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (WVMCalRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (int numPoly, Frequency freqOrigin, double[] pathCoeff, String calibrationMode)

Package Functions

 WVMCalRow (WVMCalTable table)
 Create a WVMCalRow.
 WVMCalRow (WVMCalTable table, WVMCalRow row)
 Creates a WVMCalRow 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.WVMCalRow.WVMCalRow ( WVMCalTable  table  )  [package]

Create a WVMCalRow.

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

Creates a WVMCalRow using a copy constructor mechanism.

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

WVMCalRowIDL alma.asdm.WVMCalRow.toIDL (  ) 

Return this row in the form of an IDL struct.

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

void alma.asdm.WVMCalRow.setFromIDL ( WVMCalRowIDL  x  )  throws ConversionException

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

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

String alma.asdm.WVMCalRow.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.WVMCalRow.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. 

boolean alma.asdm.WVMCalRow.isOperationModeExists (  ) 

The attribute operationMode is optional.

Return true if this attribute exists.

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

String alma.asdm.WVMCalRow.getOperationMode (  )  throws IllegalAccessException

Get operationMode, which is optional.

Returns:
operationMode as String
Exceptions:
IllegalAccessException If operationMode does not exist.

void alma.asdm.WVMCalRow.setOperationMode ( String  operationMode  ) 

Set operationMode with the specified String value.

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

int alma.asdm.WVMCalRow.getNumPoly (  ) 

Get numPoly.

Returns:
numPoly as int

void alma.asdm.WVMCalRow.setNumPoly ( int  numPoly  ) 

Set numPoly with the specified int value.

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

Frequency alma.asdm.WVMCalRow.getFreqOrigin (  ) 

Get freqOrigin.

Returns:
freqOrigin as Frequency

void alma.asdm.WVMCalRow.setFreqOrigin ( Frequency  freqOrigin  ) 

Set freqOrigin with the specified Frequency value.

Parameters:
freqOrigin The Frequency value to which freqOrigin is to be set.

ArrayTimeInterval alma.asdm.WVMCalRow.getTimeInterval (  ) 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

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

double [] alma.asdm.WVMCalRow.getPathCoeff (  ) 

Get pathCoeff.

Returns:
pathCoeff as double[]

void alma.asdm.WVMCalRow.setPathCoeff ( double[]  pathCoeff  ) 

Set pathCoeff with the specified double[] value.

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

String alma.asdm.WVMCalRow.getCalibrationMode (  ) 

Get calibrationMode.

Returns:
calibrationMode as String

void alma.asdm.WVMCalRow.setCalibrationMode ( String  calibrationMode  ) 

Set calibrationMode with the specified String value.

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

boolean alma.asdm.WVMCalRow.isWvrefModelExists (  ) 

The attribute wvrefModel is optional.

Return true if this attribute exists.

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

float alma.asdm.WVMCalRow.getWvrefModel (  )  throws IllegalAccessException

Get wvrefModel, which is optional.

Returns:
wvrefModel as float
Exceptions:
IllegalAccessException If wvrefModel does not exist.

void alma.asdm.WVMCalRow.setWvrefModel ( float  wvrefModel  ) 

Set wvrefModel with the specified float value.

Parameters:
wvrefModel The float value to which wvrefModel is to be set.

Tag alma.asdm.WVMCalRow.getAntennaId (  ) 

Get antennaId.

Returns:
antennaId as Tag

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

Tag alma.asdm.WVMCalRow.getSpectralWindowId (  ) 

Get spectralWindowId.

Returns:
spectralWindowId as Tag

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

SpectralWindowRow alma.asdm.WVMCalRow.getSpectralWindowUsingSpectralWindowId (  ) 

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

Returns:
a SpectralWindowRow

AntennaRow alma.asdm.WVMCalRow.getAntennaUsingAntennaId (  ) 

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

Returns:
a AntennaRow

boolean alma.asdm.WVMCalRow.equalByRequiredValue ( WVMCalRow  x  ) 

Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.

Parameters:
x the WVMCalRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.

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