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. |
| 47 | Also, 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 | |
| 51 | The 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] |