Interface AtmosphericDatum

All Superinterfaces:
net.solarnetwork.domain.datum.AtmosphericDatum, Cloneable, net.solarnetwork.domain.datum.Datum, net.solarnetwork.domain.datum.MutableDatum, MutableNodeDatum, NodeDatum
All Known Subinterfaces:
DayDatum
All Known Implementing Classes:
SimpleAtmosphericDatum, SimpleDayDatum

public interface AtmosphericDatum extends net.solarnetwork.domain.datum.AtmosphericDatum, MutableNodeDatum
Standardized API for atmospheric related datum to implement.
Version:
2.0
Author:
matt
  • Field Summary

    Fields inherited from interface net.solarnetwork.domain.datum.AtmosphericDatum

    ATMOSPHERIC_PRESSURE_KEY, CO2_KEY, DEW_POINT_KEY, HUMIDITY_KEY, IRRADIANCE_KEY, LUX_KEY, RAIN_KEY, SKY_CONDITION_CODES_KEY, SKY_CONDITIONS_KEY, SNOW_KEY, TAG_ATMOSPHERE_INDOOR, TAG_ATMOSPHERE_OUTDOOR, TAG_FORECAST, TEMPERATURE_KEY, VISIBILITY_KEY, WIND_DIRECTION_KEY, WIND_SPEED_KEY

    Fields inherited from interface net.solarnetwork.domain.datum.Datum

    DATUM_TYPE_PROPERTY, DATUM_TYPES_PROPERTY, OP_STATE, OP_STATES, REVERSE_ACCUMULATING_SUFFIX_KEY, SOURCE_ID, TIMESTAMP

    Fields inherited from interface net.solarnetwork.node.domain.datum.NodeDatum

    TIMESTAMP_UPLOAD
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Set the instantaneous atmospheric pressure, in pascals.
    default void
    Set the instantaneous CO2 level, in parts-per-million.
    default void
    Set the instantaneous dew point, in degrees Celsius.
    default void
    Set the instantaneous humidity, as an integer percentage (where 100 represents 100%).
    default void
    Set the solar irradiance level, in watts / square meter.
    default void
    Set the instantaneous luminosity level, in lux.
    default void
    Set the rain accumulation, in millimeters.
    default void
    Set a textual description of the sky conditions, e.g.
    default void
    Set the snow accumulation, in millimeters.
    default void
    Set the instantaneous temperature, in degrees Celsius.
    default void
    Set the instantaneous visibility, in meters.
    default void
    Set the wind direction, in degrees.
    default void
    Set the wind speed, in meters / second.

    Methods inherited from interface net.solarnetwork.domain.datum.AtmosphericDatum

    getAtmosphericPressure, getCO2, getDewPoint, getHumidity, getIrradiance, getLux, getRain, getSkyConditions, getSnow, getTemperature, getVisibility, getWindDirection, getWindSpeed

    Methods inherited from interface net.solarnetwork.domain.datum.Datum

    asSampleOperations, asSimpleMap, getKind, getObjectId, getSampleData, getSourceId, getTimestamp

    Methods inherited from interface net.solarnetwork.domain.datum.MutableDatum

    asMutableSampleOperations

    Methods inherited from interface net.solarnetwork.node.domain.datum.MutableNodeDatum

    clone

    Methods inherited from interface net.solarnetwork.node.domain.datum.NodeDatum

    copyWithId, copyWithSamples, getUploaded
  • Method Details

    • setTemperature

      default void setTemperature(BigDecimal value)
      Set the instantaneous temperature, in degrees Celsius.
      Parameters:
      value - the temperature, in degrees Celsius
    • setDewPoint

      default void setDewPoint(BigDecimal value)
      Set the instantaneous dew point, in degrees Celsius.
      Parameters:
      value - the dew point, in degrees Celsius
    • setHumidity

      default void setHumidity(Integer value)
      Set the instantaneous humidity, as an integer percentage (where 100 represents 100%).
      Parameters:
      value - the humidity, as an integer percentage
    • setAtmosphericPressure

      default void setAtmosphericPressure(Integer value)
      Set the instantaneous atmospheric pressure, in pascals.
      Parameters:
      value - the atmospheric pressure, in pascals
    • setVisibility

      default void setVisibility(Integer value)
      Set the instantaneous visibility, in meters.
      Parameters:
      value - visibility, in meters
    • setSkyConditions

      default void setSkyConditions(String value)
      Set a textual description of the sky conditions, e.g. "clear", "cloudy", etc.
      Parameters:
      value - general sky conditions
    • setWindSpeed

      default void setWindSpeed(BigDecimal value)
      Set the wind speed, in meters / second.
      Parameters:
      value - the wind speed
    • setWindDirection

      default void setWindDirection(Integer value)
      Set the wind direction, in degrees.
      Parameters:
      value - the wind direction
    • setRain

      default void setRain(Integer value)
      Set the rain accumulation, in millimeters.
      Parameters:
      value - rain accumulation
    • setSnow

      default void setSnow(Integer value)
      Set the snow accumulation, in millimeters.
      Parameters:
      value - snow accumulation
    • setIrradiance

      default void setIrradiance(BigDecimal value)
      Set the solar irradiance level, in watts / square meter.
      Parameters:
      value - irradiance level
    • setCO2

      default void setCO2(BigDecimal value)
      Set the instantaneous CO2 level, in parts-per-million.
      Parameters:
      value - the CO2, in parts-per-million
    • setLux

      default void setLux(BigDecimal value)
      Set the instantaneous luminosity level, in lux.
      Parameters:
      value - the luminosity, in lux