jim.pums.assess.bus
Class CategoryMark

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by jim.pums.assess.bus.CategoryMark
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
CategoryMark(java.lang.String name)
          Creates a new instance of CategoryMark
 
Method Summary
 Category getCat()
          Getter for property cat.
 java.lang.String getDescription()
          Getter for property description.
 java.lang.String getLongname()
          Getter for property longname.
 int getMark()
           
 java.lang.Integer[] getMarks()
           
 java.lang.String getName()
          Getter for property name.
 java.lang.String getShortname()
          Getter for property shortname.
 int getWeight()
          Getter for property weight.
 void setCat(Category cat)
          Setter for property cat.
 void setMarks(java.lang.Integer[] marks)
          Setter for property marks.
 void setName(java.lang.String name)
          Setter for property name.
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping actionMapping, javax.servlet.http.HttpServletRequest httpServletRequest)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryMark

public CategoryMark(java.lang.String name)
Creates a new instance of CategoryMark

Method Detail

getWeight

public int getWeight()
Getter for property weight.

Returns:
Value of property weight.

getMark

public int getMark()
            throws java.lang.Exception
Throws:
java.lang.Exception

setMarks

public void setMarks(java.lang.Integer[] marks)
Setter for property marks.

Parameters:
marks - New value of property marks.

getMarks

public java.lang.Integer[] getMarks()

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping actionMapping,
                                                      javax.servlet.http.HttpServletRequest httpServletRequest)
Overrides:
validate in class org.apache.struts.action.ActionForm

getName

public java.lang.String getName()
Getter for property name.

Returns:
Value of property name.

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.

getCat

public Category getCat()
Getter for property cat.

Returns:
Value of property cat.

setCat

public void setCat(Category cat)
Setter for property cat.

Parameters:
cat - New value of property cat.

getLongname

public java.lang.String getLongname()
Getter for property longname.

Returns:
Value of property longname.

getDescription

public java.lang.String getDescription()
Getter for property description.

Returns:
Value of property description.

getShortname

public java.lang.String getShortname()
Getter for property shortname.

Returns:
Value of property shortname.