Package Items
Class EmployeeRow
java.lang.Object
Items.EmployeeRow
Controller for the Employee List screen.
- Since:
- 2023-03-07
-
Field Summary
Modifier and TypeFieldDescriptionprivate final javafx.beans.property.SimpleObjectProperty<String>
SimpleObjectProperty
ofString
storing the name of the Employeeprivate final javafx.beans.property.SimpleObjectProperty<Integer>
SimpleObjectProperty
ofInteger
storing the pin of the Employeeprivate final javafx.beans.property.SimpleObjectProperty<Long>
SimpleObjectProperty
ofLong
storing the identification number of the Employeeprivate final javafx.beans.property.SimpleObjectProperty<EmployeeRole>
SimpleObjectProperty
ofString
storing the role of the Employee -
Constructor Summary
ConstructorDescriptionEmployeeRow
(long randomID, String employeeName, EmployeeRole role, int employeePin) Constructor -
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.SimpleObjectProperty<String>
getName()
Gets theSimpleObjectProperty
ofemployeeName
javafx.beans.property.SimpleObjectProperty<Integer>
getPIN()
Gets theSimpleObjectProperty
ofemployeePin
javafx.beans.property.SimpleObjectProperty<Long>
Gets theSimpleObjectProperty
ofrandomID
javafx.beans.property.SimpleObjectProperty<EmployeeRole>
getRole()
Gets theSimpleObjectProperty
ofrole
-
Field Details
-
randomID
SimpleObjectProperty
ofLong
storing the identification number of the Employee -
employeeName
SimpleObjectProperty
ofString
storing the name of the Employee -
role
SimpleObjectProperty
ofString
storing the role of the Employee -
employeePin
SimpleObjectProperty
ofInteger
storing the pin of the Employee
-
-
Constructor Details
-
EmployeeRow
Constructor- Parameters:
randomID
- identification number of the employeeemployeeName
- name of the employeerole
- of the employeeemployeePin
- pin of the employee
-
-
Method Details
-
getRandomID
Gets theSimpleObjectProperty
ofrandomID
- Returns:
randomID
-
getName
Gets theSimpleObjectProperty
ofemployeeName
- Returns:
employeeName
-
getRole
Gets theSimpleObjectProperty
ofrole
- Returns:
role
-
getPIN
Gets theSimpleObjectProperty
ofemployeePin
- Returns:
employeePin
-