|
||||||||||
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.domain.learningContracts.LearningContractsBehaviour
public class LearningContractsBehaviour
Entity representing Learning Contracts Behaviour User: Ľuboš Pecho Date: 9.2.2010 Time: 20:11:51
Field Summary | |
---|---|
private int |
acceptContracts
Count of accepted contracts |
private boolean |
canStudentAddContract
Flag if students can add contract on their own |
private Course |
course
Course for which is this behaviour valid |
private Period |
duration
Period when the contracts can be filled |
private Term |
term
Term in which is the behaviour valid |
private int |
votesPerStudent
Count of votes each student has |
Constructor Summary | |
---|---|
LearningContractsBehaviour()
|
Method Summary | |
---|---|
int |
getAcceptContracts()
|
Course |
getCourse()
|
Period |
getDuration()
|
Term |
getTerm()
|
int |
getVotesPerStudent()
|
boolean |
isCanStudentAddContract()
Returns true if students can add their own contracts |
void |
setAcceptContracts(int acceptContracts)
Serts the acceptContracts count |
void |
setCanStudentAddContract(boolean canStudentAddContract)
Sets wheter students can add their own contracts |
void |
setCourse(Course course)
Sets the course |
void |
setDuration(Period duration)
Sets the duration |
void |
setTerm(Term term)
|
void |
setVotesPerStudent(int votesPerStudent)
Sets the votes per student count |
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 int acceptContracts
private int votesPerStudent
private boolean canStudentAddContract
private Period duration
Constructor Detail |
---|
public LearningContractsBehaviour()
Method Detail |
---|
public Course getCourse()
public void setCourse(Course course)
course
- public Term getTerm()
public void setTerm(Term term)
term
- public int getAcceptContracts()
public void setAcceptContracts(int acceptContracts)
acceptContracts
- public int getVotesPerStudent()
public void setVotesPerStudent(int votesPerStudent)
votesPerStudent
- public Period getDuration()
public void setDuration(Period duration)
duration
- public boolean isCanStudentAddContract()
public void setCanStudentAddContract(boolean canStudentAddContract)
canStudentAddContract
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |