Class DatadisPermissionRequest
java.lang.Object
energy.eddie.regionconnector.es.datadis.permission.request.DatadisPermissionRequest
- All Implemented Interfaces:
MeterReadingPermissionRequest,PermissionRequest,EsPermissionRequest
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDatadisPermissionRequest(String permissionId, String connectionId, String dataNeedId, Granularity granularity, String nif, String meteringPointId, LocalDate start, LocalDate end, DistributorCode distributorCode, Integer pointType, LocalDate latestMeterReadingEndDate, PermissionProcessStatus status, String errorMessage, boolean productionSupport, ZonedDateTime created, AllowedGranularity allowedGranularity) -
Method Summary
Modifier and TypeMethodDescriptionThe connectionId is an id that is given by the eligible party using EDDIE.created()The datetime when the permission request first was created.The dataNeedId identifies the data need that should be met by the permission request.Information about the data source associated with the permission request.The distributor code of the distributor that is responsible for the metering point associated with this permission request.end()The end date from which data is requested.The latest meter reading end date that was pulled or received for this permission request.Decide what kind of metering data is requested.The metering point id of the metering point associated with this permission request.nif()The NIF of the customer that requested the permission.The permissionId of a request.This number describes what kind of metering point is associated with this permission request.booleanIn Spain, a metering point always has consumption, but they can additionally have production as well.start()The start date from which data is requested.status()
-
Constructor Details
-
DatadisPermissionRequest
protected DatadisPermissionRequest() -
DatadisPermissionRequest
public DatadisPermissionRequest(String permissionId, String connectionId, String dataNeedId, Granularity granularity, String nif, String meteringPointId, LocalDate start, LocalDate end, @Nullable DistributorCode distributorCode, @Nullable Integer pointType, @Nullable LocalDate latestMeterReadingEndDate, PermissionProcessStatus status, @Nullable String errorMessage, boolean productionSupport, ZonedDateTime created, AllowedGranularity allowedGranularity)
-
-
Method Details
-
permissionId
Description copied from interface:PermissionRequestThe permissionId of a request. It is used internally of EDDIE to map permission requests or incoming consumption data- Specified by:
permissionIdin interfacePermissionRequest- Returns:
- permissionId
-
connectionId
Description copied from interface:PermissionRequestThe connectionId is an id that is given by the eligible party using EDDIE.- Specified by:
connectionIdin interfacePermissionRequest- Returns:
- connectionId
-
dataNeedId
Description copied from interface:PermissionRequestThe dataNeedId identifies the data need that should be met by the permission request.- Specified by:
dataNeedIdin interfacePermissionRequest- Returns:
- dataNeedId
-
status
- Specified by:
statusin interfacePermissionRequest
-
dataSourceInformation
Description copied from interface:PermissionRequestInformation about the data source associated with the permission request.- Specified by:
dataSourceInformationin interfacePermissionRequest- Returns:
- the DataSourceInformation of the PermissionRequest
-
created
Description copied from interface:PermissionRequestThe datetime when the permission request first was created.- Specified by:
createdin interfacePermissionRequest- Returns:
- the created datetime
-
start
Description copied from interface:PermissionRequestThe start date from which data is requested. (inclusive)- Specified by:
startin interfacePermissionRequest
-
end
Description copied from interface:PermissionRequestThe end date from which data is requested. (inclusive)- Specified by:
endin interfacePermissionRequest
-
nif
Description copied from interface:EsPermissionRequestThe NIF of the customer that requested the permission. This is the username which is used to log in to the Datadis portal.- Specified by:
nifin interfaceEsPermissionRequest
-
meteringPointId
Description copied from interface:EsPermissionRequestThe metering point id of the metering point associated with this permission request. In DataDis this is called CUPS.- Specified by:
meteringPointIdin interfaceEsPermissionRequest
-
distributorCode
Description copied from interface:EsPermissionRequestThe distributor code of the distributor that is responsible for the metering point associated with this permission request.- Specified by:
distributorCodein interfaceEsPermissionRequest
-
pointType
Description copied from interface:EsPermissionRequestThis number describes what kind of metering point is associated with this permission request. The values range from 1 to 5 and decide what MeasurementType is used supported.Only 1 and 2 support @
MeasurementType.QUARTER_HOURLY.All metering points support @
MeasurementType.HOURLY.- Specified by:
pointTypein interfaceEsPermissionRequest
-
productionSupport
public boolean productionSupport()Description copied from interface:EsPermissionRequestIn Spain, a metering point always has consumption, but they can additionally have production as well.- Specified by:
productionSupportin interfaceEsPermissionRequest- Returns:
- true if the metering point associated with this permission request supports production data.
-
measurementType
Description copied from interface:EsPermissionRequestDecide what kind of metering data is requested.Either @
MeasurementType.HOURLYor @MeasurementType.QUARTER_HOURLY.Look at@
EsPermissionRequest.pointType()to see what is supported.- Specified by:
measurementTypein interfaceEsPermissionRequest
-
allowedGranularity
- Specified by:
allowedGranularityin interfaceEsPermissionRequest
-
errorMessage
- Specified by:
errorMessagein interfaceEsPermissionRequest
-
granularity
- Specified by:
granularityin interfaceEsPermissionRequest
-
latestMeterReadingEndDate
Description copied from interface:MeterReadingPermissionRequestThe latest meter reading end date that was pulled or received for this permission request.- Specified by:
latestMeterReadingEndDatein interfaceMeterReadingPermissionRequest
-