Class DatadisRegionConnectorMetadata
java.lang.Object
energy.eddie.regionconnector.es.datadis.DatadisRegionConnectorMetadata
- All Implemented Interfaces:
RegionConnectorMetadata
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDatadis can grant permissions for a maximum of 24 months in the future.static final intDatadis gives access to metering data for a maximum of 24 months in the past.static final Periodstatic final PeriodThe maximum time in the future that a permission request can be created for.static final Stringstatic final List<Granularity> static final ZoneId -
Method Summary
Modifier and TypeMethodDescriptionCountry code of the region covered by aRegionConnector.longNumber of metering points that are accessible through aRegionConnector.The earliest possible start for a region-connector.id()A unique identifier of aRegionConnector.The latest possible end for a region-connector.List<Class<? extends DataNeedInterface>> List of supported Data NeedsThe energy types for which the region connector can request validated historical data.List of supported granularities.timeZone()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface energy.eddie.api.v0.RegionConnectorMetadata
countryCodes, granularitiesFor
-
Field Details
-
REGION_CONNECTOR_ID
- See Also:
-
ZONE_ID_SPAIN
-
MAXIMUM_MONTHS_IN_THE_PAST
public static final int MAXIMUM_MONTHS_IN_THE_PASTDatadis gives access to metering data for a maximum of 24 months in the past.- See Also:
-
MAXIMUM_MONTHS_IN_THE_FUTURE
public static final int MAXIMUM_MONTHS_IN_THE_FUTUREDatadis can grant permissions for a maximum of 24 months in the future. If no end date is provided, the end date will be set to the current date plus 24 months.- See Also:
-
PERIOD_LATEST_END
The maximum time in the future that a permission request can be created for. 24 months minus one day. Datadis API is exclusive on the end date, so we need to subtract one day here. -
PERIOD_EARLIEST_START
-
SUPPORTED_GRANULARITIES
-
SUPPORTED_DATA_NEEDS
-
-
Method Details
-
getInstance
-
id
Description copied from interface:RegionConnectorMetadataA unique identifier of aRegionConnector.- Specified by:
idin interfaceRegionConnectorMetadata
-
countryCode
Description copied from interface:RegionConnectorMetadataCountry code of the region covered by aRegionConnector. Must be uppercase.- Specified by:
countryCodein interfaceRegionConnectorMetadata
-
coveredMeteringPoints
public long coveredMeteringPoints()Description copied from interface:RegionConnectorMetadataNumber of metering points that are accessible through aRegionConnector.- Specified by:
coveredMeteringPointsin interfaceRegionConnectorMetadata
-
earliestStart
Description copied from interface:RegionConnectorMetadataThe earliest possible start for a region-connector.- Specified by:
earliestStartin interfaceRegionConnectorMetadata
-
latestEnd
Description copied from interface:RegionConnectorMetadataThe latest possible end for a region-connector.- Specified by:
latestEndin interfaceRegionConnectorMetadata
-
supportedGranularities
Description copied from interface:RegionConnectorMetadataList of supported granularities.- Specified by:
supportedGranularitiesin interfaceRegionConnectorMetadata
-
timeZone
- Specified by:
timeZonein interfaceRegionConnectorMetadata
-
supportedEnergyTypes
Description copied from interface:RegionConnectorMetadataThe energy types for which the region connector can request validated historical data.- Specified by:
supportedEnergyTypesin interfaceRegionConnectorMetadata- Returns:
- the supported energy types
-
supportedDataNeeds
Description copied from interface:RegionConnectorMetadataList of supported Data Needs- Specified by:
supportedDataNeedsin interfaceRegionConnectorMetadata
-