Class ScheduleAction

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

public final class ScheduleAction extends ASimpleEntity
Represents schedule action entity from a backend of school agenda.
  • 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 id
      idRooms - room id
      idSubjects - subject id
      idSchooldays - school day id
      idSchoolhours - school hour id
  • Method Details

    • getScheduleactiondates

      public ScheduleActionDate[] getScheduleactiondates()
    • 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
    • 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

      public Room getRoom()
      Get schedule action room.
      Returns:
      schedule action room
    • getSubject

      public Subject getSubject()
      Get schedule action subject.
      Returns:
      schedule action subject
    • getSchoolhour

      public SchoolHour getSchoolhour()
      Get schedule action school hour.
      Returns:
      schedule action school hour
    • getSchoolday

      public SchoolDay getSchoolday()
      Get schedule action school day.
      Returns:
      schedule action school day
    • setRoom

      public void setRoom(Room room)
      Set schedule action room.
      Parameters:
      room - schedule action room
    • setSubject

      public void setSubject(Subject subject)
      Set schedule action subject.
      Parameters:
      subject - schedule action subject
    • setSchoolday

      public void setSchoolday(SchoolDay schoolday)
      Set schedule action school day.
      Parameters:
      schoolday - schedule action school day
    • setSchoolhour

      public void setSchoolhour(SchoolHour schoolhour)
      Set schedule action school hour.
      Parameters:
      schoolhour - schedule action school hour
    • setScheduleactiondates

      public void setScheduleactiondates(ScheduleActionDate[] scheduleactiondates)
      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