forked from wouterla/GildedRose
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathItem.java
More file actions
32 lines (29 loc) · 611 Bytes
/
Copy pathItem.java
File metadata and controls
32 lines (29 loc) · 611 Bytes
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
public class Item {
public String name;
public int sellIn;
public int quality;
public Item(String name, int sellIn, int quality) {
this.setName(name);
this.setSellIn(sellIn);
this.setQuality(quality);
}
/* Generated getter and setter code */
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getSellIn() {
return sellIn;
}
public void setSellIn(int sellIn) {
this.sellIn = sellIn;
}
public int getQuality() {
return quality;
}
public void setQuality(int quality) {
this.quality = quality;
}
}