org.jboss.seam.exception.control.example.jaxrs.entity
Class Author
java.lang.Object
org.jboss.seam.exception.control.example.jaxrs.entity.Author
@Entity
public class Author
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Author
public Author()
addBook
public void addBook(Book newBook)
getBooks
public List<Book> getBooks()
setBooks
public void setBooks(List<Book> books)
getId
public Long getId()
setId
public void setId(Long id)
getName
@NotNull
@Size(min=1,
max=100)
public String getName()
setName
public void setName(String name)
Copyright © 2010 Seam Framework. All Rights Reserved.