Article.java
1 |
|
2 |
* @author Maarten Vangeneugden - 1438256 |
3 |
*/ |
4 |
public class Article { |
5 |
|
6 |
private int ID; |
7 |
private String title; |
8 |
private String series; |
9 |
private ArticleType type; |
10 |
private String category; |
11 |
private String lendedSince; |
12 |
|
13 |
public Article(int ID, String title, String series, ArticleType type, String category, String lendedSince) { |
14 |
this.ID = ID; |
15 |
this.title = title; |
16 |
this.series = series; |
17 |
this.type = type; |
18 |
this.category = category; |
19 |
this.lendedSince = lendedSince; |
20 |
} |
21 |
|
22 |
public void setID(int ID) { |
23 |
this.ID = ID; |
24 |
} |
25 |
|
26 |
public int getID() { |
27 |
return ID; |
28 |
} |
29 |
|
30 |
public void setTitle(String title) { |
31 |
this.title = title; |
32 |
} |
33 |
|
34 |
public String getTitle() { |
35 |
return title; |
36 |
} |
37 |
|
38 |
public void setSeries(String series) { |
39 |
this.series = series; |
40 |
} |
41 |
|
42 |
public String getSeries() { |
43 |
return series; |
44 |
} |
45 |
|
46 |
public void setType(ArticleType type) { |
47 |
this.type = type; |
48 |
} |
49 |
|
50 |
public ArticleType getType() { |
51 |
return type; |
52 |
} |
53 |
|
54 |
public void setCategory(String category) { |
55 |
this.category = category; |
56 |
} |
57 |
|
58 |
public String getCategory() { |
59 |
return category; |
60 |
} |
61 |
|
62 |
public void setLendedSince(String lendedSince) { |
63 |
this.lendedSince = lendedSince; |
64 |
} |
65 |
|
66 |
public String getLendedSince() { |
67 |
return lendedSince; |
68 |
} |
69 |
} |
70 |