alma.asdm.FreqOffsetRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The FreqOffsetRow class is a row of a FreqOffsetTable.

Generated from model's revision 1.46, branch HEAD


Public Member Functions

FreqOffsetTable getTable ()
 Return the table to which this row belongs.
FreqOffsetRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (FreqOffsetRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct FreqOffsetRowIDL.
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.
Frequency getOffset ()
 Get offset.
void setOffset (Frequency offset) throws IllegalAccessException
 Set offset with the specified Frequency value.
Tag getAntennaId ()
 Get antennaId.
void setAntennaId (Tag antennaId) throws IllegalAccessException
 Set antennaId with the specified Tag value.
int getFeedId ()
 Get feedId.
void setFeedId (int feedId) throws IllegalAccessException
 Set feedId with the specified int value.
Tag getSpectralWindowId ()
 Get spectralWindowId.
void setSpectralWindowId (Tag spectralWindowId) throws IllegalAccessException
 Set spectralWindowId with the specified Tag value.
FeedRow[] getFeeds () throws InvalidAccessException, NoSuchRow
 Get the collection of rows in the Feed table having feedId == this.feedId.
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.
boolean compareNoAutoInc (Tag antennaId, int feedId, Tag spectralWindowId, ArrayTimeInterval timeInterval, Frequency offset)
 Compare each attribute except the autoincrementable one of this FreqOffsetRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (FreqOffsetRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (Frequency offset)

Package Functions

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

Create a FreqOffsetRow.

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.FreqOffsetRow.FreqOffsetRow FreqOffsetTable  table,
FreqOffsetRow  row
[package]
 

Creates a FreqOffsetRow using a copy constructor mechanism.

Given a FreqOffsetRow row and a FreqOffsetTable table, the method creates a new FreqOffsetRow 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.FreqOffsetRow.compareNoAutoInc Tag  antennaId,
int  feedId,
Tag  spectralWindowId,
ArrayTimeInterval  timeInterval,
Frequency  offset
 

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

boolean alma.asdm.FreqOffsetRow.equalByRequiredValue FreqOffsetRow  x  ) 
 

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

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

Tag alma.asdm.FreqOffsetRow.getAntennaId  ) 
 

Get antennaId.

Returns:
antennaId as Tag

AntennaRow alma.asdm.FreqOffsetRow.getAntennaUsingAntennaId  ) 
 

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

Returns:
a AntennaRow

Object [] alma.asdm.FreqOffsetRow.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.FreqOffsetRow.getFeedId  ) 
 

Get feedId.

Returns:
feedId as int

Frequency alma.asdm.FreqOffsetRow.getOffset  ) 
 

Get offset.

Returns:
offset as Frequency

Tag alma.asdm.FreqOffsetRow.getSpectralWindowId  ) 
 

Get spectralWindowId.

Returns:
spectralWindowId as Tag

SpectralWindowRow alma.asdm.FreqOffsetRow.getSpectralWindowUsingSpectralWindowId  ) 
 

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

Returns:
a SpectralWindowRow

FreqOffsetTable alma.asdm.FreqOffsetRow.getTable  ) 
 

Return the table to which this row belongs.

ArrayTimeInterval alma.asdm.FreqOffsetRow.getTimeInterval  ) 
 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

void alma.asdm.FreqOffsetRow.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.FreqOffsetRow.setFeedId int  feedId  )  throws IllegalAccessException
 

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.

void alma.asdm.FreqOffsetRow.setFromIDL FreqOffsetRowIDL  x  )  throws ConversionException
 

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

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

void alma.asdm.FreqOffsetRow.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.FreqOffsetRow.setOffset Frequency  offset  )  throws IllegalAccessException
 

Set offset with the specified Frequency value.

Parameters:
offset The Frequency value to which offset 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.FreqOffsetRow.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.

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

FreqOffsetRowIDL alma.asdm.FreqOffsetRow.toIDL  ) 
 

Return this row in the form of an IDL struct.

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

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