source: extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/om/Comment.java @ 9387

Last change on this file since 9387 was 9387, checked in by mlg, 13 years ago

First commit for jiwigo-ws-api

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