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

java.lang.Object
  extended by cz.muni.fi.pclis.commons.domain.DomainObject
      extended by cz.muni.fi.pclis.domain.peerEvaluation.PeerEvaluation
Direct Known Subclasses:
SelfEvaluation, StudentEvaluation, TeamEvaluation

public abstract class PeerEvaluation
extends DomainObject

Entity representing peer evaluation User: Ľuboš Pecho Date: 29.3.2010 Time: 22:47:20


Field Summary
private  String comment
          Comment
private  Integer grade
          Grade
private  UploadedFile uploadedFile
          Uploaded file
 
Constructor Summary
PeerEvaluation()
           
 
Method Summary
abstract  PeerEvaluationAssignment getAssignment()
          Returns assignment to which the evaluation belongs
 String getComment()
           
 Integer getGrade()
           
 UploadedFile getUploadedFile()
           
 boolean isEmpty()
          Returns true if the evaluation is empty
 void setComment(String comment)
          Sets the comment
 void setGrade(Integer grade)
          Sets the grade
 void setUploadedFile(UploadedFile uploadedFile)
          Sets the uploaded file
 
Methods inherited from class cz.muni.fi.pclis.commons.domain.DomainObject
equals, getId, hashCode, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

grade

private Integer grade
Grade


comment

private String comment
Comment


uploadedFile

private UploadedFile uploadedFile
Uploaded file

Constructor Detail

PeerEvaluation

public PeerEvaluation()
Method Detail

getGrade

public Integer getGrade()
Returns:
grade

setGrade

public void setGrade(Integer grade)
Sets the grade

Parameters:
grade -

getComment

public String getComment()
Returns:
comment

setComment

public void setComment(String comment)
Sets the comment

Parameters:
comment -

getUploadedFile

public UploadedFile getUploadedFile()
Returns:
uploaded file

setUploadedFile

public void setUploadedFile(UploadedFile uploadedFile)
Sets the uploaded file

Parameters:
uploadedFile -

isEmpty

public boolean isEmpty()
Returns true if the evaluation is empty

Returns:

getAssignment

public abstract PeerEvaluationAssignment getAssignment()
Returns assignment to which the evaluation belongs

Returns:
assignment


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