Interface DayDatum

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

public interface DayDatum extends AtmosphericDatum, net.solarnetwork.domain.datum.DayDatum, MutableNodeDatum
Solar day related datum.
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.domain.datum.DayDatum

    BRIEF_OVERVIEW_KEY, MOONRISE_KEY, MOONSET_KEY, SUNRISE_KEY, SUNSET_KEY, TEMPERATURE_MAXIMUM_KEY, TEMPERATURE_MINIMUM_KEY

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

    TIMESTAMP_UPLOAD
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Set a brief textual description of the overall conditions, e.g.
    default void
    Set the moon rise time.
    default void
    Set the moon set time.
    default void
    Set the sunrise time.
    default void
    Set the sunset time.
    default void
    Set the maximum temperature for the day.
    default void
    Set the minimum temperature for the day.

    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.DayDatum

    getBriefOverview, getMoonriseTime, getMoonsetTime, getSunriseTime, getSunsetTime, getTemperatureMaximum, getTemperatureMinimum

    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

    • setSunriseTime

      default void setSunriseTime(LocalTime value)
      Set the sunrise time.
      Parameters:
      value - the sunrise
    • setSunsetTime

      default void setSunsetTime(LocalTime value)
      Set the sunset time.
      Parameters:
      value - the sunset
    • setMoonriseTime

      default void setMoonriseTime(LocalTime value)
      Set the moon rise time.
      Parameters:
      value - the moon rise
    • setMoonsetTime

      default void setMoonsetTime(LocalTime value)
      Set the moon set time.
      Parameters:
      value - the moon set
    • setTemperatureMinimum

      default void setTemperatureMinimum(BigDecimal value)
      Set the minimum temperature for the day.
      Parameters:
      value - the minimum temperature
    • setTemperatureMaximum

      default void setTemperatureMaximum(BigDecimal value)
      Set the maximum temperature for the day.
      Parameters:
      value - the maximum temperature
    • setBriefOverview

      default void setBriefOverview(String value)
      Set a brief textual description of the overall conditions, e.g. "Sunshine and some clouds. High 18C. Winds N at 10 to 15 km/h."
      Parameters:
      value - general overall conditions description