alma.asdm.SeeingRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The SeeingRow class is a row of a SeeingTable.

Generated from model's revision 1.46, branch HEAD


Public Member Functions

SeeingTable getTable ()
 Return the table to which this row belongs.
SeeingRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (SeeingRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct SeeingRowIDL.
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 getNumBaseLength ()
 Get numBaseLength.
void setNumBaseLength (int numBaseLength) throws IllegalAccessException
 Set numBaseLength with the specified int value.
Length[] getBaseLength ()
 Get baseLength.
void setBaseLength (Length[] baseLength) throws IllegalAccessException
 Set baseLength with the specified Length[] value.
Angle[] getPhaseRms ()
 Get phaseRms.
void setPhaseRms (Angle[] phaseRms) throws IllegalAccessException
 Set phaseRms with the specified Angle[] value.
float getSeeing ()
 Get seeing.
void setSeeing (float seeing) throws IllegalAccessException
 Set seeing with the specified float value.
float getExponent ()
 Get exponent.
void setExponent (float exponent) throws IllegalAccessException
 Set exponent with the specified float value.
boolean compareNoAutoInc (ArrayTimeInterval timeInterval, int numBaseLength, Length[] baseLength, Angle[] phaseRms, float seeing, float exponent)
 Compare each attribute except the autoincrementable one of this SeeingRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (SeeingRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (int numBaseLength, Length[] baseLength, Angle[] phaseRms, float seeing, float exponent)

Package Functions

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

Create a SeeingRow.

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.SeeingRow.SeeingRow SeeingTable  table,
SeeingRow  row
[package]
 

Creates a SeeingRow using a copy constructor mechanism.

Given a SeeingRow row and a SeeingTable table, the method creates a new SeeingRow 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.SeeingRow.compareNoAutoInc ArrayTimeInterval  timeInterval,
int  numBaseLength,
Length[]  baseLength,
Angle[]  phaseRms,
float  seeing,
float  exponent
 

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

boolean alma.asdm.SeeingRow.equalByRequiredValue SeeingRow  x  ) 
 

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

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

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

Length [] alma.asdm.SeeingRow.getBaseLength  ) 
 

Get baseLength.

Returns:
baseLength as Length[]

float alma.asdm.SeeingRow.getExponent  ) 
 

Get exponent.

Returns:
exponent as float

int alma.asdm.SeeingRow.getNumBaseLength  ) 
 

Get numBaseLength.

Returns:
numBaseLength as int

Angle [] alma.asdm.SeeingRow.getPhaseRms  ) 
 

Get phaseRms.

Returns:
phaseRms as Angle[]

float alma.asdm.SeeingRow.getSeeing  ) 
 

Get seeing.

Returns:
seeing as float

SeeingTable alma.asdm.SeeingRow.getTable  ) 
 

Return the table to which this row belongs.

ArrayTimeInterval alma.asdm.SeeingRow.getTimeInterval  ) 
 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

void alma.asdm.SeeingRow.setBaseLength Length[]  baseLength  )  throws IllegalAccessException
 

Set baseLength with the specified Length[] value.

Parameters:
baseLength The Length[] value to which baseLength 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.SeeingRow.setExponent float  exponent  )  throws IllegalAccessException
 

Set exponent with the specified float value.

Parameters:
exponent The float value to which exponent 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.SeeingRow.setFromIDL SeeingRowIDL  x  )  throws ConversionException
 

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

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

void alma.asdm.SeeingRow.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.SeeingRow.setNumBaseLength int  numBaseLength  )  throws IllegalAccessException
 

Set numBaseLength with the specified int value.

Parameters:
numBaseLength The int value to which numBaseLength 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.SeeingRow.setPhaseRms Angle[]  phaseRms  )  throws IllegalAccessException
 

Set phaseRms with the specified Angle[] value.

Parameters:
phaseRms The Angle[] value to which phaseRms 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.SeeingRow.setSeeing float  seeing  )  throws IllegalAccessException
 

Set seeing with the specified float value.

Parameters:
seeing The float value to which seeing 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.SeeingRow.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.

SeeingRowIDL alma.asdm.SeeingRow.toIDL  ) 
 

Return this row in the form of an IDL struct.

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

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