Changes between Version 5 and Version 6 of BASE_BOOK_COMMONS_R0


Ignore:
Timestamp:
12/13/08 19:30:17 (16 years ago)
Author:
boyan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BASE_BOOK_COMMONS_R0

    v5 v6  
    5353= Design = 
    5454 
     55The Book object model consists of three parts: 
     56 * Model - in package org.sophie2.base.model.book 
     57 * View - in package org.sophie2.main.view.book 
     58 * Logic - in package org.sophie2.main.view.logic 
     59 
     60The basic actions for books are found in the following classes:[[BR]] 
     61[source:/trunk/sophie2-platform/modules/org.sophie2.base.model.book/src/main/java/org/sophie2/base/model/book/Book.java Book.java][[BR]] 
     62[source:/trunk/sophie2-platform/modules/org.sophie2.main.view/src/main/java/org/sophie2/main/view/book/BookView.java BookView.java][[BR]] 
     63[source:/trunk/sophie2-platform/modules/org.sophie2.main.view/src/main/java/org/sophie2/main/view/logic/BookLogic.java BookLogic.java] 
     64 
     65 * These classes provide functionality for: 
     66  * Creating and deleting books. 
     67  * Adding/removing/reordering the pages of a book. 
     68 * Some things will not be implemented in this task: 
     69  * copying books requires the [wiki:CORE_ADDITIONS_R0]. 
     70  * saving/loading books will be implemented in the [wiki:BASE_PERSISTENCE_COMMONS_R0] task. 
     71  * importing/exporting will be implemented at Iteration05 - then there are tasks for that. 
     72  * grouping in chapters is scheduled for Iteration06. 
     73  * other things might be implemented in the next revisions of this task. 
     74 
     75Here's the class diagram for these classes:[[BR]] 
     76[[Image(source:/trunk/sophie2-platform/doc/uml-design-diagrams/Book-Object-Model.png)]] 
     77 
     78Unit tests can be found here:[[BR]] 
     79[source:/trunk/sophie2-platform/modules/org.sophie2.base.model.book/src/test/java/org/sophie2/base/model/book/BookUnitTest.java BookUnitTest.java][[BR]] 
     80[source:/trunk/sophie2-platform/modules/org.sophie2.base.model.book/src/test/java/org/sophie2/base/model/book/PageUnitTest.java PageUnitTest.java][[BR]] 
     81[source:/trunk/sophie2-platform/modules/org.sophie2.main.view/src/test/java/org/sophie2/main/view/logic/AppBookPageLogicUnitTest.java AppBookPageLogicUnitTest.java][[BR]] 
     82[source:/trunk/sophie2-platform/modules/org.sophie2.main.view/src/test/java/org/sophie2/main/view/book/BookViewUnitTest.java BookViewUnitTest.java][[BR]] 
     83 
    5584= Implementation = 
    5685^(Implementation results should be described and linked here (from the wiki or the repository))^