Class Book


  • @Entity
    public class Book
    extends Object
    • Constructor Detail

      • Book

        public Book()
      • Book

        public Book​(String title)
    • Method Detail

      • setId

        public void setId​(Integer id)
      • getTitle

        @NotNull
        @Size(max=10)
        public @NotNull @Size(max=10) String getTitle()
      • setTitle

        public void setTitle​(@NotNull @Size(max=10)
                             @NotNull @Size(max=10) String title)
      • getAuthor

        @NotNull
        public @NotNull Author getAuthor()
      • setAuthor

        public void setAuthor​(@NotNull
                              @NotNull Author author)
      • getIsbn

        public long getIsbn()
      • setIsbn

        public void setIsbn​(long isbn)