asdm::WeatherRow Class Reference

#include <WeatherRow.h>

List of all members.


Detailed Description

The WeatherRow class is a row of a WeatherTable.

Generated from model's revision "1.46", branch "HEAD"


Public Member Functions

WeatherTablegetTable () 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)
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)
StationRowgetStationUsingStationId ()
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)


Member Function Documentation

void asdm::WeatherRow::clearDewPoint  ) 
 

Mark dewPoint, which is an optional field, as non-existent.

void asdm::WeatherRow::clearDewPointFlag  ) 
 

Mark dewPointFlag, which is an optional field, as non-existent.

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.

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

Temperature asdm::WeatherRow::getDewPoint  )  const throw (IllegalAccessException)
 

Get dewPoint, which is optional.

Returns:
dewPoint as Temperature
Exceptions:
IllegalAccessException If dewPoint does not exist.

bool asdm::WeatherRow::getDewPointFlag  )  const throw (IllegalAccessException)
 

Get dewPointFlag, which is optional.

Returns:
dewPointFlag as bool
Exceptions:
IllegalAccessException If dewPointFlag does not exist.

Pressure asdm::WeatherRow::getPressure  )  const
 

Get pressure.

Returns:
pressure as Pressure

bool asdm::WeatherRow::getPressureFlag  )  const
 

Get pressureFlag.

Returns:
pressureFlag as bool

Humidity asdm::WeatherRow::getRelHumidity  )  const
 

Get relHumidity.

Returns:
relHumidity as Humidity

bool asdm::WeatherRow::getRelHumidityFlag  )  const
 

Get relHumidityFlag.

Returns:
relHumidityFlag as bool

Tag asdm::WeatherRow::getStationId  )  const
 

Get stationId.

Returns:
stationId as Tag

StationRow* asdm::WeatherRow::getStationUsingStationId  ) 
 

stationId pointer to the row in the Station table having Station.stationId == stationId

Returns:
a StationRow*

WeatherTable& asdm::WeatherRow::getTable  )  const
 

Return the table to which this row belongs.

Temperature asdm::WeatherRow::getTemperature  )  const
 

Get temperature.

Returns:
temperature as Temperature

bool asdm::WeatherRow::getTemperatureFlag  )  const
 

Get temperatureFlag.

Returns:
temperatureFlag as bool

ArrayTimeInterval asdm::WeatherRow::getTimeInterval  )  const
 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

Angle asdm::WeatherRow::getWindDirection  )  const
 

Get windDirection.

Returns:
windDirection as Angle

bool asdm::WeatherRow::getWindDirectionFlag  )  const
 

Get windDirectionFlag.

Returns:
windDirectionFlag as bool

Speed asdm::WeatherRow::getWindMax  )  const
 

Get windMax.

Returns:
windMax as Speed

bool asdm::WeatherRow::getWindMaxFlag  )  const
 

Get windMaxFlag.

Returns:
windMaxFlag as bool

Speed asdm::WeatherRow::getWindSpeed  )  const
 

Get windSpeed.

Returns:
windSpeed as Speed

bool asdm::WeatherRow::getWindSpeedFlag  )  const
 

Get windSpeedFlag.

Returns:
windSpeedFlag as bool

bool asdm::WeatherRow::isDewPointExists  )  const
 

The attribute dewPoint is optional. Return true if this attribute exists.

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

bool asdm::WeatherRow::isDewPointFlagExists  )  const
 

The attribute dewPointFlag is optional. Return true if this attribute exists.

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

void asdm::WeatherRow::setDewPoint Temperature  dewPoint  ) 
 

Set dewPoint with the specified Temperature.

Parameters:
dewPoint The Temperature value to which dewPoint is to be set.

void asdm::WeatherRow::setDewPointFlag bool  dewPointFlag  ) 
 

Set dewPointFlag with the specified bool.

Parameters:
dewPointFlag The bool value to which dewPointFlag is to be set.

void asdm::WeatherRow::setFromIDL WeatherRowIDL  x  )  throw (ConversionException)
 

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

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

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.

Parameters:
x The XML string being used to set the values of this row.

void asdm::WeatherRow::setPressure Pressure  pressure  ) 
 

Set pressure with the specified Pressure.

Parameters:
pressure The Pressure value to which pressure is to be set.

void asdm::WeatherRow::setPressureFlag bool  pressureFlag  ) 
 

Set pressureFlag with the specified bool.

Parameters:
pressureFlag The bool value to which pressureFlag is to be set.

void asdm::WeatherRow::setRelHumidity Humidity  relHumidity  ) 
 

Set relHumidity with the specified Humidity.

Parameters:
relHumidity The Humidity value to which relHumidity is to be set.

void asdm::WeatherRow::setRelHumidityFlag bool  relHumidityFlag  ) 
 

Set relHumidityFlag with the specified bool.

Parameters:
relHumidityFlag The bool value to which relHumidityFlag is to be set.

void asdm::WeatherRow::setStationId Tag  stationId  ) 
 

Set stationId with the specified Tag.

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

void asdm::WeatherRow::setTemperature Temperature  temperature  ) 
 

Set temperature with the specified Temperature.

Parameters:
temperature The Temperature value to which temperature is to be set.

void asdm::WeatherRow::setTemperatureFlag bool  temperatureFlag  ) 
 

Set temperatureFlag with the specified bool.

Parameters:
temperatureFlag The bool value to which temperatureFlag is to be set.

void asdm::WeatherRow::setTimeInterval ArrayTimeInterval  timeInterval  ) 
 

Set timeInterval with the specified ArrayTimeInterval.

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.

void asdm::WeatherRow::setWindDirection Angle  windDirection  ) 
 

Set windDirection with the specified Angle.

Parameters:
windDirection The Angle value to which windDirection is to be set.

void asdm::WeatherRow::setWindDirectionFlag bool  windDirectionFlag  ) 
 

Set windDirectionFlag with the specified bool.

Parameters:
windDirectionFlag The bool value to which windDirectionFlag is to be set.

void asdm::WeatherRow::setWindMax Speed  windMax  ) 
 

Set windMax with the specified Speed.

Parameters:
windMax The Speed value to which windMax is to be set.

void asdm::WeatherRow::setWindMaxFlag bool  windMaxFlag  ) 
 

Set windMaxFlag with the specified bool.

Parameters:
windMaxFlag The bool value to which windMaxFlag is to be set.

void asdm::WeatherRow::setWindSpeed Speed  windSpeed  ) 
 

Set windSpeed with the specified Speed.

Parameters:
windSpeed The Speed value to which windSpeed is to be set.

void asdm::WeatherRow::setWindSpeedFlag bool  windSpeedFlag  ) 
 

Set windSpeedFlag with the specified bool.

Parameters:
windSpeedFlag The bool value to which windSpeedFlag is to be set.

WeatherRowIDL* asdm::WeatherRow::toIDL  )  const
 

Return this row in the form of an IDL struct.

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

string asdm::WeatherRow::toXML  )  const
 

Return this row in the form of an XML string.

Returns:
The values of this row as an XML string.


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 17:43:47 2008 for ASDM C++ Implementation by doxygen 1.3.8