Class SuggestCommentForm
java.lang.Object
org.apache.struts.action.ActionForm
org.dlese.dpc.suggest.action.form.SuggestForm
org.dlese.dpc.suggest.action.form.SuggestCommentForm
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields inherited from class org.dlese.dpc.suggest.action.form.SuggestForm
coppa, popup, schemaHelper, vocabFields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()resets the bean's key attributesGets the description attribute of the SuggestCommentForm objectgetEmail()Gets the email attribute of the SuggestCommentForm objectGets the instName attribute of the SuggestCommentForm objectGets the itemID attribute of the SuggestCommentForm objectGets the itemTitle attribute of the SuggestCommentForm objectGets the itemURL attribute of the SuggestCommentForm objectGets the nameFirst attribute of the SuggestCommentForm objectGets the nameLast attribute of the SuggestCommentForm objectgetRole()Gets the role attribute of the SuggestCommentForm objectString[]Gets the roleValues attribute of the SuggestCommentForm objectgetShare()Gets the share attribute of the SuggestCommentForm objectprotected final voidOutput a line of text to standard out, with datestamp, if debug is set to true.voidreset(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 voidsetDebug(boolean db) Sets the debug attribute of the SuggestCommentForm objectvoidsetDescription(String val) Sets the description attribute of the SuggestCommentForm objectvoidSets the email attribute of the SuggestCommentForm objectvoidsetInstName(String val) Sets the instName attribute of the SuggestCommentForm objectvoidSets the itemID attribute of the SuggestCommentForm objectvoidsetItemTitle(String val) Sets the itemTitle attribute of the SuggestCommentForm objectvoidsetItemURL(String val) Sets the itemURL attribute of the SuggestCommentForm objectvoidsetNameFirst(String val) Sets the nameFirst attribute of the SuggestCommentForm objectvoidsetNameLast(String val) Sets the nameLast attribute of the SuggestCommentForm objectvoidSets the role attribute of the SuggestCommentForm objectvoidSets the share attribute of the SuggestCommentForm objecttoString()Print selected fields of this object for debugging purposesMethods inherited from class org.dlese.dpc.suggest.action.form.SuggestForm
getCoppa, getPopup, setCoppa, setPopup, setSchemaHelper, setVocabMethods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
-
Constructor Details
-
SuggestCommentForm
public SuggestCommentForm()Constructor
-
-
Method Details
-
reset
Necessary to set role to a default value in the case in which no selection is made for roles.- Overrides:
resetin classSuggestForm- Parameters:
mapping- Description of the Parameterrequest- Description of the Parameter
-
clear
public void clear()resets the bean's key attributes- Overrides:
clearin classSuggestForm
-
getItemID
Gets the itemID attribute of the SuggestCommentForm object- Returns:
- The itemID value
-
setItemID
Sets the itemID attribute of the SuggestCommentForm object- Parameters:
val- The new itemID value
-
getItemURL
Gets the itemURL attribute of the SuggestCommentForm object- Returns:
- The itemURL value
-
setItemURL
Sets the itemURL attribute of the SuggestCommentForm object- Parameters:
val- The new itemURL value
-
getItemTitle
Gets the itemTitle attribute of the SuggestCommentForm object- Returns:
- The itemTitle value
-
setItemTitle
Sets the itemTitle attribute of the SuggestCommentForm object- Parameters:
val- The new itemTitle value
-
getDescription
Gets the description attribute of the SuggestCommentForm object- Returns:
- The description value
-
setDescription
Sets the description attribute of the SuggestCommentForm object- Parameters:
val- The new description value
-
getRole
Gets the role attribute of the SuggestCommentForm object- Returns:
- The role value
-
setRole
Sets the role attribute of the SuggestCommentForm object- Parameters:
role- The new role value
-
getRoleValues
Gets the roleValues attribute of the SuggestCommentForm object- Returns:
- The roleValues value
-
getNameFirst
Gets the nameFirst attribute of the SuggestCommentForm object- Returns:
- The nameFirst value
-
setNameFirst
Sets the nameFirst attribute of the SuggestCommentForm object- Parameters:
val- The new nameFirst value
-
getNameLast
Gets the nameLast attribute of the SuggestCommentForm object- Returns:
- The nameLast value
-
setNameLast
Sets the nameLast attribute of the SuggestCommentForm object- Parameters:
val- The new nameLast value
-
getEmail
Gets the email attribute of the SuggestCommentForm object- Returns:
- The email value
-
setEmail
Sets the email attribute of the SuggestCommentForm object- Parameters:
val- The new email value
-
getInstName
Gets the instName attribute of the SuggestCommentForm object- Returns:
- The instName value
-
setInstName
Sets the instName attribute of the SuggestCommentForm object- Parameters:
val- The new instName value
-
toString
Print selected fields of this object for debugging purposes -
setDebug
public static void setDebug(boolean db) Sets the debug attribute of the SuggestCommentForm object- Parameters:
db- The new debug value
-
prtln
Output a line of text to standard out, with datestamp, if debug is set to true.- Parameters:
s- The String that will be output.
-