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.41, 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.
void setPointingModelId (int pointingModelId) throws IllegalAccessException
 Set pointingModelId with the specified int value.
int getNumCoeff ()
 Get numCoeff.
void setNumCoeff (int numCoeff)
 Set numCoeff with the specified int value.
String[] getCoeffName ()
 Get coeffName.
void setCoeffName (String[] coeffName)
 Set coeffName with the specified String[] value.
float[] getCoeffVal ()
 Get coeffVal.
void setCoeffVal (float[] coeffVal)
 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 pointingModelId, 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)

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

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.

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.

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. 

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. 

int alma.asdm.PointingModelRow.getPointingModelId (  ) 

Get pointingModelId.

Returns:
pointingModelId as int

void alma.asdm.PointingModelRow.setPointingModelId ( int  pointingModelId  )  throws IllegalAccessException

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.

int alma.asdm.PointingModelRow.getNumCoeff (  ) 

Get numCoeff.

Returns:
numCoeff as int

void alma.asdm.PointingModelRow.setNumCoeff ( int  numCoeff  ) 

Set numCoeff with the specified int value.

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

String [] alma.asdm.PointingModelRow.getCoeffName (  ) 

Get coeffName.

Returns:
coeffName as String[]

void alma.asdm.PointingModelRow.setCoeffName ( String[]  coeffName  ) 

Set coeffName with the specified String[] value.

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

float [] alma.asdm.PointingModelRow.getCoeffVal (  ) 

Get coeffVal.

Returns:
coeffVal as float[]

void alma.asdm.PointingModelRow.setCoeffVal ( float[]  coeffVal  ) 

Set coeffVal with the specified float[] value.

Parameters:
coeffVal The float[] value to which coeffVal is to be set.

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.

int alma.asdm.PointingModelRow.getNumFormula (  )  throws IllegalAccessException

Get numFormula, which is optional.

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

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.

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.

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

Get coeffFormula, which is optional.

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

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.

Tag alma.asdm.PointingModelRow.getAntennaId (  ) 

Get antennaId.

Returns:
antennaId as Tag

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.

AntennaRow alma.asdm.PointingModelRow.getAntennaUsingAntennaId (  ) 

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

Returns:
a AntennaRow

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.

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.


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 16:47:24 2007 for ASDM Java Implementation by  doxygen 1.5.1