View Javadoc
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.plugins.document.modules.ckan.business;
35  
36  import java.util.List;
37  
38  
39  /**
40   * PackageShowResult
41   */
42  public class PackageShowResult
43  {
44      private String _strId;
45      private String _strTitle;
46      private String _strName;
47      private String _strAuthor;
48      private String _strAuthorEmail;
49      private String _strState;
50      private String _strVersion;
51      private String _strType;
52      private String _strMaintainer;
53      private boolean _bIsOpen;
54      private String _strUrl;
55      private String _strNotes;
56      private List<PackageResource> _resources;
57      private PackageOrganization _organization;
58      private String _strMetadataCreated;
59      private String _strMetadataModified;
60      private int _nNumResources;
61      private String _strRevisionId;
62      private String _strRevisionTimestamp;
63      private List<PackageTag> _listTags;
64      private int _nNumTags;
65      private String _strLicenseTitle;
66      private String _strLicenseId;
67      private boolean _bPrivate;
68      private String _strFrequency;
69      private List<String> _listGroups;
70      private String _strTemporalCoverageFrom;
71      private String _strTemporalCoverageTo;
72      private String _strTerritorialCoverage;
73      private String _strTerritorialCoverageGranularity;
74      
75  
76      /**
77       * @return the id
78       */
79      public String getId(  )
80      {
81          return _strId;
82      }
83  
84      /**
85       * @param id the id to set
86       */
87      public void setId( String id )
88      {
89          _strId = id;
90      }
91  
92      /**
93       * @return the title
94       */
95      public String getTitle(  )
96      {
97          return _strTitle;
98      }
99  
100     /**
101      * @param title the title to set
102      */
103     public void setTitle( String title )
104     {
105         _strTitle = title;
106     }
107 
108     /**
109      * @return the name
110      */
111     public String getName(  )
112     {
113         return _strName;
114     }
115 
116     /**
117      * @param name the name to set
118      */
119     public void setName( String name )
120     {
121         _strName = name;
122     }
123 
124     /**
125      * @return the author
126      */
127     public String getAuthor(  )
128     {
129         return _strAuthor;
130     }
131 
132     /**
133      * @param author the author to set
134      */
135     public void setAuthor( String author )
136     {
137         _strAuthor = author;
138     }
139 
140     /**
141      * @return the author_email
142      */
143     public String getAuthor_email(  )
144     {
145         return _strAuthorEmail;
146     }
147 
148     /**
149      * @param author_email the author_email to set
150      */
151     public void setAuthor_email( String author_email )
152     {
153         _strAuthorEmail = author_email;
154     }
155 
156     /**
157      * @return the state
158      */
159     public String getState(  )
160     {
161         return _strState;
162     }
163 
164     /**
165      * @param state the state to set
166      */
167     public void setState( String state )
168     {
169         _strState = state;
170     }
171 
172     /**
173      * @return the version
174      */
175     public String getVersion(  )
176     {
177         return _strVersion;
178     }
179 
180     /**
181      * @param version the version to set
182      */
183     public void setVersion( String version )
184     {
185         _strVersion = version;
186     }
187 
188     /**
189      * @return the type
190      */
191     public String getType(  )
192     {
193         return _strType;
194     }
195 
196     /**
197      * @param type the type to set
198      */
199     public void setType( String type )
200     {
201         _strType = type;
202     }
203 
204     /**
205      * @return the maintainer
206      */
207     public String getMaintainer(  )
208     {
209         return _strMaintainer;
210     }
211 
212     /**
213      * @param maintainer the maintainer to set
214      */
215     public void setMaintainer( String maintainer )
216     {
217         _strMaintainer = maintainer;
218     }
219 
220     /**
221      * @return the isopen
222      */
223     public boolean isIsopen(  )
224     {
225         return _bIsOpen;
226     }
227 
228     /**
229      * @param isopen the isopen to set
230      */
231     public void setIsopen( boolean isopen )
232     {
233         _bIsOpen = isopen;
234     }
235 
236     /**
237      * @return the url
238      */
239     public String getUrl(  )
240     {
241         return _strUrl;
242     }
243 
244     /**
245      * @param url the url to set
246      */
247     public void setUrl( String url )
248     {
249         _strUrl = url;
250     }
251 
252     /**
253      * @return the notes
254      */
255     public String getNotes(  )
256     {
257         return _strNotes;
258     }
259 
260     /**
261      * @param notes the notes to set
262      */
263     public void setNotes( String notes )
264     {
265         _strNotes = notes;
266     }
267 
268     /**
269      * @return the resources
270      */
271     public List<PackageResource> getResources(  )
272     {
273         return _resources;
274     }
275 
276     /**
277      * @param resources the resources to set
278      */
279     public void setResources( List<PackageResource> resources )
280     {
281         _resources = resources;
282     }
283 
284     /**
285      * @return the organization
286      */
287     public PackageOrganization getOrganization(  )
288     {
289         return _organization;
290     }
291 
292     /**
293      * @param organization the organization to set
294      */
295     public void setOrganization( PackageOrganization organization )
296     {
297         _organization = organization;
298     }
299 
300     /**
301      * @return the metadata_created
302      */
303     public String getMetadata_created(  )
304     {
305         return _strMetadataCreated;
306     }
307 
308     /**
309      * @param strMetadataCreated the metadata_created to set
310      */
311     public void setMetadata_created( String strMetadataCreated )
312     {
313         _strMetadataCreated = strMetadataCreated;
314     }
315 
316     /**
317      * @return the metadata_modified
318      */
319     public String getMetadata_modified(  )
320     {
321         return _strMetadataModified;
322     }
323 
324     /**
325      * @param strMetadataModified the metadata_modified to set
326      */
327     public void setMetadata_modified( String strMetadataModified )
328     {
329         _strMetadataModified = strMetadataModified;
330     }
331 
332     /**
333      * @return the num_resources
334      */
335     public int getNum_resources(  )
336     {
337         return _nNumResources;
338     }
339 
340     /**
341      * @param nNumResources the num_resources to set
342      */
343     public void setNum_resources( int nNumResources )
344     {
345         _nNumResources = nNumResources;
346     }
347 
348     /**
349      * @return the revision_id
350      */
351     public String getRevision_id(  )
352     {
353         return _strRevisionId;
354     }
355 
356     /**
357      * @param strRevisionId the revision_id to set
358      */
359     public void setRevision_id( String strRevisionId )
360     {
361         _strRevisionId = strRevisionId;
362     }
363 
364     /**
365      * @return the revision_timestamp
366      */
367     public String getRevision_timestamp(  )
368     {
369         return _strRevisionTimestamp;
370     }
371 
372     /**
373      * @param strRevisionTimestamp the revision_timestamp to set
374      */
375     public void setRevision_timestamp( String strRevisionTimestamp )
376     {
377         _strRevisionTimestamp = strRevisionTimestamp;
378     }
379 
380     /**
381      * @return the tags
382      */
383     public List<PackageTag> getTags(  )
384     {
385         return _listTags;
386     }
387 
388     /**
389      * @param tags the tags to set
390      */
391     public void setTags( List<PackageTag> tags )
392     {
393         _listTags = tags;
394     }
395 
396     /**
397      * @return the num_tags
398      */
399     public int getNum_tags(  )
400     {
401         return _nNumTags;
402     }
403 
404     /**
405      * @param nNumTags the num_tags to set
406      */
407     public void setNum_tags( int nNumTags )
408     {
409         _nNumTags = nNumTags;
410     }
411 
412     /**
413      * @return the license_title
414      */
415     public String getLicense_title(  )
416     {
417         return _strLicenseTitle;
418     }
419 
420     /**
421      * @param strLicenseTitle the license_title to set
422      */
423     public void setLicense_title( String strLicenseTitle )
424     {
425         _strLicenseTitle = strLicenseTitle;
426     }
427 
428     /**
429      * @return the license_id
430      */
431     public String getLicense_id(  )
432     {
433         return _strLicenseId;
434     }
435 
436     /**
437      * @param strLicenseId the license_id to set
438      */
439     public void setLicense_id( String strLicenseId )
440     {
441         _strLicenseId = strLicenseId;
442     }
443 
444     /**
445      * @return the _private
446      */
447     public boolean isPrivate(  )
448     {
449         return _bPrivate;
450     }
451 
452     /**
453      * @param bPrivate the _private to set
454      */
455     public void setPrivate( boolean bPrivate )
456     {
457         _bPrivate = bPrivate;
458     }
459     
460     /**
461      * @return the frequency
462      */
463     public String getFrequency(  )
464     {
465         return _strFrequency;
466     }
467 
468     /**
469      * @param strFrequency the frequency to set
470      */
471     public void setFrequency( String strFrequency )
472     {
473         _strFrequency = strFrequency;
474     }
475 
476     /**
477      * @return the groups
478      */
479     public List<String> getGroups(  )
480     {
481         return _listGroups;
482     }
483 
484     /**
485      * @param listGroups the groups to set
486      */
487     public void setGroups( List<String> listGroups )
488     {
489         _listGroups = listGroups;
490     }
491     
492     /**
493      * @return Temporal coverage from 
494      */
495     public String getTemporal_coverage_from(  )
496     {
497         return _strTemporalCoverageFrom;
498     }
499 
500     /**
501      * @param strTemporalCoverageFrom Temporal coverage from
502      */
503     public void setTemporal_coverage_from( String strTemporalCoverageFrom )
504     {
505         _strTemporalCoverageFrom = strTemporalCoverageFrom;
506     }
507     
508     /**
509      * @return Temporal coverage to 
510      */
511     public String getTemporal_coverage_to(  )
512     {
513         return _strTemporalCoverageTo;
514     }
515 
516     /**
517      * @param strTemporalCoverageTo Temporal coverage to
518      */
519     public void setTemporal_coverage_to( String strTemporalCoverageTo )
520     {
521         _strTemporalCoverageTo = strTemporalCoverageTo;
522     }
523     
524     /**
525      * @return the territorial_coverage
526      */
527     public String getTerritorial_coverage(  )
528     {
529         return _strTerritorialCoverage;
530     }
531 
532     /**
533      * @param strTerritorialCoverage the territorial_coverage to set
534      */
535     public void setTerritorial_coverage( String strTerritorialCoverage )
536     {
537         _strTerritorialCoverage = strTerritorialCoverage;
538     }
539     
540     /**
541      * @return the territorial_coverage_granularity
542      */
543     public String getTerritorial_coverage_granularity(  )
544     {
545         return _strTerritorialCoverageGranularity;
546     }
547 
548     /**
549      * @param strTerritorialCoverageGranularity the territorial_coverage_granularity to set
550      */
551     public void setTerritorial_coverage_granularity( String strTerritorialCoverageGranularity )
552     {
553         _strTerritorialCoverageGranularity = strTerritorialCoverageGranularity;
554     }
555     
556 
557 }