alma.asdm.PointingModelRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The PointingModelRow class is a row of a PointingModelTable.

Generated from model's revision 1.46, branch HEAD


Public Member Functions

PointingModelTable getTable ()
 Return the table to which this row belongs.
PointingModelRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (PointingModelRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct PointingModelRowIDL.
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.
int getPointingModelId ()
 Get pointingModelId.
int getNumCoeff ()
 Get numCoeff.
void setNumCoeff (int numCoeff) throws IllegalAccessException
 Set numCoeff with the specified int value.
String[] getCoeffName ()
 Get coeffName.
void setCoeffName (String[] coeffName) throws IllegalAccessException
 Set coeffName with the specified String[] value.
float[] getCoeffVal ()
 Get coeffVal.
void setCoeffVal (float[] coeffVal) throws IllegalAccessException
 Set coeffVal with the specified float[] value.
boolean isNumFormulaExists ()
 The attribute numFormula is optional.
int getNumFormula () throws IllegalAccessException
 Get numFormula, which is optional.
void setNumFormula (int numFormula)
 Set numFormula with the specified int value.
void clearNumFormula ()
 Mark numFormula, which is an optional field, as non-existent.
boolean isCoeffFormulaExists ()
 The attribute coeffFormula is optional.
String[] getCoeffFormula () throws IllegalAccessException
 Get coeffFormula, which is optional.
void setCoeffFormula (String[] coeffFormula)
 Set coeffFormula with the specified String[] value.
void clearCoeffFormula ()
 Mark coeffFormula, 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.
AntennaRow getAntennaUsingAntennaId ()
 Returns the pointer to the row in the Antenna table having Antenna.antennaId == antennaId.
boolean compareNoAutoInc (Tag antennaId, int numCoeff, String[] coeffName, float[] coeffVal)
 Compare each attribute except the autoincrementable one of this PointingModelRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (PointingModelRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (int numCoeff, String[] coeffName, float[] coeffVal)

Protected Member Functions

void setPointingModelId (int pointingModelId) throws IllegalAccessException
 Set pointingModelId with the specified int value.

Package Functions

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

Create a PointingModelRow.

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.PointingModelRow.PointingModelRow PointingModelTable  table,
PointingModelRow  row
[package]
 

Creates a PointingModelRow using a copy constructor mechanism.

Given a PointingModelRow row and a PointingModelTable table, the method creates a new PointingModelRow 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.PointingModelRow.clearCoeffFormula  ) 
 

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

void alma.asdm.PointingModelRow.clearNumFormula  ) 
 

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

boolean alma.asdm.PointingModelRow.compareNoAutoInc Tag  antennaId,
int  numCoeff,
String[]  coeffName,
float[]  coeffVal
 

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

boolean alma.asdm.PointingModelRow.equalByRequiredValue PointingModelRow  x  ) 
 

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

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

Tag alma.asdm.PointingModelRow.getAntennaId  ) 
 

Get antennaId.

Returns:
antennaId as Tag

AntennaRow alma.asdm.PointingModelRow.getAntennaUsingAntennaId  ) 
 

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

Returns:
a AntennaRow

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

String [] alma.asdm.PointingModelRow.getCoeffFormula  )  throws IllegalAccessException
 

Get coeffFormula, which is optional.

Returns:
coeffFormula as String[]
Exceptions:
IllegalAccessException If coeffFormula does not exist.

String [] alma.asdm.PointingModelRow.getCoeffName  ) 
 

Get coeffName.

Returns:
coeffName as String[]

float [] alma.asdm.PointingModelRow.getCoeffVal  ) 
 

Get coeffVal.

Returns:
coeffVal as float[]

int alma.asdm.PointingModelRow.getNumCoeff  ) 
 

Get numCoeff.

Returns:
numCoeff as int

int alma.asdm.PointingModelRow.getNumFormula  )  throws IllegalAccessException
 

Get numFormula, which is optional.

Returns:
numFormula as int
Exceptions:
IllegalAccessException If numFormula does not exist.

int alma.asdm.PointingModelRow.getPointingModelId  ) 
 

Get pointingModelId.

Returns:
pointingModelId as int

PointingModelTable alma.asdm.PointingModelRow.getTable  ) 
 

Return the table to which this row belongs.

boolean alma.asdm.PointingModelRow.isCoeffFormulaExists  ) 
 

The attribute coeffFormula is optional.

Return true if this attribute exists.

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

boolean alma.asdm.PointingModelRow.isNumFormulaExists  ) 
 

The attribute numFormula is optional.

Return true if this attribute exists.

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

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

void alma.asdm.PointingModelRow.setCoeffFormula String[]  coeffFormula  ) 
 

Set coeffFormula with the specified String[] value.

Parameters:
coeffFormula The String[] value to which coeffFormula is to be set.

void alma.asdm.PointingModelRow.setCoeffName String[]  coeffName  )  throws IllegalAccessException
 

Set coeffName with the specified String[] value.

Parameters:
coeffName The String[] value to which coeffName 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.PointingModelRow.setCoeffVal float[]  coeffVal  )  throws IllegalAccessException
 

Set coeffVal with the specified float[] value.

Parameters:
coeffVal The float[] value to which coeffVal 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.PointingModelRow.setFromIDL PointingModelRowIDL  x  )  throws ConversionException
 

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

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

void alma.asdm.PointingModelRow.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.PointingModelRow.setNumCoeff int  numCoeff  )  throws IllegalAccessException
 

Set numCoeff with the specified int value.

Parameters:
numCoeff The int value to which numCoeff 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.PointingModelRow.setNumFormula int  numFormula  ) 
 

Set numFormula with the specified int value.

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

void alma.asdm.PointingModelRow.setPointingModelId int  pointingModelId  )  throws IllegalAccessException [protected]
 

Set pointingModelId with the specified int value.

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

PointingModelRowIDL alma.asdm.PointingModelRow.toIDL  ) 
 

Return this row in the form of an IDL struct.

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

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