Class ScheduleActionDate
java.lang.Object
cz.zcu.fav.kiv.mjakubas.saf.entity.ASimpleEntity
cz.zcu.fav.kiv.mjakubas.saf.entity.ScheduleActionDate
Represents schedule action date entity from a backend of school agenda.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates newScheduleActionDate
.ScheduleActionDate
(int idScheduleactionsdates, String date, String theme, int idScheduleactions, int idTeachers, int idRooms, int idSchooldays, int idSchoolhours, Absence[] absences) Instantiates newScheduleActionDate
with all its attributes. -
Method Summary
Modifier and TypeMethodDescriptionAbsence[]
Get schedule action date absences.getDate()
Get schedule action date date.int
getID()
Gets simple identifier.int
Get schedule action date room id.int
Get schedule action id.int
Get schedule action date id.int
Get schedule action date school day id.int
Get schedule action school hour id.int
Get schedule action teacher id.getRoom()
Get schedule action date room.Get schedule action.Get schedule action date school day.Get schedule action date school hour.Get schedule action date teacher.getTheme()
Get schedule action date theme.void
setAbsences
(Absence[] absences) Set schedule action date absence.void
Set schedule action date date.void
setIdRooms
(int idRooms) Set schedule action date room id.void
setIdScheduleactions
(int idScheduleactions) Set schedule action id.void
setIdScheduleactionsdates
(int idScheduleactionsdates) Set schedule action date id.void
setIdSchooldays
(int idSchooldays) Set schedule action date school day id.void
setIdSchoolhours
(int idSchoolhours) Set schedule action date school hour id.void
setIdTeachers
(int idTeachers) Set schedule action date teacher id.void
Set schedule action date room.void
setScheduleaction
(ScheduleAction scheduleaction) Set schedule action date schedule action.void
setSchoolDay
(SchoolDay schoolDay) Set schedule action date school day.void
setSchoolHour
(SchoolHour schoolHour) Set schedule action date school hour.void
setTeacher
(Teacher teacher) Set schedule action date teacher.void
Set schedule action date theme.toString()
Methods inherited from class cz.zcu.fav.kiv.mjakubas.saf.entity.ASimpleEntity
equals, getIdentifier
-
Constructor Details
-
ScheduleActionDate
public ScheduleActionDate()Instantiates newScheduleActionDate
. -
ScheduleActionDate
public ScheduleActionDate(int idScheduleactionsdates, String date, String theme, int idScheduleactions, int idTeachers, int idRooms, int idSchooldays, int idSchoolhours, Absence[] absences) Instantiates newScheduleActionDate
with all its attributes.- Parameters:
idScheduleactionsdates
- ID ofScheduleActionDate
date
- date ofScheduleActionDate
theme
- theme ofScheduleActionDate
idScheduleactions
- ID ofScheduleAction
ofScheduleActionDate
idTeachers
- ID ofTeacher
ofScheduleActionDate
idRooms
- ID ofRoom
of ofScheduleActionDate
idSchooldays
- ID ofSchoolDay
ofScheduleActionDate
idSchoolhours
- ID ofSchoolHour
ofScheduleActionDate
absences
-Absence
entities ofScheduleActionDate
-
-
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
-
getIdScheduleactionsdates
public int getIdScheduleactionsdates()Get schedule action date id.- Returns:
- schedule action date id
-
getDate
Get schedule action date date.- Returns:
- schedule action date date
-
getTheme
Get schedule action date theme.- Returns:
- schedule action date theme
-
getIdScheduleactions
public int getIdScheduleactions()Get schedule action id.- Returns:
- schedule action id
-
getIdTeachers
public int getIdTeachers()Get schedule action teacher id.- Returns:
- schedule action teacher id
-
getIdRooms
public int getIdRooms()Get schedule action date room id.- Returns:
- schedule action date room id
-
getIdSchooldays
public int getIdSchooldays()Get schedule action date school day id.- Returns:
- schedule action date school day id
-
getIdSchoolhours
public int getIdSchoolhours()Get schedule action school hour id.- Returns:
- schedule action school hour id
-
getAbsences
Get schedule action date absences.- Returns:
- schedule action date absences
-
getTeacher
Get schedule action date teacher.- Returns:
- schedule action date teacher
-
getRoom
Get schedule action date room.- Returns:
- schedule action date room
-
getSchoolDay
Get schedule action date school day.- Returns:
- schedule action date school day
-
getSchoolHour
Get schedule action date school hour.- Returns:
- schedule action date school hour
-
getScheduleaction
Get schedule action.- Returns:
- schedule action
-
setTeacher
Set schedule action date teacher.- Parameters:
teacher
- schedule action date teacher
-
setRoom
Set schedule action date room.- Parameters:
room
- schedule action date room
-
setSchoolDay
Set schedule action date school day.- Parameters:
schoolDay
- schedule action date school day
-
setSchoolHour
Set schedule action date school hour.- Parameters:
schoolHour
- schedule action date school hour
-
setScheduleaction
Set schedule action date schedule action.- Parameters:
scheduleaction
- schedule action date schedule action
-
setIdScheduleactionsdates
public void setIdScheduleactionsdates(int idScheduleactionsdates) Set schedule action date id.- Parameters:
idScheduleactionsdates
- schedule action date id
-
setDate
Set schedule action date date.- Parameters:
date
- schedule action date date
-
setTheme
Set schedule action date theme.- Parameters:
theme
- schedule action date theme
-
setIdScheduleactions
public void setIdScheduleactions(int idScheduleactions) Set schedule action id.- Parameters:
idScheduleactions
- schedule action date id
-
setIdTeachers
public void setIdTeachers(int idTeachers) Set schedule action date teacher id.- Parameters:
idTeachers
- schedule action date teacher id
-
setIdRooms
public void setIdRooms(int idRooms) Set schedule action date room id.- Parameters:
idRooms
- schedule action date room id
-
setIdSchooldays
public void setIdSchooldays(int idSchooldays) Set schedule action date school day id.- Parameters:
idSchooldays
- schedule action date school day id
-
setIdSchoolhours
public void setIdSchoolhours(int idSchoolhours) Set schedule action date school hour id.- Parameters:
idSchoolhours
- schedule action date school hour id
-
setAbsences
Set schedule action date absence.- Parameters:
absences
- schedule action date absence
-