/Users/johnr/Desktop/IA_14_-_Stage_P_Upload_all_2021-04-08/CSIA14829 - Jane April 6th/src/csia14829/Item.java |
1 package csia14829;
2
3
4
5
6
7
8
9
10
11 @author
12
13
14
15 public class Item {
16 private String name = "not set yet";
17 private String itemType = "not set yet";
18 public String date = "not set yet";
19 public boolean claimedStatus;
20
21 public Item(){
22
23 }
24
25 public Item(String name, String itemType, String date, boolean claimedStatus){
26 this.name = name;
27 this.itemType = itemType;
28
29 this.date = date;
30 this.claimedStatus = claimedStatus;
31
32
33 }
34
35 public String getName(){
36 return name;
37 }
38
39 public String getItemType(){
40 return itemType;
41
42 }
43
44 public String getDate(){
45 return date;
46 }
47
48 public boolean getClaimedStatus(){
49 return claimedStatus;
50 }
51
52
53 }
54