org.strutsme.wishlist.presentation.struts.wish
Class WishForm
java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.validator.ValidatorForm
org.apache.struts.validator.ValidatorActionForm
org.strutsme.wishlist.presentation.struts.wish.WishForm
- All Implemented Interfaces:
- java.io.Serializable
public class WishForm
- extends org.apache.struts.validator.ValidatorActionForm
The Struts form for wishes.
- Author:
- lbusmann, mhermann
- See Also:
- Serialized Form
| Fields inherited from class org.apache.struts.validator.ValidatorForm |
page, validatorResults |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
|
Constructor Summary |
WishForm()
Each class should have a Constructor. |
| Methods inherited from class org.apache.struts.validator.ValidatorActionForm |
validate |
| Methods inherited from class org.apache.struts.validator.ValidatorForm |
getPage, getResultValueMap, getValidatorResults, log, log, reset, setPage, setValidatorResults |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WishForm
public WishForm()
- Each class should have a Constructor.
getWish
public final WishDto getWish()
- Returns:
- the wish
setWish
public final void setWish(WishDto wish)
- Parameters:
wish - the wish to set
getAuthor
public final UserDto getAuthor()
- Returns:
- the author
setAuthor
public final void setAuthor(UserDto author)
- Parameters:
author - the author to set
getReadOnly
public final java.lang.Boolean getReadOnly()
- Returns:
- the readOnly
setReadOnly
public final void setReadOnly(java.lang.Boolean readOnly)
- Parameters:
readOnly - the readOnly to set
getBody
public final java.lang.String getBody()
- Returns:
- the body
setBody
public final void setBody(java.lang.String body)
- Parameters:
body - the body
getSubject
public final java.lang.String getSubject()
- Returns:
- the subject
setSubject
public final void setSubject(java.lang.String subject)
- Parameters:
subject - the subject
getPriority
public final java.lang.Short getPriority()
- the priority of the wish.
- Returns:
- the priority of the wish
setPriority
public final void setPriority(java.lang.Short priority)
- the priority of the wish.
- Parameters:
priority - sets the priority of the wish.