org.wicketstuff.console.examples.hibernate
Class Book

java.lang.Object
  extended by org.wicketstuff.console.examples.hibernate.Book

@Entity
public class Book
extends Object

Sample Hibernate entity.

Author:
cretzel

Constructor Summary
Book()
           
Book(String title, String author)
           
 
Method Summary
 String getAuthor()
           
 Long getId()
           
 String getTitle()
           
 void setAuthor(String author)
           
 void setId(Long id)
           
 void setTitle(String title)
           
 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 title,
            String author)
Method Detail

getId

public Long getId()

setId

public void setId(Long id)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getAuthor

public String getAuthor()

setAuthor

public void setAuthor(String author)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.