org.jboss.seam.exception.control.example.jaxrs.entity
Class Book

java.lang.Object
  extended by org.jboss.seam.exception.control.example.jaxrs.entity.Book

@Entity
public class Book
extends Object


Constructor Summary
Book()
           
 
Method Summary
 void addAuthor(Author newAuthor)
           
 List<Author> getAuthors()
           
 Long getId()
           
 String getTitle()
           
 void setAuthors(List<Author> authors)
           
 void setId(Long id)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Book

public Book()
Method Detail

addAuthor

public void addAuthor(Author newAuthor)

getAuthors

public List<Author> getAuthors()

setAuthors

public void setAuthors(List<Author> authors)

getId

public Long getId()

setId

public void setId(Long id)

getTitle

@NotNull
@Size(min=1,
      max=100)
public String getTitle()

setTitle

public void setTitle(String title)


Copyright © 2010 Seam Framework. All Rights Reserved.