org.tranche.annotation.struts.form
Class addCVForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.tranche.annotation.struts.form.addCVForm

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

A container for addCV form.

Author:
Shelly Chang - hlchang.shelly@gmail.com

Constructor Summary
addCVForm()
           
 
Method Summary
 java.lang.String getCategory_name()
           
 java.lang.String[] getCVValues()
           
 java.lang.String getError()
           
 java.lang.String getField_name()
           
 void setCategory_name(java.lang.String category_name)
           
 void setCVValues(java.lang.String[] CVValues)
           
 void setError(java.lang.String error)
           
 void setField_name(java.lang.String field_name)
           
 ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
          This is the action called from the Struts framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

addCVForm

public addCVForm()
Method Detail

validate

public ActionErrors validate(ActionMapping mapping,
                             HttpServletRequest request)
This is the action called from the Struts framework.

Parameters:
mapping - The ActionMapping used to select this instance.
request - The HTTP Request we are processing.
Returns:

getCategory_name

public java.lang.String getCategory_name()
Returns:
the category_name

setCategory_name

public void setCategory_name(java.lang.String category_name)
Parameters:
category_name - the category_name to set

getField_name

public java.lang.String getField_name()
Returns:
the field_name

setField_name

public void setField_name(java.lang.String field_name)
Parameters:
field_name - the field_name to set

getError

public java.lang.String getError()
Returns:
the error

setError

public void setError(java.lang.String error)
Parameters:
error - the error to set

getCVValues

public java.lang.String[] getCVValues()
Returns:
the CVValues

setCVValues

public void setCVValues(java.lang.String[] CVValues)
Parameters:
CVValues - the CVValues to set


This code is free for use both commercially and non-commercially as stated in the project's license.