-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSupplies.java
More file actions
96 lines (84 loc) · 1.49 KB
/
Supplies.java
File metadata and controls
96 lines (84 loc) · 1.49 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
package partymanager;
/**
*
* @author josh
*/
public class Supplies {
private String item;
private int amount;
private String whatsItFor;
// party favor, food, decorations, candy, etc.
private String itemType;
//constructors
public Supplies(){}
/**
*
* @param item
* @param itemType
* @param amount
* @param whatsItFor
*/
public Supplies(String item,String itemType, int amount, String whatsItFor)
{
this.item = item;
this.itemType = itemType;
this.amount = amount;
this.whatsItFor = whatsItFor;
}
/**
*
* @param myItem
*/
public void setItem(String myItem) {
item = myItem;
}
/**
*
* @return
*/
public String getItem() {
return item;
}
/**
*
* @param myAmount
*/
public void setAmount(int myAmount) {
amount = myAmount;
}
/**
*
* @return
*/
public int getAmount() {
return amount;
}
/**
*
* @param myPurpose
*/
public void setWhatsItFor(String myPurpose) {
whatsItFor = myPurpose;
}
/**
*
* @return
*/
public String getWhatsItFor() {
return whatsItFor;
}
/**
*
* @param myType
*/
public void setItemType(String myType) {
itemType = myType;
}
/**
*
* @return
*/
public String getItemType() {
return itemType;
}
}