alma.asdm.WeatherRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The WeatherRow class is a row of a WeatherTable.

Generated from model's revision 1.41, branch HEAD


Public Member Functions

WeatherTable getTable ()
 Return the table to which this row belongs.
WeatherRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (WeatherRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct WeatherRowIDL.
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.
Pressure getPressure ()
 Get pressure.
void setPressure (Pressure pressure)
 Set pressure with the specified Pressure value.
Humidity getRelHumidity ()
 Get relHumidity.
void setRelHumidity (Humidity relHumidity)
 Set relHumidity with the specified Humidity value.
Temperature getTemperature ()
 Get temperature.
void setTemperature (Temperature temperature)
 Set temperature with the specified Temperature value.
boolean isDewPointExists ()
 The attribute dewPoint is optional.
Temperature getDewPoint () throws IllegalAccessException
 Get dewPoint, which is optional.
void setDewPoint (Temperature dewPoint)
 Set dewPoint with the specified Temperature value.
void clearDewPoint ()
 Mark dewPoint, which is an optional field, as non-existent.
Angle getWindDirection ()
 Get windDirection.
void setWindDirection (Angle windDirection)
 Set windDirection with the specified Angle value.
Speed getWindSpeed ()
 Get windSpeed.
void setWindSpeed (Speed windSpeed)
 Set windSpeed with the specified Speed value.
Speed getWindMax ()
 Get windMax.
void setWindMax (Speed windMax)
 Set windMax with the specified Speed value.
boolean getPressureFlag ()
 Get pressureFlag.
void setPressureFlag (boolean pressureFlag)
 Set pressureFlag with the specified boolean value.
boolean getRelHumidityFlag ()
 Get relHumidityFlag.
void setRelHumidityFlag (boolean relHumidityFlag)
 Set relHumidityFlag with the specified boolean value.
boolean getTemperatureFlag ()
 Get temperatureFlag.
void setTemperatureFlag (boolean temperatureFlag)
 Set temperatureFlag with the specified boolean value.
boolean isDewPointFlagExists ()
 The attribute dewPointFlag is optional.
boolean getDewPointFlag () throws IllegalAccessException
 Get dewPointFlag, which is optional.
void setDewPointFlag (boolean dewPointFlag)
 Set dewPointFlag with the specified boolean value.
void clearDewPointFlag ()
 Mark dewPointFlag, which is an optional field, as non-existent.
boolean getWindDirectionFlag ()
 Get windDirectionFlag.
void setWindDirectionFlag (boolean windDirectionFlag)
 Set windDirectionFlag with the specified boolean value.
boolean getWindSpeedFlag ()
 Get windSpeedFlag.
void setWindSpeedFlag (boolean windSpeedFlag)
 Set windSpeedFlag with the specified boolean value.
boolean getWindMaxFlag ()
 Get windMaxFlag.
void setWindMaxFlag (boolean windMaxFlag)
 Set windMaxFlag with the specified boolean value.
Tag getStationId ()
 Get stationId.
void setStationId (Tag stationId) throws IllegalAccessException
 Set stationId with the specified Tag value.
StationRow getStationUsingStationId ()
 Returns the pointer to the row in the Station table having Station.stationId == stationId.
boolean compareNoAutoInc (Tag stationId, ArrayTimeInterval timeInterval, Pressure pressure, Humidity relHumidity, Temperature temperature, Angle windDirection, Speed windSpeed, Speed windMax, boolean pressureFlag, boolean relHumidityFlag, boolean temperatureFlag, boolean windDirectionFlag, boolean windSpeedFlag, boolean windMaxFlag)
 Compare each attribute except the autoincrementable one of this WeatherRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (WeatherRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (Pressure pressure, Humidity relHumidity, Temperature temperature, Angle windDirection, Speed windSpeed, Speed windMax, boolean pressureFlag, boolean relHumidityFlag, boolean temperatureFlag, boolean windDirectionFlag, boolean windSpeedFlag, boolean windMaxFlag)

Package Functions

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

Create a WeatherRow.

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.WeatherRow.WeatherRow ( WeatherTable  table,
WeatherRow  row 
) [package]

Creates a WeatherRow using a copy constructor mechanism.

Given a WeatherRow row and a WeatherTable table, the method creates a new WeatherRow 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

WeatherRowIDL alma.asdm.WeatherRow.toIDL (  ) 

Return this row in the form of an IDL struct.

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

void alma.asdm.WeatherRow.setFromIDL ( WeatherRowIDL  x  )  throws 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.

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

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

ArrayTimeInterval alma.asdm.WeatherRow.getTimeInterval (  ) 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

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

Pressure alma.asdm.WeatherRow.getPressure (  ) 

Get pressure.

Returns:
pressure as Pressure

void alma.asdm.WeatherRow.setPressure ( Pressure  pressure  ) 

Set pressure with the specified Pressure value.

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

Humidity alma.asdm.WeatherRow.getRelHumidity (  ) 

Get relHumidity.

Returns:
relHumidity as Humidity

void alma.asdm.WeatherRow.setRelHumidity ( Humidity  relHumidity  ) 

Set relHumidity with the specified Humidity value.

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

Temperature alma.asdm.WeatherRow.getTemperature (  ) 

Get temperature.

Returns:
temperature as Temperature

void alma.asdm.WeatherRow.setTemperature ( Temperature  temperature  ) 

Set temperature with the specified Temperature value.

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

boolean alma.asdm.WeatherRow.isDewPointExists (  ) 

The attribute dewPoint is optional.

Return true if this attribute exists.

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

Temperature alma.asdm.WeatherRow.getDewPoint (  )  throws IllegalAccessException

Get dewPoint, which is optional.

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

void alma.asdm.WeatherRow.setDewPoint ( Temperature  dewPoint  ) 

Set dewPoint with the specified Temperature value.

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

Angle alma.asdm.WeatherRow.getWindDirection (  ) 

Get windDirection.

Returns:
windDirection as Angle

void alma.asdm.WeatherRow.setWindDirection ( Angle  windDirection  ) 

Set windDirection with the specified Angle value.

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

Speed alma.asdm.WeatherRow.getWindSpeed (  ) 

Get windSpeed.

Returns:
windSpeed as Speed

void alma.asdm.WeatherRow.setWindSpeed ( Speed  windSpeed  ) 

Set windSpeed with the specified Speed value.

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

Speed alma.asdm.WeatherRow.getWindMax (  ) 

Get windMax.

Returns:
windMax as Speed

void alma.asdm.WeatherRow.setWindMax ( Speed  windMax  ) 

Set windMax with the specified Speed value.

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

boolean alma.asdm.WeatherRow.getPressureFlag (  ) 

Get pressureFlag.

Returns:
pressureFlag as boolean

void alma.asdm.WeatherRow.setPressureFlag ( boolean  pressureFlag  ) 

Set pressureFlag with the specified boolean value.

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

boolean alma.asdm.WeatherRow.getRelHumidityFlag (  ) 

Get relHumidityFlag.

Returns:
relHumidityFlag as boolean

void alma.asdm.WeatherRow.setRelHumidityFlag ( boolean  relHumidityFlag  ) 

Set relHumidityFlag with the specified boolean value.

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

boolean alma.asdm.WeatherRow.getTemperatureFlag (  ) 

Get temperatureFlag.

Returns:
temperatureFlag as boolean

void alma.asdm.WeatherRow.setTemperatureFlag ( boolean  temperatureFlag  ) 

Set temperatureFlag with the specified boolean value.

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

boolean alma.asdm.WeatherRow.isDewPointFlagExists (  ) 

The attribute dewPointFlag is optional.

Return true if this attribute exists.

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

boolean alma.asdm.WeatherRow.getDewPointFlag (  )  throws IllegalAccessException

Get dewPointFlag, which is optional.

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

void alma.asdm.WeatherRow.setDewPointFlag ( boolean  dewPointFlag  ) 

Set dewPointFlag with the specified boolean value.

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

boolean alma.asdm.WeatherRow.getWindDirectionFlag (  ) 

Get windDirectionFlag.

Returns:
windDirectionFlag as boolean

void alma.asdm.WeatherRow.setWindDirectionFlag ( boolean  windDirectionFlag  ) 

Set windDirectionFlag with the specified boolean value.

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

boolean alma.asdm.WeatherRow.getWindSpeedFlag (  ) 

Get windSpeedFlag.

Returns:
windSpeedFlag as boolean

void alma.asdm.WeatherRow.setWindSpeedFlag ( boolean  windSpeedFlag  ) 

Set windSpeedFlag with the specified boolean value.

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

boolean alma.asdm.WeatherRow.getWindMaxFlag (  ) 

Get windMaxFlag.

Returns:
windMaxFlag as boolean

void alma.asdm.WeatherRow.setWindMaxFlag ( boolean  windMaxFlag  ) 

Set windMaxFlag with the specified boolean value.

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

Tag alma.asdm.WeatherRow.getStationId (  ) 

Get stationId.

Returns:
stationId as Tag

void alma.asdm.WeatherRow.setStationId ( Tag  stationId  )  throws IllegalAccessException

Set stationId with the specified Tag value.

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.

StationRow alma.asdm.WeatherRow.getStationUsingStationId (  ) 

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

Returns:
a StationRow

boolean alma.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 the WeatherRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.

Object [] alma.asdm.WeatherRow.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.


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 16:47:25 2007 for ASDM Java Implementation by  doxygen 1.5.1