org.apache.camel.example.cxf.jaxrs.resources
Class Book

java.lang.Object
  extended by org.apache.camel.example.cxf.jaxrs.resources.Book

public class Book
extends Object


Constructor Summary
Book()
           
Book(String name, long id)
           
 
Method Summary
 long getId()
           
 String getName()
           
 void setId(long i)
           
 void setName(String n)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Book

public Book()

Book

public Book(String name,
            long id)
Method Detail

setName

public void setName(String n)

getName

public String getName()

setId

public void setId(long i)

getId

public long getId()

toString

public String toString()
Overrides:
toString in class Object


Apache CAMEL