alma.asdm.CalFluxRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The CalFluxRow class is a row of a CalFluxTable.

Generated from model's revision 1.46, branch HEAD


Public Member Functions

CalFluxTable getTable ()
 Return the table to which this row belongs.
CalFluxRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (CalFluxRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct CalFluxRowIDL.
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.
String getSourceName ()
 Get sourceName.
void setSourceName (String sourceName) throws IllegalAccessException
 Set sourceName with the specified String value.
int getNumFrequency ()
 Get numFrequency.
void setNumFrequency (int numFrequency) throws IllegalAccessException
 Set numFrequency with the specified int value.
int getNumStokes ()
 Get numStokes.
void setNumStokes (int numStokes) throws IllegalAccessException
 Set numStokes with the specified int value.
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.
StokesParameter[] getStokes ()
 Get stokes.
void setStokes (StokesParameter[] stokes) throws IllegalAccessException
 Set stokes with the specified StokesParameter[] value.
double[][] getFlux ()
 Get flux.
void setFlux (double[][] flux) throws IllegalAccessException
 Set flux with the specified double[][] value.
double[][] getFluxError ()
 Get fluxError.
void setFluxError (double[][] fluxError) throws IllegalAccessException
 Set fluxError with the specified double[][] value.
boolean isSizeExists ()
 The attribute size is optional.
Angle[][][] getSize () throws IllegalAccessException
 Get size, which is optional.
void setSize (Angle[][][] size)
 Set size with the specified Angle[][][] value.
void clearSize ()
 Mark size, which is an optional field, as non-existent.
boolean isSizeErrorExists ()
 The attribute sizeError is optional.
Angle[][][] getSizeError () throws IllegalAccessException
 Get sizeError, which is optional.
void setSizeError (Angle[][][] sizeError)
 Set sizeError with the specified Angle[][][] value.
void clearSizeError ()
 Mark sizeError, which is an optional field, as non-existent.
boolean isPAExists ()
 The attribute PA is optional.
Angle[][] getPA () throws IllegalAccessException
 Get PA, which is optional.
void setPA (Angle[][] PA)
 Set PA with the specified Angle[][] value.
void clearPA ()
 Mark PA, which is an optional field, as non-existent.
boolean isPAErrorExists ()
 The attribute PAError is optional.
Angle[][] getPAError () throws IllegalAccessException
 Get PAError, which is optional.
void setPAError (Angle[][] PAError)
 Set PAError with the specified Angle[][] value.
void clearPAError ()
 Mark PAError, which is an optional field, as non-existent.
FluxCalibrationMethod getFluxMethod ()
 Get fluxMethod.
void setFluxMethod (FluxCalibrationMethod fluxMethod) throws IllegalAccessException
 Set fluxMethod with the specified FluxCalibrationMethod value.
boolean isDirectionExists ()
 The attribute direction is optional.
Angle[] getDirection () throws IllegalAccessException
 Get direction, which is optional.
void setDirection (Angle[] direction)
 Set direction with the specified Angle[] value.
void clearDirection ()
 Mark direction, which is an optional field, as non-existent.
boolean isSourceModelExists ()
 The attribute sourceModel is optional.
SourceModel getSourceModel () throws IllegalAccessException
 Get sourceModel, which is optional.
void setSourceModel (SourceModel sourceModel)
 Set sourceModel with the specified SourceModel value.
void clearSourceModel ()
 Mark sourceModel, which is an optional field, as non-existent.
Frequency[] getFrequencyRange ()
 Get frequencyRange.
void setFrequencyRange (Frequency[] frequencyRange) throws IllegalAccessException
 Set frequencyRange with the specified Frequency[] 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, String sourceName, int numFrequency, int numStokes, ArrayTime startValidTime, ArrayTime endValidTime, StokesParameter[] stokes, double[][] flux, double[][] fluxError, FluxCalibrationMethod fluxMethod, Frequency[] frequencyRange)
 Compare each attribute except the autoincrementable one of this CalFluxRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (CalFluxRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (int numFrequency, int numStokes, ArrayTime startValidTime, ArrayTime endValidTime, StokesParameter[] stokes, double[][] flux, double[][] fluxError, FluxCalibrationMethod fluxMethod, Frequency[] frequencyRange)

Package Functions

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

Create a CalFluxRow.

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.CalFluxRow.CalFluxRow CalFluxTable  table,
CalFluxRow  row
[package]
 

Creates a CalFluxRow using a copy constructor mechanism.

Given a CalFluxRow row and a CalFluxTable table, the method creates a new CalFluxRow 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.CalFluxRow.clearDirection  ) 
 

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

void alma.asdm.CalFluxRow.clearPA  ) 
 

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

void alma.asdm.CalFluxRow.clearPAError  ) 
 

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

void alma.asdm.CalFluxRow.clearSize  ) 
 

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

void alma.asdm.CalFluxRow.clearSizeError  ) 
 

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

void alma.asdm.CalFluxRow.clearSourceModel  ) 
 

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

boolean alma.asdm.CalFluxRow.compareNoAutoInc Tag  calDataId,
Tag  calReductionId,
String  sourceName,
int  numFrequency,
int  numStokes,
ArrayTime  startValidTime,
ArrayTime  endValidTime,
StokesParameter[]  stokes,
double  flux[][],
double  fluxError[][],
FluxCalibrationMethod  fluxMethod,
Frequency[]  frequencyRange
 

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

boolean alma.asdm.CalFluxRow.equalByRequiredValue CalFluxRow  x  ) 
 

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

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

Object [] alma.asdm.CalFluxRow.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.CalFluxRow.getCalDataId  ) 
 

Get calDataId.

Returns:
calDataId as Tag

CalDataRow alma.asdm.CalFluxRow.getCalDataUsingCalDataId  ) 
 

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

Returns:
a CalDataRow

Tag alma.asdm.CalFluxRow.getCalReductionId  ) 
 

Get calReductionId.

Returns:
calReductionId as Tag

CalReductionRow alma.asdm.CalFluxRow.getCalReductionUsingCalReductionId  ) 
 

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

Returns:
a CalReductionRow

Angle [] alma.asdm.CalFluxRow.getDirection  )  throws IllegalAccessException
 

Get direction, which is optional.

Returns:
direction as Angle[]
Exceptions:
IllegalAccessException If direction does not exist.

ArrayTime alma.asdm.CalFluxRow.getEndValidTime  ) 
 

Get endValidTime.

Returns:
endValidTime as ArrayTime

double [][] alma.asdm.CalFluxRow.getFlux  ) 
 

Get flux.

Returns:
flux as double[][]

double [][] alma.asdm.CalFluxRow.getFluxError  ) 
 

Get fluxError.

Returns:
fluxError as double[][]

FluxCalibrationMethod alma.asdm.CalFluxRow.getFluxMethod  ) 
 

Get fluxMethod.

Returns:
fluxMethod as FluxCalibrationMethod

Frequency [] alma.asdm.CalFluxRow.getFrequencyRange  ) 
 

Get frequencyRange.

Returns:
frequencyRange as Frequency[]

int alma.asdm.CalFluxRow.getNumFrequency  ) 
 

Get numFrequency.

Returns:
numFrequency as int

int alma.asdm.CalFluxRow.getNumStokes  ) 
 

Get numStokes.

Returns:
numStokes as int

Angle [][] alma.asdm.CalFluxRow.getPA  )  throws IllegalAccessException
 

Get PA, which is optional.

Returns:
PA as Angle[][]
Exceptions:
IllegalAccessException If PA does not exist.

Angle [][] alma.asdm.CalFluxRow.getPAError  )  throws IllegalAccessException
 

Get PAError, which is optional.

Returns:
PAError as Angle[][]
Exceptions:
IllegalAccessException If PAError does not exist.

Angle [][][] alma.asdm.CalFluxRow.getSize  )  throws IllegalAccessException
 

Get size, which is optional.

Returns:
size as Angle[][][]
Exceptions:
IllegalAccessException If size does not exist.

Angle [][][] alma.asdm.CalFluxRow.getSizeError  )  throws IllegalAccessException
 

Get sizeError, which is optional.

Returns:
sizeError as Angle[][][]
Exceptions:
IllegalAccessException If sizeError does not exist.

SourceModel alma.asdm.CalFluxRow.getSourceModel  )  throws IllegalAccessException
 

Get sourceModel, which is optional.

Returns:
sourceModel as SourceModel
Exceptions:
IllegalAccessException If sourceModel does not exist.

String alma.asdm.CalFluxRow.getSourceName  ) 
 

Get sourceName.

Returns:
sourceName as String

ArrayTime alma.asdm.CalFluxRow.getStartValidTime  ) 
 

Get startValidTime.

Returns:
startValidTime as ArrayTime

StokesParameter [] alma.asdm.CalFluxRow.getStokes  ) 
 

Get stokes.

Returns:
stokes as StokesParameter[]

CalFluxTable alma.asdm.CalFluxRow.getTable  ) 
 

Return the table to which this row belongs.

boolean alma.asdm.CalFluxRow.isDirectionExists  ) 
 

The attribute direction is optional.

Return true if this attribute exists.

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

boolean alma.asdm.CalFluxRow.isPAErrorExists  ) 
 

The attribute PAError is optional.

Return true if this attribute exists.

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

boolean alma.asdm.CalFluxRow.isPAExists  ) 
 

The attribute PA is optional.

Return true if this attribute exists.

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

boolean alma.asdm.CalFluxRow.isSizeErrorExists  ) 
 

The attribute sizeError is optional.

Return true if this attribute exists.

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

boolean alma.asdm.CalFluxRow.isSizeExists  ) 
 

The attribute size is optional.

Return true if this attribute exists.

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

boolean alma.asdm.CalFluxRow.isSourceModelExists  ) 
 

The attribute sourceModel is optional.

Return true if this attribute exists.

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

void alma.asdm.CalFluxRow.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.CalFluxRow.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.CalFluxRow.setDirection Angle[]  direction  ) 
 

Set direction with the specified Angle[] value.

Parameters:
direction The Angle[] value to which direction is to be set.

void alma.asdm.CalFluxRow.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.CalFluxRow.setFlux double  flux[][]  )  throws IllegalAccessException
 

Set flux with the specified double[][] value.

Parameters:
flux The double[][] value to which flux 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.CalFluxRow.setFluxError double  fluxError[][]  )  throws IllegalAccessException
 

Set fluxError with the specified double[][] value.

Parameters:
fluxError The double[][] value to which fluxError 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.CalFluxRow.setFluxMethod FluxCalibrationMethod  fluxMethod  )  throws IllegalAccessException
 

Set fluxMethod with the specified FluxCalibrationMethod value.

Parameters:
fluxMethod The FluxCalibrationMethod value to which fluxMethod 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.CalFluxRow.setFrequencyRange Frequency[]  frequencyRange  )  throws IllegalAccessException
 

Set frequencyRange with the specified Frequency[] value.

Parameters:
frequencyRange The Frequency[] value to which frequencyRange 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.CalFluxRow.setFromIDL CalFluxRowIDL  x  )  throws ConversionException
 

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

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

void alma.asdm.CalFluxRow.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.CalFluxRow.setNumFrequency int  numFrequency  )  throws IllegalAccessException
 

Set numFrequency with the specified int value.

Parameters:
numFrequency The int value to which numFrequency 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.CalFluxRow.setNumStokes int  numStokes  )  throws IllegalAccessException
 

Set numStokes with the specified int value.

Parameters:
numStokes The int value to which numStokes 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.CalFluxRow.setPA Angle  PA[][]  ) 
 

Set PA with the specified Angle[][] value.

Parameters:
PA The Angle[][] value to which PA is to be set.

void alma.asdm.CalFluxRow.setPAError Angle  PAError[][]  ) 
 

Set PAError with the specified Angle[][] value.

Parameters:
PAError The Angle[][] value to which PAError is to be set.

void alma.asdm.CalFluxRow.setSize Angle  size[][][]  ) 
 

Set size with the specified Angle[][][] value.

Parameters:
size The Angle[][][] value to which size is to be set.

void alma.asdm.CalFluxRow.setSizeError Angle  sizeError[][][]  ) 
 

Set sizeError with the specified Angle[][][] value.

Parameters:
sizeError The Angle[][][] value to which sizeError is to be set.

void alma.asdm.CalFluxRow.setSourceModel SourceModel  sourceModel  ) 
 

Set sourceModel with the specified SourceModel value.

Parameters:
sourceModel The SourceModel value to which sourceModel is to be set.

void alma.asdm.CalFluxRow.setSourceName String  sourceName  )  throws IllegalAccessException
 

Set sourceName with the specified String value.

Parameters:
sourceName The String value to which sourceName 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.CalFluxRow.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.CalFluxRow.setStokes StokesParameter[]  stokes  )  throws IllegalAccessException
 

Set stokes with the specified StokesParameter[] value.

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

CalFluxRowIDL alma.asdm.CalFluxRow.toIDL  ) 
 

Return this row in the form of an IDL struct.

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

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