org.rr0.is.presentation.view.report.form
Class ReportForm

|
+--org.rr0.is.presentation.view.report.form.ReportForm

public class ReportForm
extends ActionForm
implements Serializable

Report edition (create, update) form data.
Struts form.

Author:
Jérôme Beau
Version: 0.1, Initial
Stereotype command

Field Summary
 private Accountaccount
           
 private intaccountId
          Skill's owner key
 private static Loggerlog
           
 final static StringSKILL_LIST
           
 private HumanBeingwitness
           

Constructor Summary
ReportForm()
          Default constructor.

Method Summary
 AccountgetAccount()
           
 voidreset(ActionMapping someMapping, HttpServletRequest someServletRequest)
          Reset the form

Called before populate
 voidsetAccount(Account someAccount)
           
 StringtoString()
           
 ActionErrorsvalidate(ActionMapping mapping, HttpServletRequest servletRequest)
          Valide le formulaire

Field Detail

account

private Account account

accountId

private int accountId
Skill's owner key

log

private static Logger log

SKILL_LIST

public final static String SKILL_LIST

witness

private HumanBeing witness
Constructor Detail

ReportForm

public ReportForm()
Default constructor.
Mandatory to allow Struts to instantiate it.
Method Detail

getAccount

public Account getAccount()

reset

public void reset(ActionMapping someMapping, HttpServletRequest someServletRequest)
Reset the form

Called before populate

setAccount

public void setAccount(Account someAccount)

toString

public String toString()

validate

public ActionErrors validate(ActionMapping mapping, HttpServletRequest servletRequest)
Valide le formulaire
Returns: Les erreurs de saisie éventuelles

Association Links

to Class java.lang.String

to Class org.rr0.im.business.report.Account

to Class org.rr0.im.business.actor.HumanBeing