Class SchoolHour
java.lang.Object
cz.zcu.fav.kiv.mjakubas.saf.entity.ASimpleEntity
cz.zcu.fav.kiv.mjakubas.saf.entity.SchoolHour
Represents a School Hour entity implementation for frontend of school agenda.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates new empty School Hour entity.SchoolHour
(int idSchoolhours, String schoolhourName, String schoolhourBegin, String schoolhourEnd, ScheduleAction[] scheduleactions, ScheduleActionDate[] scheduleActionDateEntities) Instantiates new School Hour entity with all its fields. -
Method Summary
Modifier and TypeMethodDescriptionint
getID()
Gets simple identifier.int
Get school hour id.Get school hour schedule action dates.Get school hour schedule actions.Get school hour begin time.Get school hour end time.Get school hour name.void
setIdSchoolhours
(int idSchoolhours) Set school hour id.void
setScheduleActionDates
(ScheduleActionDate[] scheduleActionDates) Set school hour schedule action date.void
setScheduleactions
(ScheduleAction[] scheduleactions) Set school hour schedule action.void
setSchoolhourBegin
(String schoolhourBegin) Set school hour begin time.void
setSchoolhourEnd
(String schoolhourEnd) Set school hour end time.void
setSchoolhourName
(String schoolhourName) Set school hour name.toString()
Methods inherited from class cz.zcu.fav.kiv.mjakubas.saf.entity.ASimpleEntity
equals, getIdentifier
-
Constructor Details
-
SchoolHour
public SchoolHour()Instantiates new empty School Hour entity. -
SchoolHour
public SchoolHour(int idSchoolhours, String schoolhourName, String schoolhourBegin, String schoolhourEnd, ScheduleAction[] scheduleactions, ScheduleActionDate[] scheduleActionDateEntities) Instantiates new School Hour entity with all its fields.- Parameters:
idSchoolhours
- school hour idschoolhourName
- school hour nameschoolhourBegin
- school hour begin timeschoolhourEnd
- school hour end timescheduleactions
- school hour schedule actionscheduleActionDateEntities
- school hour schedule action date
-
-
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
-
getIdSchoolhours
public int getIdSchoolhours()Get school hour id.- Returns:
- school hour id
-
getSchoolhourName
Get school hour name.- Returns:
- school hour name
-
getSchoolhourBegin
Get school hour begin time.- Returns:
- school hour begin time
-
getSchoolhourEnd
Get school hour end time.- Returns:
- school hour end time
-
getScheduleactions
Get school hour schedule actions.- Returns:
- school hour schedule actions
-
getScheduleActionDates
Get school hour schedule action dates.- Returns:
- school hour schedule action dates
-
setIdSchoolhours
public void setIdSchoolhours(int idSchoolhours) Set school hour id.- Parameters:
idSchoolhours
- school hour id
-
setSchoolhourName
Set school hour name.- Parameters:
schoolhourName
- school hour name
-
setSchoolhourBegin
Set school hour begin time.- Parameters:
schoolhourBegin
- school hour begin time
-
setSchoolhourEnd
Set school hour end time.- Parameters:
schoolhourEnd
- school hour end time
-
setScheduleactions
Set school hour schedule action.- Parameters:
scheduleactions
- school hour schedule action
-
setScheduleActionDates
Set school hour schedule action date.- Parameters:
scheduleActionDates
- school hour schedule action date
-