alma.asdm.CalGainRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The CalGainRow class is a row of a CalGainTable.

Generated from model's revision 1.46, branch HEAD


Public Member Functions

CalGainTable getTable ()
 Return the table to which this row belongs.
CalGainRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (CalGainRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct CalGainRowIDL.
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.
ArrayTime getStartValidTime ()
 Get startValidTime.
void setStartValidTime (ArrayTime startValidTime) throws IllegalAccessException
 Set startValidTime with the specified ArrayTime value.
ArrayTime getEndValidTime ()
 Get endValidTime.
void setEndValidTime (ArrayTime endValidTime) throws IllegalAccessException
 Set endValidTime with the specified ArrayTime value.
float[][] getGain ()
 Get gain.
void setGain (float[][] gain) throws IllegalAccessException
 Set gain with the specified float[][] value.
boolean[] getGainValid ()
 Get gainValid.
void setGainValid (boolean[] gainValid) throws IllegalAccessException
 Set gainValid with the specified boolean[] value.
float[][] getFit ()
 Get fit.
void setFit (float[][] fit) throws IllegalAccessException
 Set fit with the specified float[][] value.
float[] getFitWeight ()
 Get fitWeight.
void setFitWeight (float[] fitWeight) throws IllegalAccessException
 Set fitWeight with the specified float[] value.
boolean getTotalGainValid ()
 Get totalGainValid.
void setTotalGainValid (boolean totalGainValid) throws IllegalAccessException
 Set totalGainValid with the specified boolean value.
float getTotalFit ()
 Get totalFit.
void setTotalFit (float totalFit) throws IllegalAccessException
 Set totalFit with the specified float value.
float getTotalFitWeight ()
 Get totalFitWeight.
void setTotalFitWeight (float totalFitWeight) throws IllegalAccessException
 Set totalFitWeight with the specified float value.
Tag getCalDataId ()
 Get calDataId.
void setCalDataId (Tag calDataId) throws IllegalAccessException
 Set calDataId with the specified Tag value.
Tag getCalReductionId ()
 Get calReductionId.
void setCalReductionId (Tag calReductionId) throws IllegalAccessException
 Set calReductionId with the specified Tag value.
CalDataRow getCalDataUsingCalDataId ()
 Returns the pointer to the row in the CalData table having CalData.calDataId == calDataId.
CalReductionRow getCalReductionUsingCalReductionId ()
 Returns the pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId.
boolean compareNoAutoInc (Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, float[][] gain, boolean[] gainValid, float[][] fit, float[] fitWeight, boolean totalGainValid, float totalFit, float totalFitWeight)
 Compare each attribute except the autoincrementable one of this CalGainRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (CalGainRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (ArrayTime startValidTime, ArrayTime endValidTime, float[][] gain, boolean[] gainValid, float[][] fit, float[] fitWeight, boolean totalGainValid, float totalFit, float totalFitWeight)

Package Functions

 CalGainRow (CalGainTable table)
 Create a CalGainRow.
 CalGainRow (CalGainTable table, CalGainRow row)
 Creates a CalGainRow 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.


Constructor & Destructor Documentation

alma.asdm.CalGainRow.CalGainRow CalGainTable  table  )  [package]
 

Create a CalGainRow.

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.CalGainRow.CalGainRow CalGainTable  table,
CalGainRow  row
[package]
 

Creates a CalGainRow using a copy constructor mechanism.

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

boolean alma.asdm.CalGainRow.compareNoAutoInc Tag  calDataId,
Tag  calReductionId,
ArrayTime  startValidTime,
ArrayTime  endValidTime,
float  gain[][],
boolean[]  gainValid,
float  fit[][],
float[]  fitWeight,
boolean  totalGainValid,
float  totalFit,
float  totalFitWeight
 

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

boolean alma.asdm.CalGainRow.equalByRequiredValue CalGainRow  x  ) 
 

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

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

Object [] alma.asdm.CalGainRow.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.

Tag alma.asdm.CalGainRow.getCalDataId  ) 
 

Get calDataId.

Returns:
calDataId as Tag

CalDataRow alma.asdm.CalGainRow.getCalDataUsingCalDataId  ) 
 

Returns the pointer to the row in the CalData table having CalData.calDataId == calDataId.

Returns:
a CalDataRow

Tag alma.asdm.CalGainRow.getCalReductionId  ) 
 

Get calReductionId.

Returns:
calReductionId as Tag

CalReductionRow alma.asdm.CalGainRow.getCalReductionUsingCalReductionId  ) 
 

Returns the pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId.

Returns:
a CalReductionRow

ArrayTime alma.asdm.CalGainRow.getEndValidTime  ) 
 

Get endValidTime.

Returns:
endValidTime as ArrayTime

float [][] alma.asdm.CalGainRow.getFit  ) 
 

Get fit.

Returns:
fit as float[][]

float [] alma.asdm.CalGainRow.getFitWeight  ) 
 

Get fitWeight.

Returns:
fitWeight as float[]

float [][] alma.asdm.CalGainRow.getGain  ) 
 

Get gain.

Returns:
gain as float[][]

boolean [] alma.asdm.CalGainRow.getGainValid  ) 
 

Get gainValid.

Returns:
gainValid as boolean[]

ArrayTime alma.asdm.CalGainRow.getStartValidTime  ) 
 

Get startValidTime.

Returns:
startValidTime as ArrayTime

CalGainTable alma.asdm.CalGainRow.getTable  ) 
 

Return the table to which this row belongs.

float alma.asdm.CalGainRow.getTotalFit  ) 
 

Get totalFit.

Returns:
totalFit as float

float alma.asdm.CalGainRow.getTotalFitWeight  ) 
 

Get totalFitWeight.

Returns:
totalFitWeight as float

boolean alma.asdm.CalGainRow.getTotalGainValid  ) 
 

Get totalGainValid.

Returns:
totalGainValid as boolean

void alma.asdm.CalGainRow.setCalDataId Tag  calDataId  )  throws IllegalAccessException
 

Set calDataId with the specified Tag value.

Parameters:
calDataId The Tag value to which calDataId 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.CalGainRow.setCalReductionId Tag  calReductionId  )  throws IllegalAccessException
 

Set calReductionId with the specified Tag value.

Parameters:
calReductionId The Tag value to which calReductionId 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.CalGainRow.setEndValidTime ArrayTime  endValidTime  )  throws IllegalAccessException
 

Set endValidTime with the specified ArrayTime value.

Parameters:
endValidTime The ArrayTime value to which endValidTime 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.CalGainRow.setFit float  fit[][]  )  throws IllegalAccessException
 

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

Parameters:
fit The float[][] value to which fit 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.CalGainRow.setFitWeight float[]  fitWeight  )  throws IllegalAccessException
 

Set fitWeight with the specified float[] value.

Parameters:
fitWeight The float[] value to which fitWeight 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.CalGainRow.setFromIDL CalGainRowIDL  x  )  throws ConversionException
 

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

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

void alma.asdm.CalGainRow.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.CalGainRow.setGain float  gain[][]  )  throws IllegalAccessException
 

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

Parameters:
gain The float[][] value to which gain 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.CalGainRow.setGainValid boolean[]  gainValid  )  throws IllegalAccessException
 

Set gainValid with the specified boolean[] value.

Parameters:
gainValid The boolean[] value to which gainValid 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.CalGainRow.setStartValidTime ArrayTime  startValidTime  )  throws IllegalAccessException
 

Set startValidTime with the specified ArrayTime value.

Parameters:
startValidTime The ArrayTime value to which startValidTime 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.CalGainRow.setTotalFit float  totalFit  )  throws IllegalAccessException
 

Set totalFit with the specified float value.

Parameters:
totalFit The float value to which totalFit 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.CalGainRow.setTotalFitWeight float  totalFitWeight  )  throws IllegalAccessException
 

Set totalFitWeight with the specified float value.

Parameters:
totalFitWeight The float value to which totalFitWeight 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.CalGainRow.setTotalGainValid boolean  totalGainValid  )  throws IllegalAccessException
 

Set totalGainValid with the specified boolean value.

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

CalGainRowIDL alma.asdm.CalGainRow.toIDL  ) 
 

Return this row in the form of an IDL struct.

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

String alma.asdm.CalGainRow.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:44 2008 for ASDM Java Implementation by doxygen 1.3.8