Changes between Version 4 and Version 5 of GROUP_BOOK_MODEL_REDESIGN_R0


Ignore:
Timestamp:
07/21/09 17:52:02 (16 years ago)
Author:
boyan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUP_BOOK_MODEL_REDESIGN_R0

    v4 v5  
    4545 * Helpers that should not be in the model (e.g., methods for adding frames in the Page class). 
    4646 
    47 Also, the model does not conform to the new resources design and will be thoroughly refactored. Here is a class diagram of the new model:[[BR]] 
    48 ^Here goes the diagram. 
     47Also, the model does not conform to the new resources design and will be thoroughly refactored. After that, the model will consist only of public static final fields, holding keys of immutable type. These keys will replace the properties we had in the old model. Helper methods will be separated in other classes. This will immensely simplify the model. Adding a new field to the model will be easy - just have to add a new key. Here is a class diagram of the new model:[[BR]] 
     48 
     49[[Image(BookModelClassDiagram.jpg)]] 
     50 
     51The skeletons of the classes are committed to [source:/branches/private/mira/resourcesRefactoring/modules/org.sophie2.base.model.resources.r4/src/main/java/org/sophie2/base/model/resources/r4 mira's branch] 
    4952 
    5053Since the new model only consists of public static final fields, no tests are provided. Tests will be provided with the GROUP_RESOURCE_MODEL_REDESIGN_R0.