Class ValidatedHistoricalDataDataNeed

All Implemented Interfaces:
DataNeedInterface

@Entity @GroupSequence({BasicValidationsGroup.class,CustomValidationsGroup.class,ValidatedHistoricalDataDataNeed.class}) public class ValidatedHistoricalDataDataNeed extends TimeframedDataNeed
A data need designed to request validated historical data from the MDA. If the TimeframedDataNeed.duration() ends in the future, new data should be fetched daily.
  • Field Details

  • Constructor Details

    • ValidatedHistoricalDataDataNeed

      protected ValidatedHistoricalDataDataNeed()
    • ValidatedHistoricalDataDataNeed

      public ValidatedHistoricalDataDataNeed(DataNeedDuration duration, EnergyType energyType, Granularity minGranularity, Granularity maxGranularity)
  • Method Details

    • energyType

      public EnergyType energyType()
      Returns which type of energy should be requested for the associated data need.
    • minGranularity

      public Granularity minGranularity()
      Returns the granularity in which data should be requested from the MDA. If the data is not available in this granularity and maxGranularity() is a higher granularity, the region connector should automatically retry to fetch the data in the next highest granularity that is supported by the region connector until data is received. If no data can be retrieved for the granularity specified by maxGranularity(), then the permission request should be transitioned into an error state.
    • maxGranularity

      public Granularity maxGranularity()
      Returns the highest acceptable data granularity.
      See Also: