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

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

Changed the licence
to a funniest one.

File size: 3.6 KB
Line 
1package fr.mael.jiwigo.om;
2
3import java.io.File;
4
5/*
6DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
7        Version 2, December 2004
8
9Copyright (C) 2011 Mael <mael@le-guevel.com>
10
11Everyone is permitted to copy and distribute verbatim or modified
12copies of this license document, and changing it is allowed as long
13as the name is changed.
14
15DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
16TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
17
180. You just DO WHAT THE FUCK YOU WANT TO.
19
20*/
21/**
22 *
23
24 * @author mael
25 *
26 */
27public class Image {
28    private String thumbnailUrl;
29    private String url;
30    private Integer width;
31    private Integer height;
32    private String file;
33    private Integer identifier;
34    private Integer seen;
35    private String name;
36    private Integer idCategory;
37    private String author;
38    private File thumbnail;
39    private String privacyLevel;
40    private File originale;
41
42    /**
43     * @return the privacyLevel
44     */
45    public String getPrivacyLevel() {
46        return privacyLevel;
47    }
48
49    /**
50     * @param privacyLevel the privacyLevel to set
51     */
52    public void setPrivacyLevel(String privacyLevel) {
53        this.privacyLevel = privacyLevel;
54    }
55
56    public Integer getSeen() {
57        return seen;
58    }
59
60    public void setSeen(Integer seen) {
61        this.seen = seen;
62    }
63
64    public String getAuthor() {
65        return author;
66    }
67
68    public void setAuthor(String author) {
69        this.author = author;
70    }
71
72    /**
73     * @return the thumbnail
74     */
75    public File getThumbnail() {
76        return thumbnail;
77    }
78
79    /**
80     * @param thumbnail the thumbnail to set
81     */
82    public void setThumbnail(File thumbnail) {
83        this.thumbnail = thumbnail;
84    }
85
86    /**
87     * @return the originale
88     */
89    public File getOriginale() {
90        return originale;
91    }
92
93    /**
94     * @param originale the originale to set
95     */
96    public void setOriginale(File originale) {
97        this.originale = originale;
98    }
99
100    @Override
101    public String toString() {
102        // TODO Auto-generated method stub
103        return name;
104    }
105
106    public String getThumbnailUrl() {
107        return thumbnailUrl;
108    }
109
110    public void setThumbnailUrl(String thumbnailUrl) {
111        this.thumbnailUrl = thumbnailUrl;
112    }
113
114    /**
115     * @return the url
116     */
117    public String getUrl() {
118        return url;
119    }
120
121    /**
122     * @param url the url to set
123     */
124    public void setUrl(String url) {
125        this.url = url;
126    }
127
128    /**
129     * @return the width
130     */
131    public Integer getWidth() {
132        return width;
133    }
134
135    /**
136     * @param width the width to set
137     */
138    public void setWidth(Integer width) {
139        this.width = width;
140    }
141
142    /**
143     * @return the height
144     */
145    public Integer getHeight() {
146        return height;
147    }
148
149    /**
150     * @param height the height to set
151     */
152    public void setHeight(Integer height) {
153        this.height = height;
154    }
155
156    /**
157     * @return the file
158     */
159    public String getFile() {
160        return file;
161    }
162
163    /**
164     * @param file the file to set
165     */
166    public void setFile(String file) {
167        this.file = file;
168    }
169
170    public Integer getIdentifier() {
171        return identifier;
172    }
173
174    public void setIdentifier(Integer identifier) {
175        this.identifier = identifier;
176    }
177
178    /**
179     * @return the name
180     */
181    public String getName() {
182        return name;
183    }
184
185    /**
186     * @param name the name to set
187     */
188    public void setName(String name) {
189        this.name = name;
190    }
191
192    /**
193     * @return the idCategory
194     */
195    public Integer getIdCategory() {
196        return idCategory;
197    }
198
199    /**
200     * @param idCategory the idCategory to set
201     */
202    public void setIdCategory(Integer idCategory) {
203        this.idCategory = idCategory;
204    }
205
206}
Note: See TracBrowser for help on using the repository browser.