Class SchoolHourModel

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

public class SchoolHourModel extends Object implements IModel<SchoolHour>
Represents a model object of a school hour entity.
  • Property Details

    • schoolHourID

      public javafx.beans.property.IntegerProperty schoolHourIDProperty
      Gets school hour entity id.
    • schoolHourName

      public javafx.beans.property.StringProperty schoolHourNameProperty
      Gets school hour entity name.
    • schoolHourBegin

      public javafx.beans.property.StringProperty schoolHourBeginProperty
      Gets school hour entity start hour.
    • schoolHourEnd

      public javafx.beans.property.StringProperty schoolHourEndProperty
      Gets school hour entity end hour.
  • Constructor Details

    • SchoolHourModel

      public SchoolHourModel()
  • Method Details

    • importEntity

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

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

      public javafx.beans.property.IntegerProperty schoolHourIDProperty()
      Gets school hour entity id.
    • schoolHourNameProperty

      public javafx.beans.property.StringProperty schoolHourNameProperty()
      Gets school hour entity name.
    • schoolHourBeginProperty

      public javafx.beans.property.StringProperty schoolHourBeginProperty()
      Gets school hour entity start hour.
    • schoolHourEndProperty

      public javafx.beans.property.StringProperty schoolHourEndProperty()
      Gets school hour entity end hour.