org.apache.wicket.examples.guestbook
Class Comment
java.lang.Object
org.apache.wicket.examples.guestbook.Comment
- All Implemented Interfaces:
- java.io.Serializable, IClusterable
public class Comment
- extends java.lang.Object
- implements IClusterable
Simple "POJO" bean for guestbook comments.
- Author:
- Jonathan Locke
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Comment
public Comment()
- Constructor
Comment
public Comment(Comment comment)
- Copy constructor
- Parameters:
comment
- The comment to copy
getText
public java.lang.String getText()
- Returns:
- Returns the text.
setText
public void setText(java.lang.String text)
- Parameters:
text
- The text to set.
getDate
public java.util.Date getDate()
- Returns:
- Returns the date.
setDate
public void setDate(java.util.Date date)
- Parameters:
date
- The date to set.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.