Uses of Class
net.agmodel.physical.Duration

Packages that use Duration
net.agmodel.metBroker   
net.agmodel.metDriver Contains driver classes that MetBroker uses to connect to databases, and the interfaces they implement.
 
net.agmodel.physical Contains classes representing basic physical quanties, units, unit conversions, and mathematical operations. 
net.agmodel.pPhysical Contains persistent versions of some classes from the net.agmodel.physical package. 
net.agmodel.spatialschema   
net.agmodel.utility Contains utility classes, useful in a range of applications. 
net.agmodel.weatherData Contains interface classes for MetBroker client applications.
 
 

Uses of Duration in net.agmodel.metBroker
 

Methods in net.agmodel.metBroker that return Duration
 Duration ServerStationImpl.getShortestResolution()
           
 Duration MetCatalogCard.getResolution()
           
 

Methods in net.agmodel.metBroker with parameters of type Duration
 void ServerStationImpl.recordElementStatus(MetElement element, Duration resolution, Period period, boolean status)
          Record that a station measured or didn't measure an element at a particular resolution over a period.
 boolean ServerStationImpl.metCatalogCardExists(MetElement element, Duration resolution)
          Check whether a station has ever recorded an element at a particular resolution.
 boolean ServerStationImpl.checkMetElementCatalog(MetElement element, Duration resolution, Period period)
          Check whether a station has recorded an element at a particular resolution over the period.
 void ServerStationImpl.setShortestResolution(Duration shortestResolution)
           
 void MetSourceImpl.recordElementStatus(String stationID, MetElement element, Duration resolution, Period period, boolean status)
           
 void MetSourceImpl.recordMultipleElementStatus(String stationID, MetElement[] elements, Duration[] resolutions, Period period, boolean status)
           
 boolean MetSourceImpl.checkElementCatalog(String stationID, MetElement element, Duration resolution, Period period)
           
 boolean MetSourceImpl.checkCatalog(String clientSessionName, String stationID, MetElement element, Duration resolution, Period period)
           
 void MetSourceImpl.processSequence(MetElement element, MetSequence sequence, MetRequest request, Duration queryResolution, StationDataSetImpl result)
           
 

Constructors in net.agmodel.metBroker with parameters of type Duration
MetSourceImpl(String ID, MetBrokerImpl broker, MultilingualString sourceName, GeographicalArea coverage, int loginRequirements, String systemUsercode, String systemPassword, String driverName, String suggestedTimeZone, float suggestedDailyOffset, Duration shortestResolution, Duration longestResolution, Duration timeliness, boolean rebuildRequired, String fromStation, GeographicalArea defaultDisplayArea, BrokerConfigDataSource source)
          Creates an object responsible for managing the metadata associated with a database, and spawning driver instances.
 

Uses of Duration in net.agmodel.metDriver
 

Methods in net.agmodel.metDriver with parameters of type Duration
 void MetSourceForDrivers.recordElementStatus(String stationID, MetElement element, Duration resolution, Period period, boolean status)
          Record that a station measured or didn't measure an element at a particular resolution over a period.
 void MetSourceForDrivers.recordMultipleElementStatus(String stationID, MetElement[] elements, Duration[] resolutions, Period period, boolean status)
          Record that a station measured or didn't measure a set of elements at a particular resolution over a period.
 boolean MetSourceForDrivers.checkElementCatalog(String stationID, MetElement element, Duration resolution, Period period)
           
 void MetSourceForDrivers.processSequence(MetElement element, MetSequence sequence, MetRequest request, Duration queryResolution, StationDataSetImpl result)
          Adds the supplied sequence into the supplied result set, summarising it if necessary.
If the sequence is null the source metadata is updated to reflect the absence of any data.
 

Uses of Duration in net.agmodel.physical
 

Fields in net.agmodel.physical declared as Duration
static Duration Duration.ONE_MILLISECOND
           
static Duration Duration.ONE_SECOND
           
static Duration Duration.ONE_MINUTE
           
static Duration Duration.TEN_MINUTES
           
static Duration Duration.TWELVE_MINUTES
           
static Duration Duration.QUARTER_HOUR
           
static Duration Duration.HALF_HOUR
           
static Duration Duration.ONE_HOUR
           
static Duration Duration.ONE_DAY
           
static Duration Duration.ONE_MONTH
           
static Duration Duration.ONE_YEAR
           
 

Methods in net.agmodel.physical that return Duration
 Duration SummaryHistoryElement.getResolution()
          Get the temporal resolution (eg hourly or daily) of this element
 Duration StoreImpl.getResolution()
           
 Duration StoreImpl.getCurrentResolution()
           
 Duration Sequence.getCurrentResolution()
          Deprecated. use getResolution() instead
 Duration Sequence.getResolution()
          Returns the current resolution of data in the sequence (eg daily);
static Duration Interval.getDuration(Date a, Date b)
          Gets the duration between two dates, regardless of their order
 Duration Interval.getDuration()
          Gets the period duration
 Duration GeneralSequenceImpl.getCurrentResolution()
           
 Duration GeneralSequenceImpl.getResolution()
           
 Duration GeneralSequenceImpl.getMaximumTemporalInterpolation()
          Returns the longest data gap over which values can be temporally interpolated
 Duration Frequency.inverse()
          Returns the Duration period corresponding to this frequency.
 Duration Duration.add(Duration x)
          Returns a Duration whose value is (this + x).
 Duration Duration.subtract(Duration x)
          Returns a Duration whose value is (this - x).
 Duration Duration.multiply(double coefficient)
          Returns a Duration whose value is (this * coefficient).
 Duration Duration.divide(double coefficient)
          Returns a Duration whose value is (this / coefficient).
static Duration Duration.lookup(String name)
           
 Duration DataSetImpl.getResolution()
          Gets the resolution of the station data set
 Duration DataSet.getResolution()
          Gets the resolution of the data set
 Duration CompoundSequence.getMaximumTemporalInterpolation()
          Returns the longest data gap over which values can be temporally interpolated
 

Methods in net.agmodel.physical with parameters of type Duration
 Store StoreImpl.totalStore(Duration newResolution)
           
 Store StoreImpl.totalStore(Duration newResolution, String newName)
           
 Store StoreImpl.averageStore(Duration newResolution)
           
 Store StoreImpl.averageStore(Duration newResolution, String newName)
           
 Store StoreImpl.minimumStore(Duration newResolution)
           
 Store StoreImpl.minimumStore(Duration newResolution, String newName)
           
 Store StoreImpl.maximumStore(Duration newResolution)
           
 Store StoreImpl.maximumStore(Duration newResolution, String newName)
           
 Store StoreImpl.sampleStore(Duration newResolution)
           
 Store StoreImpl.sampleStore(Duration newResolution, String newName)
           
 Store Store.totalStore(Duration newResolution)
          Creates a new store with data totalled to a lower temporal resolution.
 Store Store.totalStore(Duration newResolution, String newName)
          Creates a new store with data totalled to a lower temporal resolution.
 Store Store.averageStore(Duration newResolution)
          Creates a new store with data averaged to a lower temporal resolution.
 Store Store.averageStore(Duration newResolution, String newName)
          Creates a new store with data averaged to a lower temporal resolution.
 Store Store.minimumStore(Duration newResolution)
          Creates a new store containing data summarised by finding the minimum of each subrange.
 Store Store.minimumStore(Duration newResolution, String newName)
          Creates a new store containing data summarised by finding the minimum of each subrange.
 Store Store.maximumStore(Duration newResolution)
          Creates a new store containing data summarised by finding the maximum of each subrange.
 Store Store.maximumStore(Duration newResolution, String newName)
          Creates a new store containing data summarised by finding the maximum of each subrange.
 Store Store.sampleStore(Duration newResolution)
          Creates a new store with data sampled to a lower temporal resolution.
 Store Store.sampleStore(Duration newResolution, String newName)
          Creates a new store with data sampled to a lower temporal resolution.
 Length Speed.multiply(Duration d)
          Returns a Length whose value is (this * d).
 Acceleration Speed.divide(Duration d)
          Returns an Acceleration whose value is (this / d).
 void MutableInterval.set(Duration duration, Date end)
          Sets interval from an end date and duration
 void MutableInterval.set(Date start, Duration duration)
          Sets interval from an end date and duration
 Speed Length.divide(Duration d)
          Returns a Speed whose value is (this / d).
 double Interval.containsTimeQuantities(Duration small)
          Gets the number of Durations in the Interval eg the interval midnight Jan 1, 1999 to midnight Jan 1, 2000 contains 365 subintervals of duration 1 day.
 void GeneralSequenceImpl.setTemporalInterpolation(Duration maximumTemporalInterpolation)
          Sets the longest data gap over which values can be temporally interpolated.
 Duration Duration.add(Duration x)
          Returns a Duration whose value is (this + x).
 Duration Duration.subtract(Duration x)
          Returns a Duration whose value is (this - x).
 int Duration.compareTo(Duration x)
          Compares this Duration with the specified Duration.
 double Duration.dividedBy(Duration another)
          Returns the ratio this/another
 void CompoundSequence.setTemporalInterpolation(Duration maximumTemporalInterpolation)
          Sets the longest data gap over which values can be temporally interpolated.
 Speed Acceleration.multiply(Duration d)
          Returns a Speed whose value is (this * d).
 

Constructors in net.agmodel.physical with parameters of type Duration
SummaryHistoryElement(Duration resolution, SummaryKind resultOf)
          Create a new summary element.
Proportion(Duration numerator, Duration denominator)
           
Period(Duration duration, Date anEnd)
          Constructs a Period from a duration and an ending Date
Period(Date aStart, Duration duration)
          Constructs a Period from an starting Date and a duration
MutableInterval(Duration duration, Date end)
          Creates a MutableInterval from a duration and ending time.
MutableInterval(Date start, Duration duration)
          Creates a MutableInterval from a starting time and duration.
Interval(Duration duration, Date end)
          Creates an interval from a duration and ending time.
Interval(Date start, Duration duration)
          Creates an interval from a starting time and duration.
DataSetImpl(Interval interval, Duration resolution)
           
 

Uses of Duration in net.agmodel.pPhysical
 

Methods in net.agmodel.pPhysical that return Duration
 Duration PDuration.getDuration()
           
 

Constructors in net.agmodel.pPhysical with parameters of type Duration
PPeriod(Duration duration, Date anEnd)
          Constructs a Period from a duration and an ending Date
PPeriod(Date aStart, Duration duration)
          Constructs a Period from an starting Date and a duration
PDuration(Duration duration)
           
 

Uses of Duration in net.agmodel.spatialschema
 

Methods in net.agmodel.spatialschema that return Duration
static Duration TypeMapping.unmapPhysicalQuantity(PhysicalQuantity dur)
           
 

Uses of Duration in net.agmodel.utility
 

Methods in net.agmodel.utility that return Duration
 Duration Stopwatch.getElapsedTime()
          Get the elapsed time in milliseconds.
 

Uses of Duration in net.agmodel.weatherData
 

Methods in net.agmodel.weatherData that return Duration
 Duration WeatherStation.getShortestResolution()
           
 Duration StationDataSetImpl.getServerProcessingTime()
           
 Duration StationDataSet.getServerProcessingTime()
          Get the elapsed time taken by MetBroker and various databases to handle the request.\ This lumps together MetBroker's processing time (usually minimal), query processing on data sources (variable) and transmission time of data from the data source to MetBroker (often the slowest step).
 Duration MetSourceDetail.getShortestResolution()
           
 Duration MetSourceDetail.getLongestResolution()
           
 Duration MetRequest.getElapsedTime()
          Returns the elapsed time since the last call to setProcessingCommenced.
Called by MetBroker just before it returns the query results.
Normally client applications would use StationDataSet.getServerProcessingTime().
 Duration MetDuration.getDuration(Duration shortestAvailable)
          Maps this metDuration to the appropriate Duration.
If monthly, duration is ONE_MONTH if daily, duration is ONE_DAY if hourly, duration is ONE_HOUR else duration is shortestAvailable;
 

Methods in net.agmodel.weatherData with parameters of type Duration
 WindProfileImpl WindProfileImpl.average(Duration newResolution)
          Creates a new wind profile sequence, averaging winds to a lower resolution.
 MetSequence WindProfileImpl.summarize(Duration longerResolution)
           
 WindImpl WindImpl.average(Duration newResolution)
          Creates a new wind sequence, averaging wind to a lower resolution.
 MetSequence WindImpl.summarize(Duration longerResolution)
           
 RHImpl WetDryImpl.average(Duration newResolution)
          Creates a new sequence containing calculated humidities averaged to a lower resolution.
 MetSequence WetDryImpl.summarize(Duration longerResolution)
           
 WaterTempSingleImpl WaterTempSingleImpl.average(Duration newResolution)
          Creates a new temperature sequence, averaging temperature to a lower resolution.
 MetSequence WaterTempSingleImpl.summarize(Duration longerResolution)
           
 SunshineImpl SunshineImpl.total(Duration newResolution)
          Creates a new sunshine hours sequence, totalling sunshine hours to a lower resolution.
 MetSequence SunshineImpl.summarize(Duration longerResolution)
           
 void StationDataSetImpl.setProcessingTime(Duration processingTime)
          Used by MetBroker to record the duration of processing time
 SolarRadiationImpl SolarRadiationImpl.average(Duration newResolution)
          Creates a new solar radiation sequence, averaging to a lower resolution.
 MetSequence SolarRadiationImpl.summarize(Duration longerResolution)
           
 MetSequence SoilTemperatureImpl.summarize(Duration longerResolution)
          Returns the average of the sequence.
 SoilTemperatureImpl SoilTemperatureImpl.average(Duration newResolution)
          Creates a new set of soil temperatures, averaging temperatures to a lower resolution.
 RHImpl RHImpl.average(Duration newResolution)
          Creates a new RH sequence, averaging RH to a lower resolution.
 MetSequence RHImpl.summarize(Duration longerResolution)
           
 RainImpl RainImpl.total(Duration newResolution)
          Creates a new rainfall sequence, totalling rainfall to a lower resolution.
 MetSequence RainImpl.summarize(Duration longerResolution)
           
 MetSequence MetSequence.summarize(Duration longerResolution)
          Creates a lower resolution sequence which summarizes this sequence
static MetDuration MetDuration.categoriseDuration(Duration input)
          Maps the input duration to the nearest MetDuration.
If input < 1 hour, MetDuration is sub_hourly if input < 1 day, MetDuration is hourly if input < 1 month, MetDuration is daily else MetDuration is monthly
 Duration MetDuration.getDuration(Duration shortestAvailable)
          Maps this metDuration to the appropriate Duration.
If monthly, duration is ONE_MONTH if daily, duration is ONE_DAY if hourly, duration is ONE_HOUR else duration is shortestAvailable;
 LeafWetnessSingleImpl LeafWetnessSingleImpl.average(Duration newResolution)
          Creates a new leaf wetness sequence, averaging to a lower resolution.
 MetSequence LeafWetnessSingleImpl.summarize(Duration longerResolution)
           
 LeafWetnessMultiImpl LeafWetnessMultiImpl.average(Duration newResolution)
          Creates a new leaf wetness sequence, averaging to a lower resolution.
 MetSequence LeafWetnessMultiImpl.summarize(Duration longerResolution)
           
 AirTempSingleImpl AirTempSingleImpl.average(Duration newResolution)
          Creates a new temperature sequence, averaging temperature to a lower resolution.
 AirTempMaxMinMeanImpl AirTempSingleImpl.averageAndExtrema(Duration newResolution)
          Creates a new temperature sequence, averaging temperature to a lower resolution.
 MetSequence AirTempSingleImpl.summarize(Duration longerResolution)
           
 AirTempMultiImpl AirTempMultiImpl.average(Duration newResolution)
          Creates a new air temperature sequence, averaging to a lower resolution.
 MetSequence AirTempMultiImpl.summarize(Duration longerResolution)
           
 AirTempMaxMinMeanImpl AirTempMaxMinMeanImpl.average(Duration longerResolution)
           
 MetSequence AirTempMaxMinMeanImpl.summarize(Duration longerResolution)
          Returns the result of the average method
 AirTempMaxMinImpl AirTempMaxMinImpl.average(Duration longerResolution)
           
 MetSequence AirTempMaxMinImpl.summarize(Duration longerResolution)
          Returns the result of the average method
 

Constructors in net.agmodel.weatherData with parameters of type Duration
WeatherStation(String metSourceID, String metSourceName, String stationID, String placeName, Location location, Period operational, Duration shortestResolution)
          Creates a new WeatherStation object
WeatherStation(String metSourceID, String metSourceName, String regionID, String regionName, String stationID, String placeName, Location location, Period operational, Duration shortestResolution)
          Creates a new WeatherStation object
WeatherStation(String metSourceID, String metSourceName, String regionID, String regionName, String stationID, String placeName, Location location, Period operational, Duration shortestResolution, boolean[][] catalog)
          Creates a new WeatherStation object
WeatherStation(String regionID, String regionName, String stationID, String placeName, Location location, Period operational, Duration shortestResolution, boolean[][] catalog)
          Creates a new WeatherStation object in situations where the metSourceDetails are not available
WeatherStation(String stationID, String placeName, Location location, Period operational, Duration shortestResolution, boolean[][] catalog)
          Creates a new WeatherStation object in situations where the metSourceDetails are not available and the station isn't part of a region
StationDataSetImpl(String metSourceID, WeatherStation station, Interval interval, Duration resolution)
          Creates a data set without any data in it.
MetSourceDetail(String ID, String sourceName, GeographicalArea coverage, int loginRequirements, String suggestedTimeZone, float suggestedDailyOffset, Period operational, Duration shortestResolution, Duration longestResolution)
           
 



Copyright (C) NARC 2001 All Rights Reserved.