public class SuggestCommentForm extends SuggestForm
SuggestionRecord
the QA DataBase and Records.coppa, popup, schemaHelper, vocab
Constructor and Description |
---|
SuggestCommentForm()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
resets the bean's key attributes
|
java.lang.String |
getDescription()
Gets the description attribute of the SuggestCommentForm object
|
java.lang.String |
getEmail()
Gets the email attribute of the SuggestCommentForm object
|
java.lang.String |
getInstName()
Gets the instName attribute of the SuggestCommentForm object
|
java.lang.String |
getItemID()
Gets the itemID attribute of the SuggestCommentForm object
|
java.lang.String |
getItemTitle()
Gets the itemTitle attribute of the SuggestCommentForm object
|
java.lang.String |
getItemURL()
Gets the itemURL attribute of the SuggestCommentForm object
|
java.lang.String |
getNameFirst()
Gets the nameFirst attribute of the SuggestCommentForm object
|
java.lang.String |
getNameLast()
Gets the nameLast attribute of the SuggestCommentForm object
|
java.lang.String |
getRole()
Gets the role attribute of the SuggestCommentForm object
|
java.lang.String[] |
getRoleValues()
Gets the roleValues attribute of the SuggestCommentForm object
|
java.lang.String |
getShare()
Gets the share attribute of the SuggestCommentForm object
|
protected void |
prtln(java.lang.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,
javax.servlet.http.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(java.lang.String val)
Sets the description attribute of the SuggestCommentForm object
|
void |
setEmail(java.lang.String val)
Sets the email attribute of the SuggestCommentForm object
|
void |
setInstName(java.lang.String val)
Sets the instName attribute of the SuggestCommentForm object
|
void |
setItemID(java.lang.String val)
Sets the itemID attribute of the SuggestCommentForm object
|
void |
setItemTitle(java.lang.String val)
Sets the itemTitle attribute of the SuggestCommentForm object
|
void |
setItemURL(java.lang.String val)
Sets the itemURL attribute of the SuggestCommentForm object
|
void |
setNameFirst(java.lang.String val)
Sets the nameFirst attribute of the SuggestCommentForm object
|
void |
setNameLast(java.lang.String val)
Sets the nameLast attribute of the SuggestCommentForm object
|
void |
setRole(java.lang.String role)
Sets the role attribute of the SuggestCommentForm object
|
void |
setShare(java.lang.String share)
Sets the share attribute of the SuggestCommentForm object
|
java.lang.String |
toString()
Print selected fields of this object for debugging purposes
|
getCoppa, getPopup, setCoppa, setPopup, setSchemaHelper, setVocab
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
reset
in class SuggestForm
mapping
- Description of the Parameterrequest
- Description of the Parameterpublic void clear()
clear
in class SuggestForm
public java.lang.String getItemID()
public void setItemID(java.lang.String val)
val
- The new itemID valuepublic java.lang.String getItemURL()
public void setItemURL(java.lang.String val)
val
- The new itemURL valuepublic java.lang.String getItemTitle()
public void setItemTitle(java.lang.String val)
val
- The new itemTitle valuepublic java.lang.String getDescription()
public void setDescription(java.lang.String val)
val
- The new description valuepublic java.lang.String getRole()
public void setRole(java.lang.String role)
role
- The new role valuepublic java.lang.String[] getRoleValues()
public java.lang.String getShare()
public void setShare(java.lang.String share)
share
- The new share valuepublic java.lang.String getNameFirst()
public void setNameFirst(java.lang.String val)
val
- The new nameFirst valuepublic java.lang.String getNameLast()
public void setNameLast(java.lang.String val)
val
- The new nameLast valuepublic java.lang.String getEmail()
public void setEmail(java.lang.String val)
val
- The new email valuepublic java.lang.String getInstName()
public void setInstName(java.lang.String val)
val
- The new instName valuepublic java.lang.String toString()
toString
in class java.lang.Object
public static void setDebug(boolean db)
db
- The new debug valueprotected final void prtln(java.lang.String s)
s
- The String that will be output.