March 2018
Intermediate to advanced
324 pages
8h 30m
English
After getting to know the code more, it seems that the most important functional change is to replace the current status (fragment):
@XmlRootElement
public class Book {
private final String title;
private final String author;
private int status; //<- this attribute
private int id;
And replace it with a collection of them (fragment):
@XmlRootElement
public class Book {
private int[] statuses;
// ...
This might seem to work (after changing all access to the field to the array, for example), but this also prompts a functional requirement.
The Alexandria software should be able to store books and lend them to users who have the power to return them. The user can also query the system for books, by author, book title, ...
Read now
Unlock full access