book1.setIsbn("978-1617290060");
book1.setTitle("The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming");
book1.setAuthor("Benjamin J Evans");
// create genre objects
Genre java = new Genre();
java.setType("Java");
Genre scala = new Genre();
scala.setType("Scala");
book1.setGenres(new Genres()); //Books do not need to *have* a list of Genres so create a list here
// link genres with genre list
book1.getGenres().getGenre().add(java);