Version 2 (modified by pavlina, 16 years ago) (diff) |
---|
Analysis
Overview
The purpose of this task is to provide a model for storing the book object. The implementation will be easier using the properties we have.
Task requirements
- create book data access object with properties so that a book can be saved, edited and removed
- the code should be refactored - the persistence module should use the properties and extends BaseProObject
- do not forget to write the tests needed in the design phase
Task result
- book data object classes with corresponding table in the database
- refactored code which uses the properties
Implementation idea
- refactor the code first
- create Book entity which represents the book
- create BookDao in org.sophie2.persistence.dao package with the needed properties for managing the book
- see the implementation idea of the S2S_PERSISTENCE_COMMONS_R0 task
Related
S2S_PERSISTENCE_COMMONS_R0
S2S_CORE_MODEL_R0
How to demo
Show the new classes and run the tests.
Design
Implementation
(Implementation results should be described and linked here (from the wiki or the repository))
Testing
Comments
(Write comments for this or later revisions here.)