org.strutsme.wishlist.presentation.struts.wish
Class WishForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.struts.validator.ValidatorForm
          extended by org.apache.struts.validator.ValidatorActionForm
              extended by 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

Field Summary
 
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.
 
Method Summary
 UserDto getAuthor()
           
 java.lang.String getBody()
           
 java.lang.Short getPriority()
          the priority of the wish.
 java.lang.Boolean getReadOnly()
           
 java.lang.String getSubject()
           
 WishDto getWish()
           
 void setAuthor(UserDto author)
           
 void setBody(java.lang.String body)
           
 void setPriority(java.lang.Short priority)
          the priority of the wish.
 void setReadOnly(java.lang.Boolean readOnly)
           
 void setSubject(java.lang.String subject)
           
 void setWish(WishDto wish)
           
 
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
 

Constructor Detail

WishForm

public WishForm()
Each class should have a Constructor.

Method Detail

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.