org.apache.wicket.examples.library
Class User
java.lang.Object
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
User
public User()
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.