openfuture.util.forms
Class QueryAnswerForm

java.lang.Object
  |
  +--org.apache.struts.action.ActionForm
        |
        +--openfuture.util.forms.QueryAnswerForm
All Implemented Interfaces:
java.io.Serializable

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

Form bean for yes/no questions.

Created: Mon Mar 05 07:21:43 2001

Version:
$Revision: 1.3 $
Author:
Wolfgang Reissenberger
See Also:
Serialized Form

Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
QueryAnswerForm(java.lang.String title, java.lang.String question, java.util.LinkedList messages, java.lang.String yesText, java.lang.String noText, java.lang.String yesUrl, java.lang.String noUrl)
          Creates a new form instance.
 
Method Summary
 java.util.LinkedList getMessages()
          Returns the messages to be displayed.
 java.lang.String getNoText()
          Get the value of noText.
 java.lang.String getNoUrl()
          Get the value of noUrl.
 java.lang.String getQuestion()
          Get the value of question.
 java.lang.String getTitle()
          Returns the title to be displayed.
 java.lang.String getYesText()
          Get the value of yesText.
 java.lang.String getYesUrl()
          Get the value of yesUrl.
 void setMessages(java.util.LinkedList v)
          Set the messages to be displayed.
 void setNoText(java.lang.String v)
          Set the value of noText.
 void setNoUrl(java.lang.String v)
          Set the value of noUrl.
 void setQuestion(java.lang.String v)
          Set the value of question.
 void setTitle(java.lang.String v)
          Set the title to be displayed.
 void setYesText(java.lang.String v)
          Set the value of yesText.
 void setYesUrl(java.lang.String v)
          Set the value of yesUrl.
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryAnswerForm

public QueryAnswerForm(java.lang.String title,
                       java.lang.String question,
                       java.util.LinkedList messages,
                       java.lang.String yesText,
                       java.lang.String noText,
                       java.lang.String yesUrl,
                       java.lang.String noUrl)
Creates a new form instance.
Parameters:
title - page title
question - question to be posed
messages - messages to be displayed
yesText - Text of the YES link
noText - Text of the no link
yesUrl - URL of the YES link
noUrl - URL of the NO link
Method Detail

getTitle

public java.lang.String getTitle()
Returns the title to be displayed.
Returns:
the title.

setTitle

public void setTitle(java.lang.String v)
Set the title to be displayed.
Parameters:
v - the title.

getMessages

public java.util.LinkedList getMessages()
Returns the messages to be displayed.
Returns:
the list of messages.

setMessages

public void setMessages(java.util.LinkedList v)
Set the messages to be displayed.
Parameters:
v - the list of messages.

getYesText

public java.lang.String getYesText()
Get the value of yesText.
Returns:
value of yesText.

setYesText

public void setYesText(java.lang.String v)
Set the value of yesText.
Parameters:
v - Value to assign to yesText.

getNoText

public java.lang.String getNoText()
Get the value of noText.
Returns:
value of noText.

setNoText

public void setNoText(java.lang.String v)
Set the value of noText.
Parameters:
v - Value to assign to noText.

getYesUrl

public java.lang.String getYesUrl()
Get the value of yesUrl.
Returns:
value of yesUrl.

setYesUrl

public void setYesUrl(java.lang.String v)
Set the value of yesUrl.
Parameters:
v - Value to assign to yesUrl.

getNoUrl

public java.lang.String getNoUrl()
Get the value of noUrl.
Returns:
value of noUrl.

setNoUrl

public void setNoUrl(java.lang.String v)
Set the value of noUrl.
Parameters:
v - Value to assign to noUrl.

getQuestion

public java.lang.String getQuestion()
Get the value of question.
Returns:
value of question.

setQuestion

public void setQuestion(java.lang.String v)
Set the value of question.
Parameters:
v - Value to assign to question.


Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.