Public Member Functions | |
DataDescriptionTable | getTable () |
Return the table to which this row belongs. | |
DataDescriptionRowIDL | toIDL () |
Return this row in the form of an IDL struct. | |
void | setFromIDL (DataDescriptionRowIDL x) throws ConversionException |
Fill the values of this row from the IDL struct DataDescriptionRowIDL. | |
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. | |
Tag | getDataDescriptionId () |
Get dataDescriptionId. | |
boolean | isFlagRowExists () |
The attribute flagRow is optional. | |
boolean | getFlagRow () throws IllegalAccessException |
Get flagRow, which is optional. | |
void | setFlagRow (boolean flagRow) |
Set flagRow with the specified boolean value. | |
void | clearFlagRow () |
Mark flagRow, which is an optional field, as non-existent. | |
Tag | getPolOrHoloId () |
Get polOrHoloId. | |
void | setPolOrHoloId (Tag polOrHoloId) |
Set polOrHoloId with the specified Tag value. | |
Tag | getSpectralWindowId () |
Get spectralWindowId. | |
void | setSpectralWindowId (Tag spectralWindowId) |
Set spectralWindowId with the specified Tag value. | |
PolarizationRow | getPolarizationUsingPolOrHoloId () |
Returns the row in the Polarization table having Polarization.poIarizationId == polOrHoloId. | |
HolographyRow | getHolographyUsingPolOrHoloId () |
Returns the row in the Holography table having Holography.holographyId == polOrHoloId. | |
SpectralWindowRow | getSpectralWindowUsingSpectralWindowId () |
Returns the pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId. | |
boolean | compareNoAutoInc (Tag polOrHoloId, Tag spectralWindowId) |
Compare each attribute except the autoincrementable one of this DataDescriptionRow with the corresponding parameters and return true if there is a match and false otherwise. | |
boolean | equalByRequiredValue (DataDescriptionRow x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
boolean | compareRequiredValue (Tag polOrHoloId, Tag spectralWindowId) |
Protected Member Functions | |
void | setDataDescriptionId (Tag dataDescriptionId) throws IllegalAccessException |
Set dataDescriptionId with the specified Tag value. | |
Package Functions | |
DataDescriptionRow (DataDescriptionTable table) | |
Create a DataDescriptionRow. | |
DataDescriptionRow (DataDescriptionTable table, DataDescriptionRow row) | |
Creates a DataDescriptionRow 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. |
alma.asdm.DataDescriptionRow.DataDescriptionRow | ( | DataDescriptionTable | table | ) | [package] |
Create a DataDescriptionRow.
This constructor has package access because only the table can create rows. All rows know the table to which they belong.
table | The table to which this row belongs. |
alma.asdm.DataDescriptionRow.DataDescriptionRow | ( | DataDescriptionTable | table, | |
DataDescriptionRow | row | |||
) | [package] |
Creates a DataDescriptionRow using a copy constructor mechanism.
Given a DataDescriptionRow row and a DataDescriptionTable table, the method creates a new DataDescriptionRow 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.
table | The table to which this row belongs. | |
row | The row which is to be copied. |
DataDescriptionRowIDL alma.asdm.DataDescriptionRow.toIDL | ( | ) |
Return this row in the form of an IDL struct.
void alma.asdm.DataDescriptionRow.setFromIDL | ( | DataDescriptionRowIDL | x | ) | throws ConversionException |
Fill the values of this row from the IDL struct DataDescriptionRowIDL.
x | The IDL struct containing the values used to fill this row. |
String alma.asdm.DataDescriptionRow.toXML | ( | ) | throws ConversionException |
Return this row in the form of an XML string.
ConversionException. |
void alma.asdm.DataDescriptionRow.setFromXML | ( | String | rowDoc | ) | throws ConversionException |
Fill the values of this row from an XML string that was produced by the toXML() method.
x | The XML string being used to set the values of this row. |
ConversionException. |
Tag alma.asdm.DataDescriptionRow.getDataDescriptionId | ( | ) |
Get dataDescriptionId.
void alma.asdm.DataDescriptionRow.setDataDescriptionId | ( | Tag | dataDescriptionId | ) | throws IllegalAccessException [protected] |
Set dataDescriptionId with the specified Tag value.
dataDescriptionId | The Tag value to which dataDescriptionId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
boolean alma.asdm.DataDescriptionRow.isFlagRowExists | ( | ) |
The attribute flagRow is optional.
Return true if this attribute exists.
boolean alma.asdm.DataDescriptionRow.getFlagRow | ( | ) | throws IllegalAccessException |
Get flagRow, which is optional.
IllegalAccessException | If flagRow does not exist. |
void alma.asdm.DataDescriptionRow.setFlagRow | ( | boolean | flagRow | ) |
Set flagRow with the specified boolean value.
flagRow | The boolean value to which flagRow is to be set. |
Tag alma.asdm.DataDescriptionRow.getPolOrHoloId | ( | ) |
Get polOrHoloId.
void alma.asdm.DataDescriptionRow.setPolOrHoloId | ( | Tag | polOrHoloId | ) |
Set polOrHoloId with the specified Tag value.
polOrHoloId | The Tag value to which polOrHoloId is to be set. |
Tag alma.asdm.DataDescriptionRow.getSpectralWindowId | ( | ) |
Get spectralWindowId.
void alma.asdm.DataDescriptionRow.setSpectralWindowId | ( | Tag | spectralWindowId | ) |
Set spectralWindowId with the specified Tag value.
spectralWindowId | The Tag value to which spectralWindowId is to be set. |
PolarizationRow alma.asdm.DataDescriptionRow.getPolarizationUsingPolOrHoloId | ( | ) |
Returns the row in the Polarization table having Polarization.poIarizationId == polOrHoloId.
HolographyRow alma.asdm.DataDescriptionRow.getHolographyUsingPolOrHoloId | ( | ) |
Returns the row in the Holography table having Holography.holographyId == polOrHoloId.
SpectralWindowRow alma.asdm.DataDescriptionRow.getSpectralWindowUsingSpectralWindowId | ( | ) |
Returns the pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId.
boolean alma.asdm.DataDescriptionRow.equalByRequiredValue | ( | DataDescriptionRow | x | ) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
x | the DataDescriptionRow whose required attributes of the value part will be compared with those of this. |
Object [] alma.asdm.DataDescriptionRow.getAttributesValues | ( | ) | [package, virtual] |
Returns all the attributes of an attribute of an ASDM table as an array of Object.
Implements alma.asdm.ASDMRow.