|
@@ -1,36 +0,0 @@
|
1
|
|
-public class Item {
|
2
|
|
- private String name;
|
3
|
|
- private int sellIn;
|
4
|
|
- private int quality;
|
5
|
|
-
|
6
|
|
- public Item(String name, int sellIn, int quality) {
|
7
|
|
- super();
|
8
|
|
- this.name = name;
|
9
|
|
- this.sellIn = sellIn;
|
10
|
|
- this.quality = quality;
|
11
|
|
- }
|
12
|
|
-
|
13
|
|
- public String getName() {
|
14
|
|
- return name;
|
15
|
|
- }
|
16
|
|
-
|
17
|
|
- public void setName(String name) {
|
18
|
|
- this.name = name;
|
19
|
|
- }
|
20
|
|
-
|
21
|
|
- public int getSellIn() {
|
22
|
|
- return sellIn;
|
23
|
|
- }
|
24
|
|
-
|
25
|
|
- public void setSellIn(int sellIn) {
|
26
|
|
- this.sellIn = sellIn;
|
27
|
|
- }
|
28
|
|
-
|
29
|
|
- public int getQuality() {
|
30
|
|
- return quality;
|
31
|
|
- }
|
32
|
|
-
|
33
|
|
- public void setQuality(int quality) {
|
34
|
|
- this.quality = quality;
|
35
|
|
- }
|
36
|
|
-}
|