-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCollections.java
More file actions
45 lines (37 loc) · 1.08 KB
/
Copy pathCollections.java
File metadata and controls
45 lines (37 loc) · 1.08 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
public abstract class Collections {
protected String collectionID;
protected String type;
protected String publisher;
protected String title;
protected String genre;
//set defaults
public Collections() {
this.collectionID = "Unknown CollectionID";
this.type = "Unknown Type";
this.title = "Unknown Title";
this.publisher = "Unknown Publisher";
this.genre = "Unknown Genre";
}
//constructors
public Collections(String collectionID, String title, String publisher, String genre, String type) {
this.collectionID = collectionID;
this.title = title;
this.publisher = publisher;
this.genre = genre;
}
public String getCollectionID() {
return this.collectionID;
}
public String getType() {
return this.type;
}
public String getGenre() {
return this.genre;
}
public String getPublisher() {
return this.publisher;
}
public String getTitle() {
return this.title;
}
}