|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.muni.fi.pclis.commons.domain.DomainObject
cz.muni.fi.pclis.commons.domain.NamedDomainObject
cz.muni.fi.pclis.domain.peerEvaluation.PeerEvaluationAssignment
public abstract class PeerEvaluationAssignment
Abstract entity representing peer evaluation assignment User: Ľuboš Pecho Date: 29.3.2010 Time: 22:26:44
| Field Summary | |
|---|---|
private Course |
course
Course in which is the assignment assigned |
private boolean |
discreteEvaluation
Flag if the evaluation should contain discrete evaluation |
private Period |
filling
Period when is the evaluation filled |
private boolean |
generateAbsoluteStatisticsPerPeer
Flag if absolute statistic of evaluation grades should be generated |
private boolean |
generateAverageStatisticsPerPeer
Flag if average statistic of evaluation grades should be generated |
private Term |
term
Term in which is the assignment valid |
private boolean |
uploadFile
Flag if the evaluation should contain a file |
private boolean |
writtenComment
Flag if the evaluation should contain written comment |
| Constructor Summary | |
|---|---|
PeerEvaluationAssignment()
|
|
| Method Summary | |
|---|---|
abstract void |
generateEvaluations()
generates evaluations |
abstract SortedMap<? extends Object,Integer> |
getAbsoluteStatistics()
Returns absolute statistics |
abstract SortedMap<? extends Object,Double> |
getAverageStatistics()
Returns average statistics |
Course |
getCourse()
|
Period |
getFilling()
|
Term |
getTerm()
|
abstract SortedSet<? extends PeerEvaluation> |
getViewableEvaluations()
Returns evaluation which are worth viewing |
boolean |
isDiscreteEvaluation()
Returns true if the evaluation should contain discrete evaluation |
boolean |
isGenerateAbsoluteStatisticsPerPeer()
Returns true if absolute statistics should be evaluated |
boolean |
isGenerateAverageStatisticsPerPeer()
Returns true if average statistic should be generated |
boolean |
isInFilling()
Returns true if the evaluation are filled now |
boolean |
isUploadFile()
Returns true if the evaluation should contain uploaded file |
boolean |
isWrittenComment()
Returns true if the evaluation should contain written comment |
abstract boolean |
refersToUser(User user)
Returns true if given user should post some evaluation in the assignment |
void |
setCourse(Course course)
Sets the course |
void |
setDiscreteEvaluation(boolean discreteEvaluation)
Sets if the evaluation should contain discrete evaluation |
void |
setFilling(Period filling)
Sets the filling |
void |
setGenerateAbsoluteStatisticsPerPeer(boolean generateAbsoluteStatisticsPerPeer)
Sets if absolute statistics should be evaluated |
void |
setGenerateAverageStatisticsPerPeer(boolean generateAverageStatisticsPerPeer)
Sets if average statistic should be generated |
void |
setTerm(Term term)
Sets the term |
void |
setUploadFile(boolean uploadFile)
Sets if the evaluation should contain uploaded file |
void |
setWrittenComment(boolean writtenComment)
Sets if the evaluation should contain written comment |
| Methods inherited from class cz.muni.fi.pclis.commons.domain.NamedDomainObject |
|---|
getName, setName |
| 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 |
|---|
private Course course
private Term term
private Period filling
private boolean discreteEvaluation
private boolean writtenComment
private boolean uploadFile
private boolean generateAverageStatisticsPerPeer
private boolean generateAbsoluteStatisticsPerPeer
| Constructor Detail |
|---|
public PeerEvaluationAssignment()
| Method Detail |
|---|
public abstract void generateEvaluations()
public Course getCourse()
public void setCourse(Course course)
course - public Term getTerm()
public void setTerm(Term term)
term - public Period getFilling()
public void setFilling(Period filling)
filling - public boolean isInFilling()
public boolean isDiscreteEvaluation()
public void setDiscreteEvaluation(boolean discreteEvaluation)
discreteEvaluation - public boolean isWrittenComment()
public void setWrittenComment(boolean writtenComment)
writtenComment - public boolean isUploadFile()
public void setUploadFile(boolean uploadFile)
uploadFile - public boolean isGenerateAverageStatisticsPerPeer()
public void setGenerateAverageStatisticsPerPeer(boolean generateAverageStatisticsPerPeer)
generateAverageStatisticsPerPeer - public boolean isGenerateAbsoluteStatisticsPerPeer()
public void setGenerateAbsoluteStatisticsPerPeer(boolean generateAbsoluteStatisticsPerPeer)
generateAbsoluteStatisticsPerPeer - public abstract SortedSet<? extends PeerEvaluation> getViewableEvaluations()
public abstract boolean refersToUser(User user)
user -
public abstract SortedMap<? extends Object,Integer> getAbsoluteStatistics()
public abstract SortedMap<? extends Object,Double> getAverageStatistics()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||