org.apache.wicket.examples.library
Class User

java.lang.Object
  extended by org.apache.wicket.examples.library.User
All Implemented Interfaces:
Serializable, IClusterable

public final class User
extends Object
implements IClusterable

Trivial user model for example application

Author:
Jonathan Locke
See Also:
Serialized Form

Constructor Summary
User()
           
 
Method Summary
 List<Book> getBooks()
           
 String getName()
           
 void setBooks(List<Book> books)
           
 void setName(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User()
Method Detail

getName

public final String getName()
Returns:
User name

setName

public final void setName(String string)
Parameters:
string - User name

getBooks

public final List<Book> getBooks()
Returns:
User's book list

setBooks

public void setBooks(List<Book> books)
Parameters:
books - New book list


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.