Class ScheduleActionModel

java.lang.Object
cz.zcu.fav.kiv.mjakubas.saf.gui.form.nmodel.ScheduleActionModel
All Implemented Interfaces:
IModel<ScheduleAction>

public class ScheduleActionModel extends Object implements IModel<ScheduleAction>
Represents a model object of a schedule action entity.
  • Property Details

    • scheduleActionID

      public javafx.beans.property.IntegerProperty scheduleActionIDProperty
      Gets schedule action entity id.
    • allRooms

      public javafx.beans.property.ListProperty<Room> allRoomsProperty
      Gets list of all rooms entities.
    • allSubjects

      public javafx.beans.property.ListProperty<Subject> allSubjectsProperty
      Gets list of all subjects entities.
    • allSchoolDays

      public javafx.beans.property.ListProperty<SchoolDay> allSchoolDaysProperty
      Gets list of all school days entities.
    • allSchoolHours

      public javafx.beans.property.ListProperty<SchoolHour> allSchoolHoursProperty
      Gets list of all school hours entities.
    • selectedRoom

      public javafx.beans.property.ObjectProperty<Room> selectedRoomProperty
      Gets selected room entity.
    • selectedSubject

      public javafx.beans.property.ObjectProperty<Subject> selectedSubjectProperty
      Gets selected subject entity.
    • selectedSchoolDay

      public javafx.beans.property.ObjectProperty<SchoolDay> selectedSchoolDayProperty
      Gets selected school day entity.
    • selectedSchoolHour

      public javafx.beans.property.ObjectProperty<SchoolHour> selectedSchoolHourProperty
      Gets selected school hour entity.
  • Constructor Details

    • ScheduleActionModel

      public ScheduleActionModel()
  • Method Details

    • importEntity

      public void importEntity(ScheduleAction entity)
      Description copied from interface: IModel
      Imports entity field to model.
      Specified by:
      importEntity in interface IModel<ScheduleAction>
      Parameters:
      entity - reference entity
    • exportEntity

      public ScheduleAction exportEntity()
      Description copied from interface: IModel
      Exports entity from model.
      Specified by:
      exportEntity in interface IModel<ScheduleAction>
      Returns:
      entity from model
    • fillAdditionalEntities

      public void fillAdditionalEntities() throws FetchException
      Specified by:
      fillAdditionalEntities in interface IModel<ScheduleAction>
      Throws:
      FetchException
    • scheduleActionIDProperty

      public javafx.beans.property.IntegerProperty scheduleActionIDProperty()
      Gets schedule action entity id.
    • allRoomsProperty

      public javafx.beans.property.ListProperty<Room> allRoomsProperty()
      Gets list of all rooms entities.
    • allSubjectsProperty

      public javafx.beans.property.ListProperty<Subject> allSubjectsProperty()
      Gets list of all subjects entities.
    • allSchoolDaysProperty

      public javafx.beans.property.ListProperty<SchoolDay> allSchoolDaysProperty()
      Gets list of all school days entities.
    • allSchoolHoursProperty

      public javafx.beans.property.ListProperty<SchoolHour> allSchoolHoursProperty()
      Gets list of all school hours entities.
    • selectedRoomProperty

      public javafx.beans.property.ObjectProperty<Room> selectedRoomProperty()
      Gets selected room entity.
    • selectedSubjectProperty

      public javafx.beans.property.ObjectProperty<Subject> selectedSubjectProperty()
      Gets selected subject entity.
    • selectedSchoolDayProperty

      public javafx.beans.property.ObjectProperty<SchoolDay> selectedSchoolDayProperty()
      Gets selected school day entity.
    • selectedSchoolHourProperty

      public javafx.beans.property.ObjectProperty<SchoolHour> selectedSchoolHourProperty()
      Gets selected school hour entity.