source: extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/om/Comment.java @ 6980

Last change on this file since 6980 was 6980, checked in by mlg, 14 years ago

Translation of the comments
French -> English

File size: 3.1 KB
Line 
1package fr.mael.jiwigo.om;
2
3/**
4 *
5   Copyright (c) 2010, Mael
6   All rights reserved.
7
8   Redistribution and use in source and binary forms, with or without
9   modification, are permitted provided that the following conditions are met:
10    * Redistributions of source code must retain the above copyright
11      notice, this list of conditions and the following disclaimer.
12    * Redistributions in binary form must reproduce the above copyright
13      notice, this list of conditions and the following disclaimer in the
14      documentation and/or other materials provided with the distribution.
15    * Neither the name of jiwigo nor the
16      names of its contributors may be used to endorse or promote products
17      derived from this software without specific prior written permission.
18
19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
20   ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22   DISCLAIMED. IN NO EVENT SHALL Mael BE LIABLE FOR ANY
23   DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26   ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29   
30 * @author mael
31 *
32 */
33public class Comment {
34    private Integer imageId;
35    private String author;
36    private String content;
37    private String key;
38    private Integer identifiant;
39    private String date;
40
41    /**
42     * @return the imageId
43     */
44    public Integer getImageId() {
45        return imageId;
46    }
47
48    /**
49     * @param imageId the imageId to set
50     */
51    public void setImageId(Integer imageId) {
52        this.imageId = imageId;
53    }
54
55    /**
56     * @return the author
57     */
58    public String getAuthor() {
59        return author;
60    }
61
62    /**
63     * @param author the author to set
64     */
65    public void setAuthor(String author) {
66        this.author = author;
67    }
68
69    /**
70     * @return the content
71     */
72    public String getContent() {
73        return content;
74    }
75
76    /**
77     * @param content the content to set
78     */
79    public void setContent(String content) {
80        this.content = content;
81    }
82
83    /**
84     * @return the key
85     */
86    public String getKey() {
87        return key;
88    }
89
90    /**
91     * @param key the key to set
92     */
93    public void setKey(String key) {
94        this.key = key;
95    }
96
97    /**
98     * @return the identifiant
99     */
100    public Integer getIdentifiant() {
101        return identifiant;
102    }
103
104    /**
105     * @param identifiant the identifiant to set
106     */
107    public void setIdentifiant(Integer identifiant) {
108        this.identifiant = identifiant;
109    }
110
111    /**
112     * @return the date
113     */
114    public String getDate() {
115        return date;
116    }
117
118    /**
119     * @param date the date to set
120     */
121    public void setDate(String date) {
122        this.date = date;
123    }
124
125}
Note: See TracBrowser for help on using the repository browser.