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

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:
  • 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

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    resets the bean's key attributes
    Gets the description attribute of the SuggestCommentForm object
    Gets the email attribute of the SuggestCommentForm object
    Gets the instName attribute of the SuggestCommentForm object
    Gets the itemID attribute of the SuggestCommentForm object
    Gets the itemTitle attribute of the SuggestCommentForm object
    Gets the itemURL attribute of the SuggestCommentForm object
    Gets the nameFirst attribute of the SuggestCommentForm object
    Gets the nameLast attribute of the SuggestCommentForm object
    Gets the role attribute of the SuggestCommentForm object
    Gets the roleValues attribute of the SuggestCommentForm object
    Gets the share attribute of the SuggestCommentForm object
    protected final void
    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
    Sets the description attribute of the SuggestCommentForm object
    void
    Sets the email attribute of the SuggestCommentForm object
    void
    Sets the instName attribute of the SuggestCommentForm object
    void
    Sets the itemID attribute of the SuggestCommentForm object
    void
    Sets the itemTitle attribute of the SuggestCommentForm object
    void
    Sets the itemURL attribute of the SuggestCommentForm object
    void
    Sets the nameFirst attribute of the SuggestCommentForm object
    void
    Sets the nameLast attribute of the SuggestCommentForm object
    void
    Sets the role attribute of the SuggestCommentForm object
    void
    Sets the share attribute of the SuggestCommentForm object
    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 Details

    • SuggestCommentForm

      public SuggestCommentForm()
      Constructor
  • Method Details

    • 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.