jim.pums.assess.bus
Class AnyProjectMark

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

public class AnyProjectMark
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
AnyProjectMark()
          Creates a new instance of AnyProjectMark
 
Method Summary
 int getAdjustment()
          Getter for property adjustment.
 java.util.Map getCatAvgeMarks()
          Getter for property catAvgeMarks.
 CategoryMap getCategories()
          Getter for property categories.
 CategoryMark getCategories(java.lang.String key)
           
 java.util.List getCatNames()
          Getter for property catNames.
 java.lang.String getComments()
          Getter for property comments.
 java.lang.String getExaminers()
          Getter for property examiners.
 int[] getGrades()
          Getter for property grades.
 java.lang.String[] getGradeStrings()
           
 AssessStudentForm getStudent()
          Getter for property student.
 int getTotalMark()
          Getter for property totalMark.
 boolean isUnfair()
          Getter for property unfair.
 void reset(org.apache.struts.action.ActionMapping actionMapping, javax.servlet.http.HttpServletRequest httpServletRequest)
           
 void setAdjustment(int adjustment)
          Setter for property adjustment.
 void setCategories(CategoryMap categories)
          Setter for property categories.
 void setCategories(java.lang.String key, CategoryMark cat)
           
 void setComments(java.lang.String comments)
          Setter for property comments.
 void setExaminers(java.lang.String examiners)
          Setter for property examiners.
 void setStudent(AssessStudentForm student)
          Setter for property student.
 void setUnfair(boolean unfair)
          Setter for property unfair.
 void setWeights(Category[] cats)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnyProjectMark

public AnyProjectMark()
Creates a new instance of AnyProjectMark

Method Detail

setWeights

public void setWeights(Category[] cats)

getTotalMark

public int getTotalMark()
                 throws java.lang.Exception
Getter for property totalMark.

Returns:
Value of property totalMark.
Throws:
java.lang.Exception

getCatNames

public java.util.List getCatNames()
Getter for property catNames.

Returns:
Value of property catNames.

getCatAvgeMarks

public java.util.Map getCatAvgeMarks()
Getter for property catAvgeMarks.

Returns:
Value of property catAvgeMarks.

getAdjustment

public int getAdjustment()
Getter for property adjustment.

Returns:
Value of property adjustment.

setAdjustment

public void setAdjustment(int adjustment)
Setter for property adjustment.

Parameters:
adjustment - New value of property adjustment.

validate

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

reset

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

getCategories

public CategoryMap getCategories()
Getter for property categories.

Returns:
Value of property categories.

setCategories

public void setCategories(CategoryMap categories)
Setter for property categories.

Parameters:
categories - New value of property categories.

getCategories

public CategoryMark getCategories(java.lang.String key)

setCategories

public void setCategories(java.lang.String key,
                          CategoryMark cat)

getGrades

public int[] getGrades()
Getter for property grades.

Returns:
Value of property grades.

getGradeStrings

public java.lang.String[] getGradeStrings()

getStudent

public AssessStudentForm getStudent()
Getter for property student.

Returns:
Value of property student.

setStudent

public void setStudent(AssessStudentForm student)
Setter for property student.

Parameters:
student - New value of property student.

getComments

public java.lang.String getComments()
Getter for property comments.

Returns:
Value of property comments.

setComments

public void setComments(java.lang.String comments)
Setter for property comments.

Parameters:
comments - New value of property comments.

getExaminers

public java.lang.String getExaminers()
Getter for property examiners.

Returns:
Value of property examiners.

setExaminers

public void setExaminers(java.lang.String examiners)
Setter for property examiners.

Parameters:
examiners - New value of property examiners.

isUnfair

public boolean isUnfair()
Getter for property unfair.

Returns:
Value of property unfair.

setUnfair

public void setUnfair(boolean unfair)
Setter for property unfair.

Parameters:
unfair - New value of property unfair.