lizardsystem/lizard-waterbalance — Issue #15: Implement adapter for the Bucket Django model.
Author: swinkels
Created: 2011-11-08 09:52:57+00:00
State: open

Currently, the computational core of lizard_waterbalance defines a Bucket Django model. The XML interface with the FEWS client will also define a bucket for the same purpose but one that has slightly different attributes than the Bucket model.

In module `dbmodel.models`, we have to implement an adapter for the Bucket Django Model that

- satisfies the XML interface with the FEWS client and that
- wraps the Bucket model in such a way that the computational core gives the same results.

The adapter will be implemented by a Bucket class.