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