cz.muni.fi.pclis.domain.peerEvaluation
Class StudentEvaluation

java.lang.Object
  extended by cz.muni.fi.pclis.commons.domain.DomainObject
      extended by cz.muni.fi.pclis.domain.peerEvaluation.PeerEvaluation
          extended by cz.muni.fi.pclis.domain.peerEvaluation.StudentEvaluation

public class StudentEvaluation
extends PeerEvaluation

Entity representing student evaluation User: Ľuboš Pecho Date: 30.3.2010 Time: 0:55:46


Field Summary
private  StudentEvaluationAssignment assignment
          Assignemnt to which the evaluation belongs to
private  User evaluatee
          Evaluated student
private  User evaluator
          Author of the evaluation
 
Constructor Summary
StudentEvaluation()
           
 
Method Summary
 boolean equals(Object o)
           
 StudentEvaluationAssignment getAssignment()
          Returns assignment to which the evaluation belongs
 User getEvaluatee()
           
 User getEvaluator()
           
 int hashCode()
           
 void setAssignment(StudentEvaluationAssignment assignment)
          Sets the assignment
 void setEvaluatee(User evaluatee)
          Sets the evaluatee
 void setEvaluator(User evaluator)
          Sets the evaluator
 
Methods inherited from class cz.muni.fi.pclis.domain.peerEvaluation.PeerEvaluation
getComment, getGrade, getUploadedFile, isEmpty, setComment, setGrade, setUploadedFile
 
Methods inherited from class cz.muni.fi.pclis.commons.domain.DomainObject
getId, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

evaluator

private User evaluator
Author of the evaluation


evaluatee

private User evaluatee
Evaluated student


assignment

private StudentEvaluationAssignment assignment
Assignemnt to which the evaluation belongs to

Constructor Detail

StudentEvaluation

public StudentEvaluation()
Method Detail

getEvaluator

public User getEvaluator()
Returns:
evaluator

setEvaluator

public void setEvaluator(User evaluator)
Sets the evaluator

Parameters:
evaluator -

getEvaluatee

public User getEvaluatee()
Returns:
evaluatee

setEvaluatee

public void setEvaluatee(User evaluatee)
Sets the evaluatee

Parameters:
evaluatee -

getAssignment

public StudentEvaluationAssignment getAssignment()
Description copied from class: PeerEvaluation
Returns assignment to which the evaluation belongs

Specified by:
getAssignment in class PeerEvaluation
Returns:
assignment

setAssignment

public void setAssignment(StudentEvaluationAssignment assignment)
Sets the assignment

Parameters:
assignment -

equals

public boolean equals(Object o)
Overrides:
equals in class DomainObject

hashCode

public int hashCode()
Overrides:
hashCode in class DomainObject


Copyright © 2009-2010 Faculty of Informatics, Masaryk university, Brno. All Rights Reserved.