1 | package fr.mael.jiwigo.om; |
---|
2 | |
---|
3 | /* |
---|
4 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
---|
5 | Version 2, December 2004 |
---|
6 | |
---|
7 | Copyright (C) 2011 Mael <mael@le-guevel.com> |
---|
8 | |
---|
9 | Everyone is permitted to copy and distribute verbatim or modified |
---|
10 | copies of this license document, and changing it is allowed as long |
---|
11 | as the name is changed. |
---|
12 | |
---|
13 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
---|
14 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
---|
15 | |
---|
16 | 0. You just DO WHAT THE FUCK YOU WANT TO. |
---|
17 | |
---|
18 | */ |
---|
19 | /** |
---|
20 | * |
---|
21 | * @author mael |
---|
22 | * |
---|
23 | */ |
---|
24 | public class Comment { |
---|
25 | private Integer imageId; |
---|
26 | private String author; |
---|
27 | private String content; |
---|
28 | private String key; |
---|
29 | private Integer identifier; |
---|
30 | private String date; |
---|
31 | |
---|
32 | /** |
---|
33 | * @return the imageId |
---|
34 | */ |
---|
35 | public Integer getImageId() { |
---|
36 | return imageId; |
---|
37 | } |
---|
38 | |
---|
39 | /** |
---|
40 | * @param imageId the imageId to set |
---|
41 | */ |
---|
42 | public void setImageId(Integer imageId) { |
---|
43 | this.imageId = imageId; |
---|
44 | } |
---|
45 | |
---|
46 | /** |
---|
47 | * @return the author |
---|
48 | */ |
---|
49 | public String getAuthor() { |
---|
50 | return author; |
---|
51 | } |
---|
52 | |
---|
53 | /** |
---|
54 | * @param author the author to set |
---|
55 | */ |
---|
56 | public void setAuthor(String author) { |
---|
57 | this.author = author; |
---|
58 | } |
---|
59 | |
---|
60 | /** |
---|
61 | * @return the content |
---|
62 | */ |
---|
63 | public String getContent() { |
---|
64 | return content; |
---|
65 | } |
---|
66 | |
---|
67 | /** |
---|
68 | * @param content the content to set |
---|
69 | */ |
---|
70 | public void setContent(String content) { |
---|
71 | this.content = content; |
---|
72 | } |
---|
73 | |
---|
74 | /** |
---|
75 | * @return the key |
---|
76 | */ |
---|
77 | public String getKey() { |
---|
78 | return key; |
---|
79 | } |
---|
80 | |
---|
81 | /** |
---|
82 | * @param key the key to set |
---|
83 | */ |
---|
84 | public void setKey(String key) { |
---|
85 | this.key = key; |
---|
86 | } |
---|
87 | |
---|
88 | public Integer getIdentifier() { |
---|
89 | return identifier; |
---|
90 | } |
---|
91 | |
---|
92 | public void setIdentifier(Integer identifier) { |
---|
93 | this.identifier = identifier; |
---|
94 | } |
---|
95 | |
---|
96 | /** |
---|
97 | * @return the date |
---|
98 | */ |
---|
99 | public String getDate() { |
---|
100 | return date; |
---|
101 | } |
---|
102 | |
---|
103 | /** |
---|
104 | * @param date the date to set |
---|
105 | */ |
---|
106 | public void setDate(String date) { |
---|
107 | this.date = date; |
---|
108 | } |
---|
109 | |
---|
110 | } |
---|