#include <WeatherRow.h>
Generated from model's revision "1.41", branch "HEAD"
Public Member Functions | |
WeatherTable & | getTable () const |
WeatherRowIDL * | toIDL () const |
void | setFromIDL (WeatherRowIDL x) throw (ConversionException) |
string | toXML () const |
void | setFromXML (string rowDoc) throw (ConversionException) |
ArrayTimeInterval | getTimeInterval () const |
void | setTimeInterval (ArrayTimeInterval timeInterval) throw (IllegalAccessException) |
Pressure | getPressure () const |
void | setPressure (Pressure pressure) |
Humidity | getRelHumidity () const |
void | setRelHumidity (Humidity relHumidity) |
Temperature | getTemperature () const |
void | setTemperature (Temperature temperature) |
bool | isDewPointExists () const |
Temperature | getDewPoint () const throw (IllegalAccessException) |
void | setDewPoint (Temperature dewPoint) |
void | clearDewPoint () |
Angle | getWindDirection () const |
void | setWindDirection (Angle windDirection) |
Speed | getWindSpeed () const |
void | setWindSpeed (Speed windSpeed) |
Speed | getWindMax () const |
void | setWindMax (Speed windMax) |
bool | getPressureFlag () const |
void | setPressureFlag (bool pressureFlag) |
bool | getRelHumidityFlag () const |
void | setRelHumidityFlag (bool relHumidityFlag) |
bool | getTemperatureFlag () const |
void | setTemperatureFlag (bool temperatureFlag) |
bool | isDewPointFlagExists () const |
bool | getDewPointFlag () const throw (IllegalAccessException) |
void | setDewPointFlag (bool dewPointFlag) |
void | clearDewPointFlag () |
bool | getWindDirectionFlag () const |
void | setWindDirectionFlag (bool windDirectionFlag) |
bool | getWindSpeedFlag () const |
void | setWindSpeedFlag (bool windSpeedFlag) |
bool | getWindMaxFlag () const |
void | setWindMaxFlag (bool windMaxFlag) |
Tag | getStationId () const |
void | setStationId (Tag stationId) throw (IllegalAccessException) |
StationRow * | getStationUsingStationId () |
bool | compareNoAutoInc (Tag stationId, ArrayTimeInterval timeInterval, Pressure pressure, Humidity relHumidity, Temperature temperature, Angle windDirection, Speed windSpeed, Speed windMax, bool pressureFlag, bool relHumidityFlag, bool temperatureFlag, bool windDirectionFlag, bool windSpeedFlag, bool windMaxFlag) |
bool | compareRequiredValue (Pressure pressure, Humidity relHumidity, Temperature temperature, Angle windDirection, Speed windSpeed, Speed windMax, bool pressureFlag, bool relHumidityFlag, bool temperatureFlag, bool windDirectionFlag, bool windSpeedFlag, bool windMaxFlag) |
bool | equalByRequiredValue (WeatherRow *x) |
Friends | |
class | asdm::WeatherTable |
WeatherTable& asdm::WeatherRow::getTable | ( | ) | const |
Return the table to which this row belongs.
WeatherRowIDL* asdm::WeatherRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::WeatherRow::setFromIDL | ( | WeatherRowIDL | x | ) | throw (ConversionException) |
Fill the values of this row from the IDL struct WeatherRowIDL.
x | The IDL struct containing the values used to fill this row. |
string asdm::WeatherRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
void asdm::WeatherRow::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. |
ArrayTimeInterval asdm::WeatherRow::getTimeInterval | ( | ) | const |
Get timeInterval.
void asdm::WeatherRow::setTimeInterval | ( | ArrayTimeInterval | timeInterval | ) | throw (IllegalAccessException) |
Set timeInterval with the specified ArrayTimeInterval.
timeInterval | The ArrayTimeInterval value to which timeInterval is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::WeatherRow::setPressure | ( | Pressure | pressure | ) |
Humidity asdm::WeatherRow::getRelHumidity | ( | ) | const |
Get relHumidity.
void asdm::WeatherRow::setRelHumidity | ( | Humidity | relHumidity | ) |
Temperature asdm::WeatherRow::getTemperature | ( | ) | const |
Get temperature.
void asdm::WeatherRow::setTemperature | ( | Temperature | temperature | ) |
Set temperature with the specified Temperature.
temperature | The Temperature value to which temperature is to be set. |
bool asdm::WeatherRow::isDewPointExists | ( | ) | const |
The attribute dewPoint is optional. Return true if this attribute exists.
Temperature asdm::WeatherRow::getDewPoint | ( | ) | const throw (IllegalAccessException) |
Get dewPoint, which is optional.
IllegalAccessException | If dewPoint does not exist. |
void asdm::WeatherRow::setDewPoint | ( | Temperature | dewPoint | ) |
Set dewPoint with the specified Temperature.
dewPoint | The Temperature value to which dewPoint is to be set. |
void asdm::WeatherRow::clearDewPoint | ( | ) |
Mark dewPoint, which is an optional field, as non-existent.
Angle asdm::WeatherRow::getWindDirection | ( | ) | const |
Get windDirection.
void asdm::WeatherRow::setWindDirection | ( | Angle | windDirection | ) |
void asdm::WeatherRow::setWindSpeed | ( | Speed | windSpeed | ) |
void asdm::WeatherRow::setWindMax | ( | Speed | windMax | ) |
bool asdm::WeatherRow::getPressureFlag | ( | ) | const |
Get pressureFlag.
void asdm::WeatherRow::setPressureFlag | ( | bool | pressureFlag | ) |
Set pressureFlag with the specified bool.
pressureFlag | The bool value to which pressureFlag is to be set. |
bool asdm::WeatherRow::getRelHumidityFlag | ( | ) | const |
Get relHumidityFlag.
void asdm::WeatherRow::setRelHumidityFlag | ( | bool | relHumidityFlag | ) |
Set relHumidityFlag with the specified bool.
relHumidityFlag | The bool value to which relHumidityFlag is to be set. |
bool asdm::WeatherRow::getTemperatureFlag | ( | ) | const |
Get temperatureFlag.
void asdm::WeatherRow::setTemperatureFlag | ( | bool | temperatureFlag | ) |
Set temperatureFlag with the specified bool.
temperatureFlag | The bool value to which temperatureFlag is to be set. |
bool asdm::WeatherRow::isDewPointFlagExists | ( | ) | const |
The attribute dewPointFlag is optional. Return true if this attribute exists.
bool asdm::WeatherRow::getDewPointFlag | ( | ) | const throw (IllegalAccessException) |
Get dewPointFlag, which is optional.
IllegalAccessException | If dewPointFlag does not exist. |
void asdm::WeatherRow::setDewPointFlag | ( | bool | dewPointFlag | ) |
Set dewPointFlag with the specified bool.
dewPointFlag | The bool value to which dewPointFlag is to be set. |
void asdm::WeatherRow::clearDewPointFlag | ( | ) |
Mark dewPointFlag, which is an optional field, as non-existent.
bool asdm::WeatherRow::getWindDirectionFlag | ( | ) | const |
Get windDirectionFlag.
void asdm::WeatherRow::setWindDirectionFlag | ( | bool | windDirectionFlag | ) |
Set windDirectionFlag with the specified bool.
windDirectionFlag | The bool value to which windDirectionFlag is to be set. |
bool asdm::WeatherRow::getWindSpeedFlag | ( | ) | const |
Get windSpeedFlag.
void asdm::WeatherRow::setWindSpeedFlag | ( | bool | windSpeedFlag | ) |
Set windSpeedFlag with the specified bool.
windSpeedFlag | The bool value to which windSpeedFlag is to be set. |
bool asdm::WeatherRow::getWindMaxFlag | ( | ) | const |
Get windMaxFlag.
void asdm::WeatherRow::setWindMaxFlag | ( | bool | windMaxFlag | ) |
Set windMaxFlag with the specified bool.
windMaxFlag | The bool value to which windMaxFlag is to be set. |
void asdm::WeatherRow::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. |
StationRow* asdm::WeatherRow::getStationUsingStationId | ( | ) |
stationId pointer to the row in the Station table having Station.stationId == stationId
bool asdm::WeatherRow::compareNoAutoInc | ( | Tag | stationId, | |
ArrayTimeInterval | timeInterval, | |||
Pressure | pressure, | |||
Humidity | relHumidity, | |||
Temperature | temperature, | |||
Angle | windDirection, | |||
Speed | windSpeed, | |||
Speed | windMax, | |||
bool | pressureFlag, | |||
bool | relHumidityFlag, | |||
bool | temperatureFlag, | |||
bool | windDirectionFlag, | |||
bool | windSpeedFlag, | |||
bool | windMaxFlag | |||
) |
Compare each mandatory attribute except the autoincrementable one of this WeatherRow with the corresponding parameters and return true if there is a match and false otherwise.
bool asdm::WeatherRow::equalByRequiredValue | ( | WeatherRow * | 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 WeatherRow whose required attributes of the value part will be compared with those of this. |