Class Book

java.lang.Object
lt.viko.eif.jguscia.models.Book

public class Book extends Object
Represents a single book entity mapped from the XML structure. This class is used by JAXB to convert XML data into a Java object (POJO).
  • Field Details

    • id

      public int id
      Unique identifier of the book
    • title

      public String title
      Title of the book
    • genres

      public List<String> genres
      List of genres associated with the book. In XML this is represented as a <genres> wrapper containing multiple <genre> elements.
  • Constructor Details

    • Book

      public Book()