-
Notifications
You must be signed in to change notification settings - Fork 0
/
customer_order.java
37 lines (24 loc) · 972 Bytes
/
customer_order.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import javafx.beans.property.SimpleStringProperty;
public class customer_order {
private SimpleStringProperty ID,Customer,Brand , Product , Colour;
public customer_order(String id, String customer, String brand , String product , String colour){
this.ID = new SimpleStringProperty(id);
this.Customer = new SimpleStringProperty(customer);
this.Brand = new SimpleStringProperty(brand);
this.Product = new SimpleStringProperty(product);
this.Colour = new SimpleStringProperty(colour);
}
public String getID(){ return ID.get(); } // Getting all the data from the customer about the motorcycle
public String getCustomer (){
return Customer.get();
}
public String getBrand(){
return Brand.get();
}
public String getProduct(){
return Product.get();
}
public String getColour(){
return Colour.get();
}
}