Class ScheduleAction
java.lang.Object
cz.zcu.fav.kiv.mjakubas.saf.entity.ASimpleEntity
cz.zcu.fav.kiv.mjakubas.saf.entity.ScheduleAction
Represents schedule action entity from a backend of school agenda.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates new empty Schedule Action.ScheduleAction
(int idScheduleactions, int idRooms, int idSubjects, int idSchooldays, int idSchoolhours) Instantiates new Schedule Action with all its fields. -
Method Summary
Modifier and TypeMethodDescriptionint
getID()
Gets simple identifier.int
Get schedule action room id.int
Get schedule action id.int
Get schedule action school days.int
Get schedule action school hour.int
Get schedule action subject id.getRoom()
Get schedule action room.Get schedule action school day.Get schedule action school hour.Get schedule action subject.void
setIdRooms
(int idRooms) Set schedule action room id.void
setIdScheduleactions
(int idScheduleactions) Set schedule action id.void
setIdSchooldays
(int idSchooldays) Set schedule action school day id.void
setIdSchoolhours
(int idSchoolhours) Set schedule action school hour id.void
setIdSubjects
(int idSubjects) Set schedule action subjects.void
Set schedule action room.void
setScheduleactiondates
(ScheduleActionDate[] scheduleactiondates) Set schedule action date.void
setSchoolday
(SchoolDay schoolday) Set schedule action school day.void
setSchoolhour
(SchoolHour schoolhour) Set schedule action school hour.void
setSubject
(Subject subject) Set schedule action subject.toString()
Methods inherited from class cz.zcu.fav.kiv.mjakubas.saf.entity.ASimpleEntity
equals, getIdentifier
-
Constructor Details
-
ScheduleAction
public ScheduleAction()Instantiates new empty Schedule Action. -
ScheduleAction
public ScheduleAction(int idScheduleactions, int idRooms, int idSubjects, int idSchooldays, int idSchoolhours) Instantiates new Schedule Action with all its fields.- Parameters:
idScheduleactions
- schedule action ididRooms
- room ididSubjects
- subject ididSchooldays
- school day ididSchoolhours
- school hour id
-
-
Method Details
-
getScheduleactiondates
-
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
-
getIdScheduleactions
public int getIdScheduleactions()Get schedule action id.- Returns:
- schedule action id
-
getIdRooms
public int getIdRooms()Get schedule action room id.- Returns:
- schedule action room id
-
getIdSubjects
public int getIdSubjects()Get schedule action subject id.- Returns:
- schedule action subject id
-
getIdSchooldays
public int getIdSchooldays()Get schedule action school days.- Returns:
- schedule action school days
-
getIdSchoolhours
public int getIdSchoolhours()Get schedule action school hour.- Returns:
- schedule action school hour
-
getRoom
Get schedule action room.- Returns:
- schedule action room
-
getSubject
Get schedule action subject.- Returns:
- schedule action subject
-
getSchoolhour
Get schedule action school hour.- Returns:
- schedule action school hour
-
getSchoolday
Get schedule action school day.- Returns:
- schedule action school day
-
setRoom
Set schedule action room.- Parameters:
room
- schedule action room
-
setSubject
Set schedule action subject.- Parameters:
subject
- schedule action subject
-
setSchoolday
Set schedule action school day.- Parameters:
schoolday
- schedule action school day
-
setSchoolhour
Set schedule action school hour.- Parameters:
schoolhour
- schedule action school hour
-
setScheduleactiondates
Set schedule action date.- Parameters:
scheduleactiondates
- schedule action date
-
setIdScheduleactions
public void setIdScheduleactions(int idScheduleactions) Set schedule action id.- Parameters:
idScheduleactions
- schedule action id
-
setIdRooms
public void setIdRooms(int idRooms) Set schedule action room id.- Parameters:
idRooms
- schedule action room id
-
setIdSubjects
public void setIdSubjects(int idSubjects) Set schedule action subjects.- Parameters:
idSubjects
- schedule action subjects
-
setIdSchooldays
public void setIdSchooldays(int idSchooldays) Set schedule action school day id.- Parameters:
idSchooldays
- schedule action school day id
-
setIdSchoolhours
public void setIdSchoolhours(int idSchoolhours) Set schedule action school hour id.- Parameters:
idSchoolhours
- schedule action school hour id
-