alma.asdm.SourceParameterRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The SourceParameterRow class is a row of a SourceParameterTable.

Generated from model's revision 1.46, branch HEAD


Public Member Functions

SourceParameterTable getTable ()
 Return the table to which this row belongs.
SourceParameterRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (SourceParameterRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct SourceParameterRowIDL.
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 getNumFreq ()
 Get numFreq.
void setNumFreq (int numFreq) throws IllegalAccessException
 Set numFreq with the specified int value.
int getNumStokes ()
 Get numStokes.
void setNumStokes (int numStokes) throws IllegalAccessException
 Set numStokes with the specified int value.
int getNumDep ()
 Get numDep.
void setNumDep (int numDep) throws IllegalAccessException
 Set numDep with the specified int value.
StokesParameter[] getStokesParameter ()
 Get stokesParameter.
void setStokesParameter (StokesParameter[] stokesParameter) throws IllegalAccessException
 Set stokesParameter with the specified StokesParameter[] value.
Flux[][] getFlux ()
 Get flux.
void setFlux (Flux[][] flux) throws IllegalAccessException
 Set flux with the specified Flux[][] 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 isPositionAngleExists ()
 The attribute positionAngle is optional.
Angle[] getPositionAngle () throws IllegalAccessException
 Get positionAngle, which is optional.
void setPositionAngle (Angle[] positionAngle)
 Set positionAngle with the specified Angle[] value.
void clearPositionAngle ()
 Mark positionAngle, which is an optional field, as non-existent.
int getSourceParameterId ()
 Get sourceParameterId.
Frequency[] getFrequency ()
 Get frequency.
void setFrequency (Frequency[] frequency) throws IllegalAccessException
 Set frequency with the specified Frequency[] value.
Frequency[] getFrequencyInterval ()
 Get frequencyInterval.
void setFrequencyInterval (Frequency[] frequencyInterval) throws IllegalAccessException
 Set frequencyInterval with the specified Frequency[] value.
Flux[][] getFluxErr ()
 Get fluxErr.
void setFluxErr (Flux[][] fluxErr) throws IllegalAccessException
 Set fluxErr with the specified Flux[][] value.
boolean isSizeErrExists ()
 The attribute sizeErr is optional.
Angle[][] getSizeErr () throws IllegalAccessException
 Get sizeErr, which is optional.
void setSizeErr (Angle[][] sizeErr)
 Set sizeErr with the specified Angle[][] value.
void clearSizeErr ()
 Mark sizeErr, which is an optional field, as non-existent.
boolean isPositionAngleErrExists ()
 The attribute positionAngleErr is optional.
Angle[] getPositionAngleErr () throws IllegalAccessException
 Get positionAngleErr, which is optional.
void setPositionAngleErr (Angle[] positionAngleErr)
 Set positionAngleErr with the specified Angle[] value.
void clearPositionAngleErr ()
 Mark positionAngleErr, which is an optional field, as non-existent.
boolean isDepSourceParameterIdExists ()
 The attribute depSourceParameterId is optional.
int[] getDepSourceParameterId () throws IllegalAccessException
 Get depSourceParameterId, which is optional.
void setDepSourceParameterId (int[] depSourceParameterId)
 Set depSourceParameterId with the specified int[] value.
void clearDepSourceParameterId ()
 Mark depSourceParameterId, which is an optional field, as non-existent.
int getSourceId ()
 Get sourceId.
void setSourceId (int sourceId) throws IllegalAccessException
 Set sourceId with the specified int value.
SourceRow[] getSources () throws InvalidAccessException, NoSuchRow
 Get the collection of rows in the Source table having sourceId == this.sourceId.
boolean compareNoAutoInc (int sourceId, ArrayTimeInterval timeInterval, int numFreq, int numStokes, int numDep, StokesParameter[] stokesParameter, Flux[][] flux, Frequency[] frequency, Frequency[] frequencyInterval, Flux[][] fluxErr)
 Compare each attribute except the autoincrementable one of this SourceParameterRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (SourceParameterRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (int numFreq, int numStokes, int numDep, StokesParameter[] stokesParameter, Flux[][] flux, Frequency[] frequency, Frequency[] frequencyInterval, Flux[][] fluxErr)

Protected Member Functions

void setSourceParameterId (int sourceParameterId) throws IllegalAccessException
 Set sourceParameterId with the specified int value.

Package Functions

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

Create a SourceParameterRow.

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.SourceParameterRow.SourceParameterRow SourceParameterTable  table,
SourceParameterRow  row
[package]
 

Creates a SourceParameterRow using a copy constructor mechanism.

Given a SourceParameterRow row and a SourceParameterTable table, the method creates a new SourceParameterRow 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.SourceParameterRow.clearDepSourceParameterId  ) 
 

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

void alma.asdm.SourceParameterRow.clearPositionAngle  ) 
 

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

void alma.asdm.SourceParameterRow.clearPositionAngleErr  ) 
 

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

void alma.asdm.SourceParameterRow.clearSize  ) 
 

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

void alma.asdm.SourceParameterRow.clearSizeErr  ) 
 

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

boolean alma.asdm.SourceParameterRow.compareNoAutoInc int  sourceId,
ArrayTimeInterval  timeInterval,
int  numFreq,
int  numStokes,
int  numDep,
StokesParameter[]  stokesParameter,
Flux  flux[][],
Frequency[]  frequency,
Frequency[]  frequencyInterval,
Flux  fluxErr[][]
 

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

boolean alma.asdm.SourceParameterRow.equalByRequiredValue SourceParameterRow  x  ) 
 

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

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

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

int [] alma.asdm.SourceParameterRow.getDepSourceParameterId  )  throws IllegalAccessException
 

Get depSourceParameterId, which is optional.

Returns:
depSourceParameterId as int[]
Exceptions:
IllegalAccessException If depSourceParameterId does not exist.

Flux [][] alma.asdm.SourceParameterRow.getFlux  ) 
 

Get flux.

Returns:
flux as Flux[][]

Flux [][] alma.asdm.SourceParameterRow.getFluxErr  ) 
 

Get fluxErr.

Returns:
fluxErr as Flux[][]

Frequency [] alma.asdm.SourceParameterRow.getFrequency  ) 
 

Get frequency.

Returns:
frequency as Frequency[]

Frequency [] alma.asdm.SourceParameterRow.getFrequencyInterval  ) 
 

Get frequencyInterval.

Returns:
frequencyInterval as Frequency[]

int alma.asdm.SourceParameterRow.getNumDep  ) 
 

Get numDep.

Returns:
numDep as int

int alma.asdm.SourceParameterRow.getNumFreq  ) 
 

Get numFreq.

Returns:
numFreq as int

int alma.asdm.SourceParameterRow.getNumStokes  ) 
 

Get numStokes.

Returns:
numStokes as int

Angle [] alma.asdm.SourceParameterRow.getPositionAngle  )  throws IllegalAccessException
 

Get positionAngle, which is optional.

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

Angle [] alma.asdm.SourceParameterRow.getPositionAngleErr  )  throws IllegalAccessException
 

Get positionAngleErr, which is optional.

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

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

Get size, which is optional.

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

Angle [][] alma.asdm.SourceParameterRow.getSizeErr  )  throws IllegalAccessException
 

Get sizeErr, which is optional.

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

int alma.asdm.SourceParameterRow.getSourceId  ) 
 

Get sourceId.

Returns:
sourceId as int

int alma.asdm.SourceParameterRow.getSourceParameterId  ) 
 

Get sourceParameterId.

Returns:
sourceParameterId as int

StokesParameter [] alma.asdm.SourceParameterRow.getStokesParameter  ) 
 

Get stokesParameter.

Returns:
stokesParameter as StokesParameter[]

SourceParameterTable alma.asdm.SourceParameterRow.getTable  ) 
 

Return the table to which this row belongs.

ArrayTimeInterval alma.asdm.SourceParameterRow.getTimeInterval  ) 
 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

boolean alma.asdm.SourceParameterRow.isDepSourceParameterIdExists  ) 
 

The attribute depSourceParameterId is optional.

Return true if this attribute exists.

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

boolean alma.asdm.SourceParameterRow.isPositionAngleErrExists  ) 
 

The attribute positionAngleErr is optional.

Return true if this attribute exists.

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

boolean alma.asdm.SourceParameterRow.isPositionAngleExists  ) 
 

The attribute positionAngle is optional.

Return true if this attribute exists.

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

boolean alma.asdm.SourceParameterRow.isSizeErrExists  ) 
 

The attribute sizeErr is optional.

Return true if this attribute exists.

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

boolean alma.asdm.SourceParameterRow.isSizeExists  ) 
 

The attribute size is optional.

Return true if this attribute exists.

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

void alma.asdm.SourceParameterRow.setDepSourceParameterId int[]  depSourceParameterId  ) 
 

Set depSourceParameterId with the specified int[] value.

Parameters:
depSourceParameterId The int[] value to which depSourceParameterId is to be set.

void alma.asdm.SourceParameterRow.setFlux Flux  flux[][]  )  throws IllegalAccessException
 

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

Parameters:
flux The Flux[][] 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.SourceParameterRow.setFluxErr Flux  fluxErr[][]  )  throws IllegalAccessException
 

Set fluxErr with the specified Flux[][] value.

Parameters:
fluxErr The Flux[][] value to which fluxErr 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.SourceParameterRow.setFrequency Frequency[]  frequency  )  throws IllegalAccessException
 

Set frequency with the specified Frequency[] value.

Parameters:
frequency The Frequency[] value to which frequency 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.SourceParameterRow.setFrequencyInterval Frequency[]  frequencyInterval  )  throws IllegalAccessException
 

Set frequencyInterval with the specified Frequency[] value.

Parameters:
frequencyInterval The Frequency[] value to which frequencyInterval 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.SourceParameterRow.setFromIDL SourceParameterRowIDL  x  )  throws ConversionException
 

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

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

void alma.asdm.SourceParameterRow.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.SourceParameterRow.setNumDep int  numDep  )  throws IllegalAccessException
 

Set numDep with the specified int value.

Parameters:
numDep The int value to which numDep 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.SourceParameterRow.setNumFreq int  numFreq  )  throws IllegalAccessException
 

Set numFreq with the specified int value.

Parameters:
numFreq The int value to which numFreq 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.SourceParameterRow.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.SourceParameterRow.setPositionAngle Angle[]  positionAngle  ) 
 

Set positionAngle with the specified Angle[] value.

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

void alma.asdm.SourceParameterRow.setPositionAngleErr Angle[]  positionAngleErr  ) 
 

Set positionAngleErr with the specified Angle[] value.

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

void alma.asdm.SourceParameterRow.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.SourceParameterRow.setSizeErr Angle  sizeErr[][]  ) 
 

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

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

void alma.asdm.SourceParameterRow.setSourceId int  sourceId  )  throws IllegalAccessException
 

Set sourceId with the specified int value.

Parameters:
sourceId The int value to which sourceId 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.SourceParameterRow.setSourceParameterId int  sourceParameterId  )  throws IllegalAccessException [protected]
 

Set sourceParameterId with the specified int value.

Parameters:
sourceParameterId The int value to which sourceParameterId 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.SourceParameterRow.setStokesParameter StokesParameter[]  stokesParameter  )  throws IllegalAccessException
 

Set stokesParameter with the specified StokesParameter[] value.

Parameters:
stokesParameter The StokesParameter[] value to which stokesParameter 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.SourceParameterRow.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.

SourceParameterRowIDL alma.asdm.SourceParameterRow.toIDL  ) 
 

Return this row in the form of an IDL struct.

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

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