quality_check() is a method, which can be found for Intervention, EMA and Compensation model, but does not have proper implementation, yet.
ToDo
Add quality check functions:
Intervention
registration_date set
binding_date set
geometry set
title set
process_type set
laws not empty
file numbers set
registration_office set
conservation_office set
handler set
revocationNOT set
Has at least 1 compensation or1 payment or1 deduction
Compensation
geometry set
amount surface before_states must be equal to after_states
before_states and after_states not be empty
actions not empty
EMA
Same as for Compensation
EcoAccount
Same as for Compensation, extended by
deductable_surfaceset
registration_date set
conservation_office set
file number set
# Status quo
`quality_check()` is a method, which can be found for Intervention, EMA and Compensation model, but does not have proper implementation, yet.
# ToDo
Add quality check functions:
## Intervention
1. `registration_date` set
1. `binding_date` set
1. `geometry` set
1. `title` set
1. `process_type` set
1. `laws` not empty
1. file numbers set
1. `registration_office` set
1. `conservation_office` set
1. `handler` set
1. `revocation` **NOT** set
1. Has at least **1** compensation **or** **1** payment **or** **1** deduction
## Compensation
1. `geometry` set
1. amount surface `before_states` must be **equal** to `after_states`
1. `before_states` and `after_states` not be empty
1. `actions` not empty
## EMA
Same as for Compensation
## EcoAccount
Same as for Compensation, extended by
1. `deductable_surface`set
1. `registration_date` set
1. `conservation_office` set
1. file number set
Status quo
quality_check()
is a method, which can be found for Intervention, EMA and Compensation model, but does not have proper implementation, yet.ToDo
Add quality check functions:
Intervention
registration_date
setbinding_date
setgeometry
settitle
setprocess_type
setlaws
not emptyregistration_office
setconservation_office
sethandler
setrevocation
NOT setCompensation
geometry
setbefore_states
must be equal toafter_states
before_states
andafter_states
not be emptyactions
not emptyEMA
Same as for Compensation
EcoAccount
Same as for Compensation, extended by
deductable_surface
setregistration_date
setconservation_office
setMerged in #37