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  
37  /**
38   * Package Resource
39   */
40  public class PackageResource
41  {
42      private String _strDescription;
43      private String _strFormat;
44      private String _strMimetype;
45      private String _strUrl;
46      private String _strResourceType;
47      private String _strCreated;
48      private String _strLastModified;
49      private String _strSize;
50      private String _strId;
51      private String _strRevisionId;
52  
53      /**
54       * @return the description
55       */
56      public String getDescription(  )
57      {
58          return _strDescription;
59      }
60  
61      /**
62       * @param description the description to set
63       */
64      public void setDescription( String description )
65      {
66          _strDescription = description;
67      }
68  
69      /**
70       * @return the format
71       */
72      public String getFormat(  )
73      {
74          return _strFormat;
75      }
76  
77      /**
78       * @param format the format to set
79       */
80      public void setFormat( String format )
81      {
82          _strFormat = format;
83      }
84  
85      /**
86       * @return the mimetype
87       */
88      public String getMimetype(  )
89      {
90          return _strMimetype;
91      }
92  
93      /**
94       * @param mimetype the mimetype to set
95       */
96      public void setMimetype( String mimetype )
97      {
98          _strMimetype = mimetype;
99      }
100 
101     /**
102      * @return the url
103      */
104     public String getUrl(  )
105     {
106         return _strUrl;
107     }
108 
109     /**
110      * @param url the url to set
111      */
112     public void setUrl( String url )
113     {
114         _strUrl = url;
115     }
116 
117     /**
118      * @return the resource_type
119      */
120     public String getResource_type(  )
121     {
122         return _strResourceType;
123     }
124 
125     /**
126      * @param resource_type the resource_type to set
127      */
128     public void setResource_type( String resource_type )
129     {
130         _strResourceType = resource_type;
131     }
132 
133     /**
134      * @return the created
135      */
136     public String getCreated(  )
137     {
138         return _strCreated;
139     }
140 
141     /**
142      * @param created the created to set
143      */
144     public void setCreated( String created )
145     {
146         _strCreated = created;
147     }
148 
149     /**
150      * @return the last_modified
151      */
152     public String getLast_modified(  )
153     {
154         return _strLastModified;
155     }
156 
157     /**
158      * @param last_modified the last_modified to set
159      */
160     public void setLast_modified( String last_modified )
161     {
162         _strLastModified = last_modified;
163     }
164 
165     /**
166      * @return the size
167      */
168     public String getSize(  )
169     {
170         return _strSize;
171     }
172 
173     /**
174      * @param size the size to set
175      */
176     public void setSize( String size )
177     {
178         _strSize = size;
179     }
180 
181     /**
182      * @return the revision_id
183      */
184     public String getRevision_id(  )
185     {
186         return _strRevisionId;
187     }
188 
189     /**
190      * @param strRevisionId the revision_id to set
191      */
192     public void setRevision_id( String strRevisionId )
193     {
194         _strRevisionId = strRevisionId;
195     }
196 
197     /**
198      * @return the id
199      */
200     public String getId(  )
201     {
202         return _strId;
203     }
204 
205     /**
206      * @param id the id to set
207      */
208     public void setId( String id )
209     {
210         this._strId = id;
211     }
212 }