42 | | ^Describe your design here. |
| 42 | The existing book model has been analyzed and the following issues have been found: |
| 43 | * Redundancy and obsolete things (e.g., we do not need currentPage property - a book can be opened by two users simultaneously and they might be on different pages). |
| 44 | * Complex and unclear hierachy (e.g., groups are ResourcePageElements that implement an ElementContainer interface - we do not need that). |
| 45 | * Helpers that should not be in the model (e.g., methods for adding frames in the Page class). |
| 46 | |
| 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. |
| 49 | |
| 50 | Since 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. |