Class SchoolHourModel
java.lang.Object
cz.zcu.fav.kiv.mjakubas.saf.gui.form.nmodel.SchoolHourModel
- All Implemented Interfaces:
IModel<SchoolHour>
Represents a model object of a school hour entity.
-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.StringProperty
Gets school hour entity start hour.javafx.beans.property.StringProperty
Gets school hour entity end hour.javafx.beans.property.IntegerProperty
Gets school hour entity id.javafx.beans.property.StringProperty
Gets school hour entity name. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExports entity from model.void
importEntity
(SchoolHour entity) Imports entity field to model.javafx.beans.property.StringProperty
Gets school hour entity start hour.javafx.beans.property.StringProperty
Gets school hour entity end hour.javafx.beans.property.IntegerProperty
Gets school hour entity id.javafx.beans.property.StringProperty
Gets school hour entity name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cz.zcu.fav.kiv.mjakubas.saf.gui.form.nmodel.IModel
fillAdditionalEntities, makeAdditionalRequests
-
Property Details
-
schoolHourID
public javafx.beans.property.IntegerProperty schoolHourIDPropertyGets school hour entity id. -
schoolHourName
public javafx.beans.property.StringProperty schoolHourNamePropertyGets school hour entity name. -
schoolHourBegin
public javafx.beans.property.StringProperty schoolHourBeginPropertyGets school hour entity start hour. -
schoolHourEnd
public javafx.beans.property.StringProperty schoolHourEndPropertyGets school hour entity end hour.
-
-
Constructor Details
-
SchoolHourModel
public SchoolHourModel()
-
-
Method Details
-
importEntity
Description copied from interface:IModel
Imports entity field to model.- Specified by:
importEntity
in interfaceIModel<SchoolHour>
- Parameters:
entity
- reference entity
-
exportEntity
Description copied from interface:IModel
Exports entity from model.- Specified by:
exportEntity
in interfaceIModel<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.
-