1 /*
2 * Copyright (c) 2002-2014, Mairie de Paris
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright notice
10 * and the following disclaimer.
11 *
12 * 2. Redistributions in binary form must reproduce the above copyright notice
13 * and the following disclaimer in the documentation and/or other materials
14 * provided with the distribution.
15 *
16 * 3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
17 * contributors may be used to endorse or promote products derived from
18 * this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 * POSSIBILITY OF SUCH DAMAGE.
31 *
32 * License 1.0
33 */
34 package fr.paris.lutece.portal.business.style;
35
36 import java.io.Serializable;
37
38
39 /**
40 * This class represents business objects Mode
41 */
42 public class Theme implements Serializable
43 {
44 public static final String RESOURCE_TYPE = "THEME";
45 private static final long serialVersionUID = -1423380460541137444L;
46 private String _strCodeTheme;
47 private String _strThemeDescription;
48 private String _strPathImages;
49 private String _strPathCss;
50 private String _strPathJs;
51 private String _strThemeAuthor;
52 private String _strThemeAuthorUrl;
53 private String _strThemeVersion;
54 private String _strThemeLicence;
55
56 /**
57 * Returns the _strCodeTheme
58 *
59 * @return the _strCodeTheme
60 */
61 public String getCodeTheme( )
62 {
63 return _strCodeTheme;
64 }
65
66 /**
67 * Sets the _strCodeTheme
68 *
69 * @param strCodeTheme the _strCodeTheme to set
70 */
71 public void setCodeTheme( String strCodeTheme )
72 {
73 _strCodeTheme = strCodeTheme;
74 }
75
76 /**
77 * Returns the _strThemeDescription
78 *
79 * @return the _strThemeDescription
80 */
81 public String getThemeDescription( )
82 {
83 return _strThemeDescription;
84 }
85
86 /**
87 * Sets the _strThemeDescription
88 *
89 * @param strThemeDescription the _strThemeDescription to set
90 */
91 public void setThemeDescription( String strThemeDescription )
92 {
93 _strThemeDescription = strThemeDescription;
94 }
95
96 /**
97 * Returns the _strPathImages
98 *
99 * @return the _strPathImages
100 */
101 public String getPathImages( )
102 {
103 return _strPathImages;
104 }
105
106 /**
107 * Sets the _strPathImages
108 *
109 * @param strPathImages the _strPathImages to set
110 */
111 public void setPathImages( String strPathImages )
112 {
113 _strPathImages = strPathImages;
114 }
115
116 /**
117 * Returns the _strPathCss
118 *
119 * @return the _strPathCss
120 */
121 public String getPathCss( )
122 {
123 return _strPathCss;
124 }
125
126 /**
127 * Sets the _strPathCss
128 *
129 * @param strPathCss the _strPathCss to set
130 */
131 public void setPathCss( String strPathCss )
132 {
133 _strPathCss = strPathCss;
134 }
135
136 /**
137 * Returns the _strPathJs
138 *
139 * @return the _strPathJs
140 */
141 public String getPathJs( )
142 {
143 return _strPathJs;
144 }
145
146 /**
147 * Sets the _strPathJs
148 *
149 * @param strPathJs the _strPathJs to set
150 */
151 public void setPathJs( String strPathJs )
152 {
153 _strPathJs = strPathJs;
154 }
155
156 /**
157 * Returns the _strThemeAuthor
158 *
159 * @return the _strThemeAuthor
160 */
161 public String getThemeAuthor( )
162 {
163 return _strThemeAuthor;
164 }
165
166 /**
167 * Sets the _strThemeAuthor
168 *
169 * @param strThemeAuthor the _strThemeAuthor to set
170 */
171 public void setThemeAuthor( String strThemeAuthor )
172 {
173 _strThemeAuthor = strThemeAuthor;
174 }
175
176 /**
177 * Returns the _strThemeAuthorUrl
178 *
179 * @return the _strThemeAuthorUrl
180 */
181 public String getThemeAuthorUrl( )
182 {
183 return _strThemeAuthorUrl;
184 }
185
186 /**
187 * Sets the _strThemeAuthorUrl
188 *
189 * @param strThemeAuthorUrl the _strThemeAuthorUrl to set
190 */
191 public void setThemeAuthorUrl( String strThemeAuthorUrl )
192 {
193 _strThemeAuthorUrl = strThemeAuthorUrl;
194 }
195
196 /**
197 * Returns the _strThemeVersion
198 *
199 * @return the _strThemeVersion
200 */
201 public String getThemeVersion( )
202 {
203 return _strThemeVersion;
204 }
205
206 /**
207 * Sets the _strThemeVersion
208 *
209 * @param strThemeVersion the _strThemeVersion to set
210 */
211 public void setThemeVersion( String strThemeVersion )
212 {
213 _strThemeVersion = strThemeVersion;
214 }
215
216 /**
217 * Returns the _strThemeLicence
218 *
219 * @return the _strThemeLicence
220 */
221 public String getThemeLicence( )
222 {
223 return _strThemeLicence;
224 }
225
226 /**
227 * Sets the _strThemeLicence
228 *
229 * @param strThemeLicence the _strThemeLicence to set
230 */
231 public void setThemeLicence( String strThemeLicence )
232 {
233 _strThemeLicence = strThemeLicence;
234 }
235 }