-
Notifications
You must be signed in to change notification settings - Fork 0
/
BookData.java
66 lines (45 loc) · 1.15 KB
/
BookData.java
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
public class BookData implements BookDataInterface {
private final int rank;
private final String genre;
private final String title;
private final String author;
private final double ASPIndex;
private final String volume;
private final String publishYear;
private final String publisherImprint;
public BookData(int rank, String title, String author, String publisherImprint, String volume, double ASPIndex,
String publishYear, String genre) {
this.rank = rank;
this.title = title;
this.author = author;
this.ASPIndex = ASPIndex;
this.volume = volume;
this.publisherImprint = publisherImprint;
this.publishYear = publishYear;
this.genre = genre;
}
public int getRank() {
return rank;
}
public String getTitle() {
return title;
}
public String getGenre() {
return genre;
}
public String getAuthor() {
return author;
}
public String getAmountSold() {
return volume;
}
public double getPriceOfBook() {
return ASPIndex;
}
public String getPublisher() {
return publisherImprint;
}
public String getYearPublished() {
return publishYear;
}
}