hu.elte.tribus.form
Class QaForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by hu.elte.tribus.form.QaForm
All Implemented Interfaces:
java.io.Serializable

public class QaForm
extends org.apache.struts.action.ActionForm

MyEclipse Struts Creation date: 11-11-2006 XDoclet definition:

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
QaForm()
           
 
Method Summary
 java.lang.String getAnswer()
          Returns the answer.
 java.lang.String getQuestion()
          Returns the question.
 int getTopic()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Method reset
 void setAnswer(java.lang.String answer)
          Set the answer.
 void setQuestion(java.lang.String question)
          Set the question.
 void setTopic(int topic)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Method validate
 
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

QaForm

public QaForm()
Method Detail

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Method validate

Overrides:
validate in class org.apache.struts.action.ActionForm
Parameters:
mapping -
request -
Returns:
ActionErrors

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Method reset

Overrides:
reset in class org.apache.struts.action.ActionForm
Parameters:
mapping -
request -

getAnswer

public java.lang.String getAnswer()
Returns the answer.

Returns:
String

setAnswer

public void setAnswer(java.lang.String answer)
Set the answer.

Parameters:
answer - The answer to set

getQuestion

public java.lang.String getQuestion()
Returns the question.

Returns:
String

setQuestion

public void setQuestion(java.lang.String question)
Set the question.

Parameters:
question - The question to set

getTopic

public int getTopic()

setTopic

public void setTopic(int topic)


Copyright © 2006-2007. All Rights Reserved.