Class ReviewSubmission

java.lang.Object
one.suhas.rmc.entity.ReviewSubmission
Direct Known Subclasses:
TextReviewSubmission

public class ReviewSubmission extends Object
A class to contain the form data for when a user submits a review. Since HTML forms cannot contain java objects, this is used as an intermediary between the HTML form and the Review entity object.
See Also:
  • Constructor Details

    • ReviewSubmission

      public ReviewSubmission(StarValue hard, StarValue interesting, StarValue homework, StarValue exams, long rmcClassId)
    • ReviewSubmission

      public ReviewSubmission()
  • Method Details

    • getHard

      public StarValue getHard()
    • setHard

      public void setHard(StarValue hard)
    • getInteresting

      public StarValue getInteresting()
    • setInteresting

      public void setInteresting(StarValue interesting)
    • getHomework

      public StarValue getHomework()
    • setHomework

      public void setHomework(StarValue homework)
    • getExams

      public StarValue getExams()
    • setExams

      public void setExams(StarValue exams)
    • getRmcClassId

      public long getRmcClassId()
    • setRmcClassId

      public void setRmcClassId(long rmcClassId)
    • toString

      public String toString()
      Overrides:
      toString in class Object