@Entity public class Author extends Object
Author()
Author(String name)
List<Book>
getBooks()
Long
getId()
@NotNull @Size(max=10) String
getName()
void
setBooks(List<Book> books)
setId(Long id)
setName(@NotNull @Size(max=10) String name)
String
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Author(String name)
public Author()
public Long getId()
public void setId(Long id)
@NotNull @Size(max=10) public @NotNull @Size(max=10) String getName()
public void setName(@NotNull @Size(max=10) @NotNull @Size(max=10) String name)
public List<Book> getBooks()
public void setBooks(List<Book> books)
public String toString()
toString
Object