Class SchoolHour

java.lang.Object
cz.zcu.fav.kiv.mjakubas.saf.entity.ASimpleEntity
cz.zcu.fav.kiv.mjakubas.saf.entity.SchoolHour

public final class SchoolHour extends ASimpleEntity
Represents a School Hour entity implementation for frontend of school agenda.
  • 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 id
      schoolhourName - school hour name
      schoolhourBegin - school hour begin time
      schoolhourEnd - school hour end time
      scheduleactions - school hour schedule action
      scheduleActionDateEntities - school hour schedule action date
  • Method Details

    • getID

      public int getID()
      Description copied from class: ASimpleEntity
      Gets simple identifier.
      Specified by:
      getID in class ASimpleEntity
      Returns:
      simple identifier
    • getSimpleIdentifier

      public String getSimpleIdentifier()
      Specified by:
      getSimpleIdentifier in class ASimpleEntity
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getIdSchoolhours

      public int getIdSchoolhours()
      Get school hour id.
      Returns:
      school hour id
    • getSchoolhourName

      public String getSchoolhourName()
      Get school hour name.
      Returns:
      school hour name
    • getSchoolhourBegin

      public String getSchoolhourBegin()
      Get school hour begin time.
      Returns:
      school hour begin time
    • getSchoolhourEnd

      public String getSchoolhourEnd()
      Get school hour end time.
      Returns:
      school hour end time
    • getScheduleactions

      public ScheduleAction[] getScheduleactions()
      Get school hour schedule actions.
      Returns:
      school hour schedule actions
    • getScheduleActionDates

      public ScheduleActionDate[] 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

      public void setSchoolhourName(String schoolhourName)
      Set school hour name.
      Parameters:
      schoolhourName - school hour name
    • setSchoolhourBegin

      public void setSchoolhourBegin(String schoolhourBegin)
      Set school hour begin time.
      Parameters:
      schoolhourBegin - school hour begin time
    • setSchoolhourEnd

      public void setSchoolhourEnd(String schoolhourEnd)
      Set school hour end time.
      Parameters:
      schoolhourEnd - school hour end time
    • setScheduleactions

      public void setScheduleactions(ScheduleAction[] scheduleactions)
      Set school hour schedule action.
      Parameters:
      scheduleactions - school hour schedule action
    • setScheduleActionDates

      public void setScheduleActionDates(ScheduleActionDate[] scheduleActionDates)
      Set school hour schedule action date.
      Parameters:
      scheduleActionDates - school hour schedule action date