#include <AntennaRow.h>
Collaboration diagram for asdm::AntennaRow:

Generated from model's revision "1.46", branch "ALMA-5_1_1-B"
Definition at line 154 of file AntennaRow.h.
Public Member Functions | |
| virtual | ~AntennaRow () |
| AntennaTable & | getTable () const |
| Return the table to which this row belongs. | |
| AntennaRowIDL * | toIDL () const |
| Return this row in the form of an IDL struct. | |
| void | setFromIDL (AntennaRowIDL x) throw (ConversionException) |
| Fill the values of this row from the IDL struct AntennaRowIDL. | |
| string | toXML () const |
| Return this row in the form of an XML string. | |
| void | setFromXML (string rowDoc) throw (ConversionException) |
| Fill the values of this row from an XML string that was produced by the toXML() method. | |
| string | getName () const |
| Get name. | |
| void | setName (string name) throw (IllegalAccessException) |
| Set name with the specified string. | |
| AntennaMakeMod::AntennaMake | getAntennaMake () const |
| Get antennaMake. | |
| void | setAntennaMake (AntennaMakeMod::AntennaMake antennaMake) throw (IllegalAccessException) |
| Set antennaMake with the specified AntennaMakeMod::AntennaMake. | |
| AntennaTypeMod::AntennaType | getAntennaType () const |
| Get antennaType. | |
| void | setAntennaType (AntennaTypeMod::AntennaType antennaType) throw (IllegalAccessException) |
| Set antennaType with the specified AntennaTypeMod::AntennaType. | |
| Length | getXPosition () const |
| Get xPosition. | |
| void | setXPosition (Length xPosition) throw (IllegalAccessException) |
| Set xPosition with the specified Length. | |
| Length | getYPosition () const |
| Get yPosition. | |
| void | setYPosition (Length yPosition) throw (IllegalAccessException) |
| Set yPosition with the specified Length. | |
| Length | getZPosition () const |
| Get zPosition. | |
| void | setZPosition (Length zPosition) throw (IllegalAccessException) |
| Set zPosition with the specified Length. | |
| ArrayTime | getTime () const |
| Get time. | |
| void | setTime (ArrayTime time) throw (IllegalAccessException) |
| Set time with the specified ArrayTime. | |
| Length | getXOffset () const |
| Get xOffset. | |
| void | setXOffset (Length xOffset) throw (IllegalAccessException) |
| Set xOffset with the specified Length. | |
| Length | getYOffset () const |
| Get yOffset. | |
| void | setYOffset (Length yOffset) throw (IllegalAccessException) |
| Set yOffset with the specified Length. | |
| Length | getZOffset () const |
| Get zOffset. | |
| void | setZOffset (Length zOffset) throw (IllegalAccessException) |
| Set zOffset with the specified Length. | |
| Length | getDishDiameter () const |
| Get dishDiameter. | |
| void | setDishDiameter (Length dishDiameter) throw (IllegalAccessException) |
| Set dishDiameter with the specified Length. | |
| bool | getFlagRow () const |
| Get flagRow. | |
| void | setFlagRow (bool flagRow) throw (IllegalAccessException) |
| Set flagRow with the specified bool. | |
| Tag | getAssocAntennaId () const throw (IllegalAccessException) |
| Get assocAntennaId, which is optional. | |
| void | setAssocAntennaId (Tag assocAntennaId) |
| Set assocAntennaId with the specified Tag. | |
| void | clearAssocAntennaId () |
| Mark assocAntennaId, which is an optional field, as non-existent. | |
| Tag | getStationId () const |
| Get stationId. | |
| void | setStationId (Tag stationId) throw (IllegalAccessException) |
| Set stationId with the specified Tag. | |
| AntennaRow * | getAssociatedAntenna () const throw (NoSuchRow) |
| Get the optional row in table Antenna by traversing the defined link to that table. | |
| void | setAssociatedAntennaLink (Tag assocAntennaId) |
| Set the values of the link attributes needed to link this row to a row in table Antenna. | |
| StationRow * | getStationUsingStationId () |
| stationId pointer to the row in the Station table having Station.stationId == stationId | |
| bool | compareNoAutoInc (Tag stationId, string name, AntennaMakeMod::AntennaMake antennaMake, AntennaTypeMod::AntennaType antennaType, Length xPosition, Length yPosition, Length zPosition, ArrayTime time, Length xOffset, Length yOffset, Length zOffset, Length dishDiameter, bool flagRow) |
| Compare each mandatory attribute except the autoincrementable one of this AntennaRow with the corresponding parameters and return true if there is a match and false otherwise. | |
| bool | compareRequiredValue (Tag stationId, string name, AntennaMakeMod::AntennaMake antennaMake, AntennaTypeMod::AntennaType antennaType, Length xPosition, Length yPosition, Length zPosition, ArrayTime time, Length xOffset, Length yOffset, Length zOffset, Length dishDiameter, bool flagRow) |
| bool | equalByRequiredValue (AntennaRow *x) |
| Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
Public Attributes | |
| Intrinsic Table | Attributes |
| Extrinsic Table | Attributes |
| Links | |
Private Member Functions | |
| void | isAdded () |
| This method is used by the Table class when this row is added to the table. | |
| AntennaRow (AntennaTable &table) | |
| Create a AntennaRow. | |
| AntennaRow (AntennaTable &table, AntennaRow &row) | |
| Create a AntennaRow using a copy constructor mechanism. | |
| void | setAntennaId (Tag antennaId) throw (IllegalAccessException) |
| Set antennaId with the specified Tag value. | |
Private Attributes | |
| AntennaTable & | table |
| The table to which this row belongs. | |
| bool | hasBeenAdded |
| Whether this row has been added to the table or not. | |
| string | name |
| ===> Attribute name | |
| AntennaMakeMod::AntennaMake | antennaMake |
| ===> Attribute antennaMake | |
| AntennaTypeMod::AntennaType | antennaType |
| ===> Attribute antennaType | |
| Length | xPosition |
| ===> Attribute xPosition | |
| Length | yPosition |
| ===> Attribute yPosition | |
| Length | zPosition |
| ===> Attribute zPosition | |
| ArrayTime | time |
| ===> Attribute time | |
| Length | xOffset |
| ===> Attribute xOffset | |
| Length | yOffset |
| ===> Attribute yOffset | |
| Length | zOffset |
| ===> Attribute zOffset | |
| Length | dishDiameter |
| ===> Attribute dishDiameter | |
| bool | flagRow |
| ===> Attribute flagRow | |
| Tag | assocAntennaId |
| Tag | stationId |
| ===> Attribute stationId | |
Friends | |
| class | asdm::AntennaTable |
| virtual asdm::AntennaRow::~AntennaRow | ( | ) | [virtual] |
| asdm::AntennaRow::AntennaRow | ( | AntennaTable & | table | ) | [private] |
Create a AntennaRow.
This constructor is private because only the table can create rows. All rows know the table to which they belong.
| table | The table to which this row belongs. |
| asdm::AntennaRow::AntennaRow | ( | AntennaTable & | table, | |
| AntennaRow & | row | |||
| ) | [private] |
Create a AntennaRow using a copy constructor mechanism.
Given a AntennaRow row and a AntennaTable table, the method creates a new AntennaRow 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 is private 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. |
| AntennaTable& asdm::AntennaRow::getTable | ( | ) | const |
Return the table to which this row belongs.
| AntennaRowIDL* asdm::AntennaRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
| void asdm::AntennaRow::setFromIDL | ( | AntennaRowIDL | x | ) | throw (ConversionException) |
Fill the values of this row from the IDL struct AntennaRowIDL.
| x | The IDL struct containing the values used to fill this row. |
| string asdm::AntennaRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
| void asdm::AntennaRow::setFromXML | ( | string | rowDoc | ) | throw (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. |
| string asdm::AntennaRow::getName | ( | ) | const |
Get name.
| void asdm::AntennaRow::setName | ( | string | name | ) | throw (IllegalAccessException) |
Set name with the specified string.
| name | The string value to which name is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| AntennaMakeMod::AntennaMake asdm::AntennaRow::getAntennaMake | ( | ) | const |
Get antennaMake.
| void asdm::AntennaRow::setAntennaMake | ( | AntennaMakeMod::AntennaMake | antennaMake | ) | throw (IllegalAccessException) |
Set antennaMake with the specified AntennaMakeMod::AntennaMake.
| antennaMake | The AntennaMakeMod::AntennaMake value to which antennaMake is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| AntennaTypeMod::AntennaType asdm::AntennaRow::getAntennaType | ( | ) | const |
Get antennaType.
| void asdm::AntennaRow::setAntennaType | ( | AntennaTypeMod::AntennaType | antennaType | ) | throw (IllegalAccessException) |
Set antennaType with the specified AntennaTypeMod::AntennaType.
| antennaType | The AntennaTypeMod::AntennaType value to which antennaType is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| void asdm::AntennaRow::setXPosition | ( | Length | xPosition | ) | throw (IllegalAccessException) |
Set xPosition with the specified Length.
| xPosition | The Length value to which xPosition is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| void asdm::AntennaRow::setYPosition | ( | Length | yPosition | ) | throw (IllegalAccessException) |
Set yPosition with the specified Length.
| yPosition | The Length value to which yPosition is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| void asdm::AntennaRow::setZPosition | ( | Length | zPosition | ) | throw (IllegalAccessException) |
Set zPosition with the specified Length.
| zPosition | The Length value to which zPosition is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| void asdm::AntennaRow::setTime | ( | ArrayTime | time | ) | throw (IllegalAccessException) |
Set time with the specified ArrayTime.
| time | The ArrayTime value to which time is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| void asdm::AntennaRow::setXOffset | ( | Length | xOffset | ) | throw (IllegalAccessException) |
Set xOffset with the specified Length.
| xOffset | The Length value to which xOffset is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| void asdm::AntennaRow::setYOffset | ( | Length | yOffset | ) | throw (IllegalAccessException) |
Set yOffset with the specified Length.
| yOffset | The Length value to which yOffset is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| void asdm::AntennaRow::setZOffset | ( | Length | zOffset | ) | throw (IllegalAccessException) |
Set zOffset with the specified Length.
| zOffset | The Length value to which zOffset is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| void asdm::AntennaRow::setDishDiameter | ( | Length | dishDiameter | ) | throw (IllegalAccessException) |
Set dishDiameter with the specified Length.
| dishDiameter | The Length value to which dishDiameter is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| bool asdm::AntennaRow::getFlagRow | ( | ) | const |
Get flagRow.
| void asdm::AntennaRow::setFlagRow | ( | bool | flagRow | ) | throw (IllegalAccessException) |
Set flagRow with the specified bool.
| flagRow | The bool value to which flagRow is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| Tag asdm::AntennaRow::getAssocAntennaId | ( | ) | const throw (IllegalAccessException) |
Get assocAntennaId, which is optional.
| IllegalAccessException | If assocAntennaId does not exist. |
| void asdm::AntennaRow::setAssocAntennaId | ( | Tag | assocAntennaId | ) |
| void asdm::AntennaRow::clearAssocAntennaId | ( | ) |
Mark assocAntennaId, which is an optional field, as non-existent.
| void asdm::AntennaRow::setStationId | ( | Tag | stationId | ) | throw (IllegalAccessException) |
Set stationId with the specified Tag.
| stationId | The Tag value to which stationId is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
| AntennaRow* asdm::AntennaRow::getAssociatedAntenna | ( | ) | const throw (NoSuchRow) |
Get the optional row in table Antenna by traversing the defined link to that table.
| NoSuchRow | if there is no such row in table Antenna or the link does not exist. |
| void asdm::AntennaRow::setAssociatedAntennaLink | ( | Tag | assocAntennaId | ) |
Set the values of the link attributes needed to link this row to a row in table Antenna.
| StationRow* asdm::AntennaRow::getStationUsingStationId | ( | ) |
stationId pointer to the row in the Station table having Station.stationId == stationId
| bool asdm::AntennaRow::compareNoAutoInc | ( | Tag | stationId, | |
| string | name, | |||
| AntennaMakeMod::AntennaMake | antennaMake, | |||
| AntennaTypeMod::AntennaType | antennaType, | |||
| Length | xPosition, | |||
| Length | yPosition, | |||
| Length | zPosition, | |||
| ArrayTime | time, | |||
| Length | xOffset, | |||
| Length | yOffset, | |||
| Length | zOffset, | |||
| Length | dishDiameter, | |||
| bool | flagRow | |||
| ) |
Compare each mandatory attribute except the autoincrementable one of this AntennaRow with the corresponding parameters and return true if there is a match and false otherwise.
| bool asdm::AntennaRow::compareRequiredValue | ( | Tag | stationId, | |
| string | name, | |||
| AntennaMakeMod::AntennaMake | antennaMake, | |||
| AntennaTypeMod::AntennaType | antennaType, | |||
| Length | xPosition, | |||
| Length | yPosition, | |||
| Length | zPosition, | |||
| ArrayTime | time, | |||
| Length | xOffset, | |||
| Length | yOffset, | |||
| Length | zOffset, | |||
| Length | dishDiameter, | |||
| bool | flagRow | |||
| ) |
| bool asdm::AntennaRow::equalByRequiredValue | ( | AntennaRow * | x | ) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
| x | a pointer on the AntennaRow whose required attributes of the value part will be compared with those of this. |
| void asdm::AntennaRow::isAdded | ( | ) | [private] |
This method is used by the Table class when this row is added to the table.
| void asdm::AntennaRow::setAntennaId | ( | Tag | antennaId | ) | throw (IllegalAccessException) [private] |
Set antennaId with the specified Tag value.
| antennaId | The Tag value to which antennaId is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
friend class asdm::AntennaTable [friend] |
Definition at line 155 of file AntennaRow.h.
| Extrinsic Table asdm::AntennaRow::Attributes |
Definition at line 200 of file AntennaRow.h.
| Extrinsic Table asdm::AntennaRow::Attributes |
Definition at line 584 of file AntennaRow.h.
Definition at line 664 of file AntennaRow.h.
AntennaTable& asdm::AntennaRow::table [private] |
bool asdm::AntennaRow::hasBeenAdded [private] |
string asdm::AntennaRow::name [private] |
AntennaMakeMod::AntennaMake asdm::AntennaRow::antennaMake [private] |
AntennaTypeMod::AntennaType asdm::AntennaRow::antennaType [private] |
Length asdm::AntennaRow::xPosition [private] |
Length asdm::AntennaRow::yPosition [private] |
Length asdm::AntennaRow::zPosition [private] |
ArrayTime asdm::AntennaRow::time [private] |
Length asdm::AntennaRow::xOffset [private] |
Length asdm::AntennaRow::yOffset [private] |
Length asdm::AntennaRow::zOffset [private] |
Length asdm::AntennaRow::dishDiameter [private] |
bool asdm::AntennaRow::flagRow [private] |
Tag asdm::AntennaRow::assocAntennaId [private] |
Definition at line 940 of file AntennaRow.h.
Tag asdm::AntennaRow::stationId [private] |
1.5.1