Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javafx.beans.property.SimpleFloatProperty;
- import javafx.beans.property.SimpleIntegerProperty;
- import javafx.beans.property.SimpleStringProperty;
- public class Klient {
- private SimpleIntegerProperty id;
- private SimpleStringProperty imie;
- private SimpleStringProperty nazwisko;
- private SimpleStringProperty pesel;
- private SimpleStringProperty adres;
- private SimpleFloatProperty stanKonta;
- public Klient() {
- this.id = new SimpleIntegerProperty();
- this.imie = new SimpleStringProperty();
- this.nazwisko = new SimpleStringProperty();
- this.pesel = new SimpleStringProperty();
- this.adres = new SimpleStringProperty();
- this.stanKonta = new SimpleFloatProperty();
- }
- public int getId() {
- return id.get();
- }
- public SimpleIntegerProperty idProperty() {
- return id;
- }
- public void setId(int id) {
- this.id.set(id);
- }
- public String getImie() {
- return imie.get();
- }
- public SimpleStringProperty imieProperty() {
- return imie;
- }
- public void setImie(String imie) {
- this.imie.set(imie);
- }
- public String getNazwisko() {
- return nazwisko.get();
- }
- public SimpleStringProperty nazwiskoProperty() {
- return nazwisko;
- }
- public void setNazwisko(String nazwisko) {
- this.nazwisko.set(nazwisko);
- }
- public String getPesel() {
- return pesel.get();
- }
- public SimpleStringProperty peselProperty() {
- return pesel;
- }
- public void setPesel(String pesel) {
- this.pesel.set(pesel);
- }
- public String getAdres() {
- return adres.get();
- }
- public SimpleStringProperty adresProperty() {
- return adres;
- }
- public void setAdres(String adres) {
- this.adres.set(adres);
- }
- public float getStanKonta() {
- return stanKonta.get();
- }
- public SimpleFloatProperty stanKontaProperty() {
- return stanKonta;
- }
- public void setStanKonta(float stanKonta) {
- this.stanKonta.set(stanKonta);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement