|
||||||||||
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.Term
public class Term
Term entity implementation User: Ľuboš Pecho Date: 6.7.2009 Time: 18:10:57
Field Summary | |
---|---|
private Period |
duration
Period, when the term is actual |
private Period |
exams
Period, when are the exams in this term |
private Period |
registration
Period, when is possible to register courses in this term |
Constructor Summary | |
---|---|
Term()
|
Method Summary | |
---|---|
Period |
getDuration()
|
Period |
getExams()
|
Period |
getRegistration()
|
boolean |
isInDuration(Date date)
Returns true if the term is in duration at given date |
boolean |
isInExams(Date date)
Returns true if the term is in exams period at given date |
boolean |
isInRegistration(Date date)
Returns true if the term is in registration at given date |
void |
setDuration(Period duration)
Sets the duration |
void |
setExams(Period exams)
Sets exams period |
void |
setRegistration(Period registration)
Sets the registration |
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 Period duration
private Period registration
private Period exams
Constructor Detail |
---|
public Term()
Method Detail |
---|
public Period getDuration()
public void setDuration(Period duration)
duration
- public boolean isInDuration(Date date)
date
-
public Period getRegistration()
public void setRegistration(Period registration)
registration
- public boolean isInRegistration(Date date)
date
-
public Period getExams()
public void setExams(Period exams)
exams
- public boolean isInExams(Date date)
date
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |