org.geotoolkit.metadata.iso.acquisition
Class DefaultEnvironmentalRecord

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by DefaultEnvironmentalRecord
All Implemented Interfaces:
Serializable, Cloneable, LenientComparable, IdentifiedObject, EnvironmentalRecord

@ThreadSafe
public class DefaultEnvironmentalRecord
extends MetadataEntity
implements EnvironmentalRecord

Information about the environmental conditions during the acquisition.

Since:
3.03
Version:
3.19
Author:
Cédric Briançon (Geomatys), Martin Desruisseaux (Geomatys)
See Also:
Serialized Form
Module:
metadata/geotk-metadata (download)    View source code for this class

Field Summary
 
Fields inherited from class MetadataEntity
identifiers
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
DefaultEnvironmentalRecord()
          Constructs an initially empty environmental record.
DefaultEnvironmentalRecord(EnvironmentalRecord source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
static DefaultEnvironmentalRecord castOrCopy(EnvironmentalRecord object)
          Returns a Geotk metadata implementation with the same values than the given arbitrary implementation.
 Double getAverageAirTemperature()
          Returns the average air temperature along the flight pass during the photo flight.
 Double getMaxAltitude()
          Returns the maximum altitude during the photo flight.
 Double getMaxRelativeHumidity()
          Returns the maximum relative humidity along the flight pass during the photo flight.
 InternationalString getMeteorologicalConditions()
          Returns the meteorological conditions in the photo flight area, in particular clouds, snow and wind.
 void setAverageAirTemperature(Double newValue)
          Sets the average air temperature along the flight pass during the photo flight.
 void setMaxAltitude(Double newValue)
          Sets the maximum altitude value.
 void setMaxRelativeHumidity(Double newValue)
          Sets the maximum relative humidity along the flight pass during the photo flight.
 void setMeteorologicalConditions(InternationalString newValue)
          Sets the meteorological conditions in the photo flight area, in particular clouds, snow and wind.
 
Methods inherited from class MetadataEntity
getIdentifier, getIdentifierMap, getIdentifiers, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultEnvironmentalRecord

public DefaultEnvironmentalRecord()
Constructs an initially empty environmental record.


DefaultEnvironmentalRecord

public DefaultEnvironmentalRecord(EnvironmentalRecord source)
Constructs a metadata entity initialized with the values from the specified metadata.

Parameters:
source - The metadata to copy, or null if none.
Method Detail

castOrCopy

public static DefaultEnvironmentalRecord castOrCopy(EnvironmentalRecord object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. If the given object is null, then this method returns null. Otherwise if the given object is already a Geotk implementation, then the given object is returned unchanged. Otherwise a new Geotk implementation is created and initialized to the attribute values of the given object, using a shallow copy operation (i.e. attributes are not cloned).

Parameters:
object - The object to get as a Geotk implementation, or null if none.
Returns:
A Geotk implementation containing the values of the given object (may be the given object itself), or null if the argument was null.
Since:
3.18

getAverageAirTemperature

public Double getAverageAirTemperature()
Returns the average air temperature along the flight pass during the photo flight.

Specified by:
getAverageAirTemperature in interface EnvironmentalRecord

setAverageAirTemperature

public void setAverageAirTemperature(Double newValue)
Sets the average air temperature along the flight pass during the photo flight.

Parameters:
newValue - The new average air temperature value.

getMaxRelativeHumidity

@ValueRange(minimum=0.0,
            maximum=100.0)
public Double getMaxRelativeHumidity()
Returns the maximum relative humidity along the flight pass during the photo flight.

Specified by:
getMaxRelativeHumidity in interface EnvironmentalRecord

setMaxRelativeHumidity

public void setMaxRelativeHumidity(Double newValue)
Sets the maximum relative humidity along the flight pass during the photo flight.

Parameters:
newValue - The new maximum relative humidity.

getMaxAltitude

public Double getMaxAltitude()
Returns the maximum altitude during the photo flight.

Specified by:
getMaxAltitude in interface EnvironmentalRecord

setMaxAltitude

public void setMaxAltitude(Double newValue)
Sets the maximum altitude value.

Parameters:
newValue - The new maximum altitude value.

getMeteorologicalConditions

public InternationalString getMeteorologicalConditions()
Returns the meteorological conditions in the photo flight area, in particular clouds, snow and wind.

Specified by:
getMeteorologicalConditions in interface EnvironmentalRecord

setMeteorologicalConditions

public void setMeteorologicalConditions(InternationalString newValue)
Sets the meteorological conditions in the photo flight area, in particular clouds, snow and wind.

Parameters:
newValue - The meteorological conditions value.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.