alma.asdm.FeedRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The FeedRow class is a row of a FeedTable.

Generated from model's revision 1.41, branch HEAD


Public Member Functions

FeedTable getTable ()
 Return the table to which this row belongs.
FeedRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (FeedRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct FeedRowIDL.
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 getFeedId ()
 Get feedId.
ArrayTimeInterval getTimeInterval ()
 Get timeInterval.
void setTimeInterval (ArrayTimeInterval timeInterval) throws IllegalAccessException
 Set timeInterval with the specified ArrayTimeInterval value.
int getNumReceptor ()
 Get numReceptor.
void setNumReceptor (int numReceptor)
 Set numReceptor with the specified int value.
boolean isFeedNumExists ()
 The attribute feedNum is optional.
int getFeedNum () throws IllegalAccessException
 Get feedNum, which is optional.
void setFeedNum (int feedNum)
 Set feedNum with the specified int value.
void clearFeedNum ()
 Mark feedNum, which is an optional field, as non-existent.
double[][] getBeamOffset ()
 Get beamOffset.
void setBeamOffset (double[][] beamOffset)
 Set beamOffset with the specified double[][] value.
Length[][] getFocusReference ()
 Get focusReference.
void setFocusReference (Length[][] focusReference)
 Set focusReference with the specified Length[][] value.
boolean isIllumOffsetExists ()
 The attribute illumOffset is optional.
float getIllumOffset () throws IllegalAccessException
 Get illumOffset, which is optional.
void setIllumOffset (float illumOffset)
 Set illumOffset with the specified float value.
void clearIllumOffset ()
 Mark illumOffset, which is an optional field, as non-existent.
boolean isIllumOffsetPaExists ()
 The attribute illumOffsetPa is optional.
float getIllumOffsetPa () throws IllegalAccessException
 Get illumOffsetPa, which is optional.
void setIllumOffsetPa (float illumOffsetPa)
 Set illumOffsetPa with the specified float value.
void clearIllumOffsetPa ()
 Mark illumOffsetPa, which is an optional field, as non-existent.
PolarizationType[] getPolarizationTypes ()
 Get polarizationTypes.
void setPolarizationTypes (PolarizationType[] polarizationTypes)
 Set polarizationTypes with the specified PolarizationType[] value.
Complex[][] getPolResponse ()
 Get polResponse.
void setPolResponse (Complex[][] polResponse)
 Set polResponse with the specified Complex[][] value.
boolean isXPositionExists ()
 The attribute xPosition is optional.
Length getXPosition () throws IllegalAccessException
 Get xPosition, which is optional.
void setXPosition (Length xPosition)
 Set xPosition with the specified Length value.
void clearXPosition ()
 Mark xPosition, which is an optional field, as non-existent.
boolean isYPositionExists ()
 The attribute yPosition is optional.
Length getYPosition () throws IllegalAccessException
 Get yPosition, which is optional.
void setYPosition (Length yPosition)
 Set yPosition with the specified Length value.
void clearYPosition ()
 Mark yPosition, which is an optional field, as non-existent.
boolean isZPositionExists ()
 The attribute zPosition is optional.
Length getZPosition () throws IllegalAccessException
 Get zPosition, which is optional.
void setZPosition (Length zPosition)
 Set zPosition with the specified Length value.
void clearZPosition ()
 Mark zPosition, which is an optional field, as non-existent.
Angle[] getReceptorAngle ()
 Get receptorAngle.
void setReceptorAngle (Angle[] receptorAngle)
 Set receptorAngle with the specified Angle[] value.
Tag getAntennaId ()
 Get antennaId.
void setAntennaId (Tag antennaId) throws IllegalAccessException
 Set antennaId with the specified Tag value.
boolean isBeamIdExists ()
 The attribute beamId is optional.
Tag[] getBeamId () throws IllegalAccessException
 Get beamId, which is optional.
void setBeamId (Tag[] beamId)
 Set beamId with the specified Tag[] value.
void clearBeamId ()
 Mark beamId, which is an optional field, as non-existent.
int[] getReceiverId ()
 Get receiverId.
void setReceiverId (int[] receiverId)
 Set receiverId with the specified int[] value.
Tag getSpectralWindowId ()
 Get spectralWindowId.
void setSpectralWindowId (Tag spectralWindowId) throws IllegalAccessException
 Set spectralWindowId with the specified Tag value.
AntennaRow getAntennaUsingAntennaId ()
 Returns the pointer to the row in the Antenna table having Antenna.antennaId == antennaId.
SpectralWindowRow getSpectralWindowUsingSpectralWindowId ()
 Returns the pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId.
void setReceiverId (int i, int receiverId) throws IndexOutOfBoundsException
 Set receiverId[i] with the specified int value.
ReceiverRow[] getReceivers (int i) throws IndexOutOfBoundsException, InvalidAccessException, NoSuchRow
ReceiverRow[] getReceivers () throws InvalidAccessException, NoSuchRow
void setBeamId (int i, Tag beamId) throws IllegalAccessException, IndexOutOfBoundsException
 Set beamId[i] with the specified Tag value.
boolean compareNoAutoInc (Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int[] receiverId, int numReceptor, double[][] beamOffset, Length[][] focusReference, PolarizationType[] polarizationTypes, Complex[][] polResponse, Angle[] receptorAngle)
 Compare each attribute except the autoincrementable one of this FeedRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (FeedRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (int[] receiverId, int numReceptor, double[][] beamOffset, Length[][] focusReference, PolarizationType[] polarizationTypes, Complex[][] polResponse, Angle[] receptorAngle)

Protected Member Functions

void setFeedId (int feedId) throws IllegalAccessException
 Set feedId with the specified int value.

Package Functions

 FeedRow (FeedTable table)
 Create a FeedRow.
 FeedRow (FeedTable table, FeedRow row)
 Creates a FeedRow using a copy constructor mechanism.
void isAdded ()
void addReceiverId (int id)
 Append a new id to receiverId.
void addReceiverId (int[] id)
 Append an array of ids to receiverId.
void addBeamId (Tag id)
 Append a Tag to beamId.
void addBeamId (Tag[] id)
 Append an array of Tag to beamId.
Tag getBeamId (int i) throws IndexOutOfBoundsException
 Returns the Tag stored in beamId at position i.
BeamRow getBeam (int i) throws IndexOutOfBoundsException, NoSuchRow
 Returns the BeamRow linked to this row via the Tag stored in beamId at position i.
BeamRow[] getBeams () throws NoSuchRow
 Returns the array of BeamRow linked to this row via the Tags stored in beamId.
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.FeedRow.FeedRow ( FeedTable  table  )  [package]

Create a FeedRow.

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.FeedRow.FeedRow ( FeedTable  table,
FeedRow  row 
) [package]

Creates a FeedRow using a copy constructor mechanism.

Given a FeedRow row and a FeedTable table, the method creates a new FeedRow 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

FeedRowIDL alma.asdm.FeedRow.toIDL (  ) 

Return this row in the form of an IDL struct.

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

void alma.asdm.FeedRow.setFromIDL ( FeedRowIDL  x  )  throws ConversionException

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

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

String alma.asdm.FeedRow.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.FeedRow.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.FeedRow.getFeedId (  ) 

Get feedId.

Returns:
feedId as int

void alma.asdm.FeedRow.setFeedId ( int  feedId  )  throws IllegalAccessException [protected]

Set feedId with the specified int value.

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

ArrayTimeInterval alma.asdm.FeedRow.getTimeInterval (  ) 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

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

int alma.asdm.FeedRow.getNumReceptor (  ) 

Get numReceptor.

Returns:
numReceptor as int

void alma.asdm.FeedRow.setNumReceptor ( int  numReceptor  ) 

Set numReceptor with the specified int value.

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

boolean alma.asdm.FeedRow.isFeedNumExists (  ) 

The attribute feedNum is optional.

Return true if this attribute exists.

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

int alma.asdm.FeedRow.getFeedNum (  )  throws IllegalAccessException

Get feedNum, which is optional.

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

void alma.asdm.FeedRow.setFeedNum ( int  feedNum  ) 

Set feedNum with the specified int value.

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

double [][] alma.asdm.FeedRow.getBeamOffset (  ) 

Get beamOffset.

Returns:
beamOffset as double[][]

void alma.asdm.FeedRow.setBeamOffset ( double  beamOffset[][]  ) 

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

Parameters:
beamOffset The double[][] value to which beamOffset is to be set.

Length [][] alma.asdm.FeedRow.getFocusReference (  ) 

Get focusReference.

Returns:
focusReference as Length[][]

void alma.asdm.FeedRow.setFocusReference ( Length  focusReference[][]  ) 

Set focusReference with the specified Length[][] value.

Parameters:
focusReference The Length[][] value to which focusReference is to be set.

boolean alma.asdm.FeedRow.isIllumOffsetExists (  ) 

The attribute illumOffset is optional.

Return true if this attribute exists.

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

float alma.asdm.FeedRow.getIllumOffset (  )  throws IllegalAccessException

Get illumOffset, which is optional.

Returns:
illumOffset as float
Exceptions:
IllegalAccessException If illumOffset does not exist.

void alma.asdm.FeedRow.setIllumOffset ( float  illumOffset  ) 

Set illumOffset with the specified float value.

Parameters:
illumOffset The float value to which illumOffset is to be set.

boolean alma.asdm.FeedRow.isIllumOffsetPaExists (  ) 

The attribute illumOffsetPa is optional.

Return true if this attribute exists.

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

float alma.asdm.FeedRow.getIllumOffsetPa (  )  throws IllegalAccessException

Get illumOffsetPa, which is optional.

Returns:
illumOffsetPa as float
Exceptions:
IllegalAccessException If illumOffsetPa does not exist.

void alma.asdm.FeedRow.setIllumOffsetPa ( float  illumOffsetPa  ) 

Set illumOffsetPa with the specified float value.

Parameters:
illumOffsetPa The float value to which illumOffsetPa is to be set.

PolarizationType [] alma.asdm.FeedRow.getPolarizationTypes (  ) 

Get polarizationTypes.

Returns:
polarizationTypes as PolarizationType[]

void alma.asdm.FeedRow.setPolarizationTypes ( PolarizationType[]  polarizationTypes  ) 

Set polarizationTypes with the specified PolarizationType[] value.

Parameters:
polarizationTypes The PolarizationType[] value to which polarizationTypes is to be set.

Complex [][] alma.asdm.FeedRow.getPolResponse (  ) 

Get polResponse.

Returns:
polResponse as Complex[][]

void alma.asdm.FeedRow.setPolResponse ( Complex  polResponse[][]  ) 

Set polResponse with the specified Complex[][] value.

Parameters:
polResponse The Complex[][] value to which polResponse is to be set.

boolean alma.asdm.FeedRow.isXPositionExists (  ) 

The attribute xPosition is optional.

Return true if this attribute exists.

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

Length alma.asdm.FeedRow.getXPosition (  )  throws IllegalAccessException

Get xPosition, which is optional.

Returns:
xPosition as Length
Exceptions:
IllegalAccessException If xPosition does not exist.

void alma.asdm.FeedRow.setXPosition ( Length  xPosition  ) 

Set xPosition with the specified Length value.

Parameters:
xPosition The Length value to which xPosition is to be set.

boolean alma.asdm.FeedRow.isYPositionExists (  ) 

The attribute yPosition is optional.

Return true if this attribute exists.

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

Length alma.asdm.FeedRow.getYPosition (  )  throws IllegalAccessException

Get yPosition, which is optional.

Returns:
yPosition as Length
Exceptions:
IllegalAccessException If yPosition does not exist.

void alma.asdm.FeedRow.setYPosition ( Length  yPosition  ) 

Set yPosition with the specified Length value.

Parameters:
yPosition The Length value to which yPosition is to be set.

boolean alma.asdm.FeedRow.isZPositionExists (  ) 

The attribute zPosition is optional.

Return true if this attribute exists.

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

Length alma.asdm.FeedRow.getZPosition (  )  throws IllegalAccessException

Get zPosition, which is optional.

Returns:
zPosition as Length
Exceptions:
IllegalAccessException If zPosition does not exist.

void alma.asdm.FeedRow.setZPosition ( Length  zPosition  ) 

Set zPosition with the specified Length value.

Parameters:
zPosition The Length value to which zPosition is to be set.

Angle [] alma.asdm.FeedRow.getReceptorAngle (  ) 

Get receptorAngle.

Returns:
receptorAngle as Angle[]

void alma.asdm.FeedRow.setReceptorAngle ( Angle[]  receptorAngle  ) 

Set receptorAngle with the specified Angle[] value.

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

Tag alma.asdm.FeedRow.getAntennaId (  ) 

Get antennaId.

Returns:
antennaId as Tag

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

boolean alma.asdm.FeedRow.isBeamIdExists (  ) 

The attribute beamId is optional.

Return true if this attribute exists.

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

Tag [] alma.asdm.FeedRow.getBeamId (  )  throws IllegalAccessException

Get beamId, which is optional.

Returns:
beamId as Tag[]
Exceptions:
IllegalAccessException If beamId does not exist.

void alma.asdm.FeedRow.setBeamId ( Tag[]  beamId  ) 

Set beamId with the specified Tag[] value.

Parameters:
beamId The Tag[] value to which beamId is to be set.

int [] alma.asdm.FeedRow.getReceiverId (  ) 

Get receiverId.

Returns:
receiverId as int[]

void alma.asdm.FeedRow.setReceiverId ( int[]  receiverId  ) 

Set receiverId with the specified int[] value.

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

Tag alma.asdm.FeedRow.getSpectralWindowId (  ) 

Get spectralWindowId.

Returns:
spectralWindowId as Tag

void alma.asdm.FeedRow.setSpectralWindowId ( Tag  spectralWindowId  )  throws IllegalAccessException

Set spectralWindowId with the specified Tag value.

Parameters:
spectralWindowId The Tag value to which spectralWindowId 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.FeedRow.getAntennaUsingAntennaId (  ) 

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

Returns:
a AntennaRow

SpectralWindowRow alma.asdm.FeedRow.getSpectralWindowUsingSpectralWindowId (  ) 

Returns the pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId.

Returns:
a SpectralWindowRow

void alma.asdm.FeedRow.setReceiverId ( int  i,
int  receiverId 
) throws IndexOutOfBoundsException

Set receiverId[i] with the specified int value.

Parameters:
i The index in receiverId where to set the int value.
receiverId The int value to which receiverId[i] is to be set.
Exceptions:
IndexOutOfBoundsException 

void alma.asdm.FeedRow.setBeamId ( int  i,
Tag  beamId 
) throws IllegalAccessException, IndexOutOfBoundsException

Set beamId[i] with the specified Tag value.

Parameters:
i The index in beamId where to set the Tag value.
beamId The Tag value to which beamId[i] is to be set.
Exceptions:
IllegalAccessException 
IndexOutOfBoundsException 

void alma.asdm.FeedRow.addBeamId ( Tag  id  )  [package]

Append a Tag to beamId.

Parameters:
id the Tag to be appended to beamId

void alma.asdm.FeedRow.addBeamId ( Tag[]  id  )  [package]

Append an array of Tag to beamId.

Parameters:
id an array of Tag to be appended to beamId

boolean alma.asdm.FeedRow.equalByRequiredValue ( FeedRow  x  ) 

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

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

Object [] alma.asdm.FeedRow.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:23 2007 for ASDM Java Implementation by  doxygen 1.5.1