Class SchoolDay
java.lang.Object
cz.zcu.fav.kiv.mjakubas.saf.entity.ASimpleEntity
cz.zcu.fav.kiv.mjakubas.saf.entity.SchoolDay
Represents a School Day entity implementation for frontend of school agenda.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates newSchoolDay
.SchoolDay
(int idSchooldays, String schooldayName, ScheduleAction[] scheduleactions, ScheduleActionDate[] scheduleactiondates) Instantiates newSchoolDay
with all its attributes. -
Method Summary
Modifier and TypeMethodDescriptionint
getID()
Gets simple identifier.int
Get school day id.Get school day schedule action date.Get school day schedule action.Get school day name.void
setIdSchooldays
(int idSchooldays) Set school day id.void
setScheduleactiondates
(ScheduleActionDate[] scheduleactiondates) Set school day schedule action date.void
setScheduleactions
(ScheduleAction[] scheduleactions) Set school day schedule action.void
setSchooldayName
(String schooldayName) Set school day name.toString()
Methods inherited from class cz.zcu.fav.kiv.mjakubas.saf.entity.ASimpleEntity
equals, getIdentifier
-
Constructor Details
-
SchoolDay
public SchoolDay()Instantiates newSchoolDay
. -
SchoolDay
public SchoolDay(int idSchooldays, String schooldayName, ScheduleAction[] scheduleactions, ScheduleActionDate[] scheduleactiondates) Instantiates newSchoolDay
with all its attributes.- Parameters:
idSchooldays
- ID ofSchoolDay
schooldayName
- name ofSchoolDay
scheduleactions
-ScheduleAction
entities ofSchoolDay
scheduleactiondates
-ScheduleActionDate
entities ofSchoolDay
-
-
Method Details
-
getID
public int getID()Description copied from class:ASimpleEntity
Gets simple identifier.- Specified by:
getID
in classASimpleEntity
- Returns:
- simple identifier
-
getSimpleIdentifier
- Specified by:
getSimpleIdentifier
in classASimpleEntity
-
toString
-
getIdSchooldays
public int getIdSchooldays()Get school day id.- Returns:
- school day id
-
getSchooldayName
Get school day name.- Returns:
- school day name
-
getScheduleactions
Get school day schedule action.- Returns:
- school day schedule action
-
getScheduleactiondates
Get school day schedule action date.- Returns:
- school day schedule action date
-
setIdSchooldays
public void setIdSchooldays(int idSchooldays) Set school day id.- Parameters:
idSchooldays
- school day id
-
setSchooldayName
Set school day name.- Parameters:
schooldayName
- school day name
-
setScheduleactions
Set school day schedule action.- Parameters:
scheduleactions
- school day schedule action
-
setScheduleactiondates
Set school day schedule action date.- Parameters:
scheduleactiondates
- school day schedule action date
-