-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExhibition.java
More file actions
44 lines (34 loc) · 815 Bytes
/
Copy pathExhibition.java
File metadata and controls
44 lines (34 loc) · 815 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
33
34
35
36
37
38
39
40
41
42
43
44
import java.util.Date;
/**
* Created by henryhargreaves on 10/11/2015.
*/
public class Exhibition {
private String title;
private Date startDate, endDate;
Museum museum;
static final int MAX_NUMBER_ITEMS = 10;
Item[] items = new Item[MAX_NUMBER_ITEMS];
public Exhibition(String title) {
this.title = title;
// this.endDate = endDate;
// this.startDate = startDate;
}
public void setMuseum(Museum museum) {
this.museum = museum;
}
public String getTitle() {
return title;
}
public Date getStartDate() {
return startDate;
}
public Date getEndDate() {
return endDate;
}
public Museum getMuseum() {
return museum;
}
public Item[] getItems() {
return items;
}
}