-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathInventoryData.java
More file actions
62 lines (51 loc) · 1.94 KB
/
InventoryData.java
File metadata and controls
62 lines (51 loc) · 1.94 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package upm.cs23.grp1.application;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
public class InventoryData
{
private final StringProperty SKU;
private final StringProperty ItemName;
private final StringProperty WeightVolume;
private final StringProperty Category;
private final StringProperty Brand;
private final StringProperty Quantity;
private final StringProperty Description;
public InventoryData(String SKU, String ItemName, String WeightVolume, String Category, String Brand, String Quantity, String Description)
{
this.SKU = new SimpleStringProperty(SKU);
this.ItemName = new SimpleStringProperty(ItemName);
this.WeightVolume = new SimpleStringProperty(WeightVolume);
this.Category = new SimpleStringProperty(Category);
this.Brand = new SimpleStringProperty(Brand);
this.Quantity = new SimpleStringProperty(Quantity);
this.Description = new SimpleStringProperty(Description);
}
public StringProperty SKUProperty() {return SKU;}
public StringProperty ItemNameProperty() {return ItemName;}
public StringProperty WeightVolumeProperty() {return WeightVolume;}
public StringProperty CategoryProperty() {return Category;}
public StringProperty BrandProperty() {return Brand;}
public StringProperty QuantityProperty() {return Quantity;}
public StringProperty DescriptionProperty() {return Description;}
public String getSKU() {
return SKU.get();
}
public String getItemName() {
return ItemName.get();
}
public String getWeightVolume() {
return WeightVolume.get();
}
public String getCategory() {
return Category.get();
}
public String getBrand() {
return Brand.get();
}
public String getQuantity() {
return Quantity.get();
}
public String getDescription() {
return Description.get();
}
}