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 |
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.
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.
table | The table to which this row belongs. | |
row | The row which is to be copied. |
WeatherRowIDL alma.asdm.WeatherRow.toIDL | ( | ) |
Return this row in the form of an IDL struct.
void alma.asdm.WeatherRow.setFromIDL | ( | WeatherRowIDL | x | ) | throws 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 alma.asdm.WeatherRow.toXML | ( | ) | throws ConversionException |
Return this row in the form of an XML string.
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.
x | The XML string being used to set the values of this row. |
ConversionException. |
ArrayTimeInterval alma.asdm.WeatherRow.getTimeInterval | ( | ) |
Get timeInterval.
void alma.asdm.WeatherRow.setTimeInterval | ( | ArrayTimeInterval | timeInterval | ) | throws IllegalAccessException |
Set timeInterval with the specified ArrayTimeInterval value.
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. |
Pressure alma.asdm.WeatherRow.getPressure | ( | ) |
Get pressure.
void alma.asdm.WeatherRow.setPressure | ( | Pressure | pressure | ) |
Set pressure with the specified Pressure value.
pressure | The Pressure value to which pressure is to be set. |
Humidity alma.asdm.WeatherRow.getRelHumidity | ( | ) |
Get relHumidity.
void alma.asdm.WeatherRow.setRelHumidity | ( | Humidity | relHumidity | ) |
Set relHumidity with the specified Humidity value.
relHumidity | The Humidity value to which relHumidity is to be set. |
Temperature alma.asdm.WeatherRow.getTemperature | ( | ) |
Get temperature.
void alma.asdm.WeatherRow.setTemperature | ( | Temperature | temperature | ) |
Set temperature with the specified Temperature value.
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.
Temperature alma.asdm.WeatherRow.getDewPoint | ( | ) | throws IllegalAccessException |
Get dewPoint, which is optional.
IllegalAccessException | If dewPoint does not exist. |
void alma.asdm.WeatherRow.setDewPoint | ( | Temperature | dewPoint | ) |
Set dewPoint with the specified Temperature value.
dewPoint | The Temperature value to which dewPoint is to be set. |
Angle alma.asdm.WeatherRow.getWindDirection | ( | ) |
Get windDirection.
void alma.asdm.WeatherRow.setWindDirection | ( | Angle | windDirection | ) |
Set windDirection with the specified Angle value.
windDirection | The Angle value to which windDirection is to be set. |
Speed alma.asdm.WeatherRow.getWindSpeed | ( | ) |
Get windSpeed.
void alma.asdm.WeatherRow.setWindSpeed | ( | Speed | windSpeed | ) |
Set windSpeed with the specified Speed value.
windSpeed | The Speed value to which windSpeed is to be set. |
Speed alma.asdm.WeatherRow.getWindMax | ( | ) |
Get windMax.
void alma.asdm.WeatherRow.setWindMax | ( | Speed | windMax | ) |
Set windMax with the specified Speed value.
windMax | The Speed value to which windMax is to be set. |
boolean alma.asdm.WeatherRow.getPressureFlag | ( | ) |
Get pressureFlag.
void alma.asdm.WeatherRow.setPressureFlag | ( | boolean | pressureFlag | ) |
Set pressureFlag with the specified boolean value.
pressureFlag | The boolean value to which pressureFlag is to be set. |
boolean alma.asdm.WeatherRow.getRelHumidityFlag | ( | ) |
Get relHumidityFlag.
void alma.asdm.WeatherRow.setRelHumidityFlag | ( | boolean | relHumidityFlag | ) |
Set relHumidityFlag with the specified boolean value.
relHumidityFlag | The boolean value to which relHumidityFlag is to be set. |
boolean alma.asdm.WeatherRow.getTemperatureFlag | ( | ) |
Get temperatureFlag.
void alma.asdm.WeatherRow.setTemperatureFlag | ( | boolean | temperatureFlag | ) |
Set temperatureFlag with the specified boolean value.
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.
boolean alma.asdm.WeatherRow.getDewPointFlag | ( | ) | throws IllegalAccessException |
Get dewPointFlag, which is optional.
IllegalAccessException | If dewPointFlag does not exist. |
void alma.asdm.WeatherRow.setDewPointFlag | ( | boolean | dewPointFlag | ) |
Set dewPointFlag with the specified boolean value.
dewPointFlag | The boolean value to which dewPointFlag is to be set. |
boolean alma.asdm.WeatherRow.getWindDirectionFlag | ( | ) |
Get windDirectionFlag.
void alma.asdm.WeatherRow.setWindDirectionFlag | ( | boolean | windDirectionFlag | ) |
Set windDirectionFlag with the specified boolean value.
windDirectionFlag | The boolean value to which windDirectionFlag is to be set. |
boolean alma.asdm.WeatherRow.getWindSpeedFlag | ( | ) |
Get windSpeedFlag.
void alma.asdm.WeatherRow.setWindSpeedFlag | ( | boolean | windSpeedFlag | ) |
Set windSpeedFlag with the specified boolean value.
windSpeedFlag | The boolean value to which windSpeedFlag is to be set. |
boolean alma.asdm.WeatherRow.getWindMaxFlag | ( | ) |
Get windMaxFlag.
void alma.asdm.WeatherRow.setWindMaxFlag | ( | boolean | windMaxFlag | ) |
Set windMaxFlag with the specified boolean value.
windMaxFlag | The boolean value to which windMaxFlag is to be set. |
Tag alma.asdm.WeatherRow.getStationId | ( | ) |
Get stationId.
void alma.asdm.WeatherRow.setStationId | ( | Tag | stationId | ) | throws IllegalAccessException |
Set stationId with the specified Tag value.
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 alma.asdm.WeatherRow.getStationUsingStationId | ( | ) |
Returns the pointer to the row in the Station table having Station.stationId == stationId.
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.
x | the WeatherRow whose required attributes of the value part will be compared with those of this. |
Object [] alma.asdm.WeatherRow.getAttributesValues | ( | ) | [package, virtual] |
Returns all the attributes of an attribute of an ASDM table as an array of Object.
Implements alma.asdm.ASDMRow.