DLESE Tools
v1.6.0

org.dlese.dpc.suggest.action.form
Class SuggestCommentForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.dlese.dpc.suggest.action.form.SuggestForm
          extended by org.dlese.dpc.suggest.action.form.SuggestCommentForm
All Implemented Interfaces:
Serializable

public class SuggestCommentForm
extends SuggestForm

ActionForm bean for handling requests that access a SuggestionRecord the QA DataBase and Records.

Version:
$Id: SuggestCommentForm.java,v 1.3 2009/03/20 23:34:00 jweather Exp $
Author:
ostwald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.dlese.dpc.suggest.action.form.SuggestForm
coppa, popup, schemaHelper, vocab
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
SuggestCommentForm()
          Constructor
 
Method Summary
 void clear()
          resets the bean's key attributes
 String getDescription()
          Gets the description attribute of the SuggestCommentForm object
 String getEmail()
          Gets the email attribute of the SuggestCommentForm object
 String getInstName()
          Gets the instName attribute of the SuggestCommentForm object
 String getItemID()
          Gets the itemID attribute of the SuggestCommentForm object
 String getItemTitle()
          Gets the itemTitle attribute of the SuggestCommentForm object
 String getItemURL()
          Gets the itemURL attribute of the SuggestCommentForm object
 String getNameFirst()
          Gets the nameFirst attribute of the SuggestCommentForm object
 String getNameLast()
          Gets the nameLast attribute of the SuggestCommentForm object
 String getRole()
          Gets the role attribute of the SuggestCommentForm object
 String[] getRoleValues()
          Gets the roleValues attribute of the SuggestCommentForm object
 String getShare()
          Gets the share attribute of the SuggestCommentForm object
protected  void prtln(String s)
          Output a line of text to standard out, with datestamp, if debug is set to true.
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Necessary to set role to a default value in the case in which no selection is made for roles.
static void setDebug(boolean db)
          Sets the debug attribute of the SuggestCommentForm object
 void setDescription(String val)
          Sets the description attribute of the SuggestCommentForm object
 void setEmail(String val)
          Sets the email attribute of the SuggestCommentForm object
 void setInstName(String val)
          Sets the instName attribute of the SuggestCommentForm object
 void setItemID(String val)
          Sets the itemID attribute of the SuggestCommentForm object
 void setItemTitle(String val)
          Sets the itemTitle attribute of the SuggestCommentForm object
 void setItemURL(String val)
          Sets the itemURL attribute of the SuggestCommentForm object
 void setNameFirst(String val)
          Sets the nameFirst attribute of the SuggestCommentForm object
 void setNameLast(String val)
          Sets the nameLast attribute of the SuggestCommentForm object
 void setRole(String role)
          Sets the role attribute of the SuggestCommentForm object
 void setShare(String share)
          Sets the share attribute of the SuggestCommentForm object
 String toString()
          Print selected fields of this object for debugging purposes
 
Methods inherited from class org.dlese.dpc.suggest.action.form.SuggestForm
getCoppa, getPopup, setCoppa, setPopup, setSchemaHelper, setVocab
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SuggestCommentForm

public SuggestCommentForm()
Constructor

Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  HttpServletRequest request)
Necessary to set role to a default value in the case in which no selection is made for roles.

Overrides:
reset in class SuggestForm
Parameters:
mapping - Description of the Parameter
request - Description of the Parameter

clear

public void clear()
resets the bean's key attributes

Overrides:
clear in class SuggestForm

getItemID

public String getItemID()
Gets the itemID attribute of the SuggestCommentForm object

Returns:
The itemID value

setItemID

public void setItemID(String val)
Sets the itemID attribute of the SuggestCommentForm object

Parameters:
val - The new itemID value

getItemURL

public String getItemURL()
Gets the itemURL attribute of the SuggestCommentForm object

Returns:
The itemURL value

setItemURL

public void setItemURL(String val)
Sets the itemURL attribute of the SuggestCommentForm object

Parameters:
val - The new itemURL value

getItemTitle

public String getItemTitle()
Gets the itemTitle attribute of the SuggestCommentForm object

Returns:
The itemTitle value

setItemTitle

public void setItemTitle(String val)
Sets the itemTitle attribute of the SuggestCommentForm object

Parameters:
val - The new itemTitle value

getDescription

public String getDescription()
Gets the description attribute of the SuggestCommentForm object

Returns:
The description value

setDescription

public void setDescription(String val)
Sets the description attribute of the SuggestCommentForm object

Parameters:
val - The new description value

getRole

public String getRole()
Gets the role attribute of the SuggestCommentForm object

Returns:
The role value

setRole

public void setRole(String role)
Sets the role attribute of the SuggestCommentForm object

Parameters:
role - The new role value

getRoleValues

public String[] getRoleValues()
Gets the roleValues attribute of the SuggestCommentForm object

Returns:
The roleValues value

getShare

public String getShare()
Gets the share attribute of the SuggestCommentForm object

Returns:
The share value

setShare

public void setShare(String share)
Sets the share attribute of the SuggestCommentForm object

Parameters:
share - The new share value

getNameFirst

public String getNameFirst()
Gets the nameFirst attribute of the SuggestCommentForm object

Returns:
The nameFirst value

setNameFirst

public void setNameFirst(String val)
Sets the nameFirst attribute of the SuggestCommentForm object

Parameters:
val - The new nameFirst value

getNameLast

public String getNameLast()
Gets the nameLast attribute of the SuggestCommentForm object

Returns:
The nameLast value

setNameLast

public void setNameLast(String val)
Sets the nameLast attribute of the SuggestCommentForm object

Parameters:
val - The new nameLast value

getEmail

public String getEmail()
Gets the email attribute of the SuggestCommentForm object

Returns:
The email value

setEmail

public void setEmail(String val)
Sets the email attribute of the SuggestCommentForm object

Parameters:
val - The new email value

getInstName

public String getInstName()
Gets the instName attribute of the SuggestCommentForm object

Returns:
The instName value

setInstName

public void setInstName(String val)
Sets the instName attribute of the SuggestCommentForm object

Parameters:
val - The new instName value

toString

public String toString()
Print selected fields of this object for debugging purposes

Overrides:
toString in class Object
Returns:
String

setDebug

public static void setDebug(boolean db)
Sets the debug attribute of the SuggestCommentForm object

Parameters:
db - The new debug value

prtln

protected final void prtln(String s)
Output a line of text to standard out, with datestamp, if debug is set to true.

Parameters:
s - The String that will be output.

DLESE Tools
v1.6.0