Class Author


  • @Entity
    public class Author
    extends Object
    • Constructor Detail

      • Author

        public Author​(String name)
      • Author

        public Author()
    • Method Detail

      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • getName

        @NotNull
        @Size(max=10)
        public @NotNull @Size(max=10) String getName()
      • setName

        public void setName​(@NotNull @Size(max=10)
                            @NotNull @Size(max=10) String name)
      • getBooks

        public List<Book> getBooks()
      • setBooks

        public void setBooks​(List<Book> books)