Revision 2faa1a56
Added by Katja Luther over 3 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/cdmLight/CdmLightExportConfigurator.java | ||
---|---|---|
15 | 15 |
import eu.etaxonomy.cdm.io.common.ExportConfiguratorBase; |
16 | 16 |
import eu.etaxonomy.cdm.io.common.ExportResultType; |
17 | 17 |
import eu.etaxonomy.cdm.io.common.mapping.out.IExportTransformer; |
18 |
import eu.etaxonomy.cdm.model.common.Language; |
|
18 | 19 |
import eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto; |
19 | 20 |
|
20 | 21 |
/** |
... | ... | |
49 | 50 |
|
50 | 51 |
private Comparator<TaxonNodeDto> comparator; |
51 | 52 |
|
53 |
|
|
54 |
//metadata /gfbio |
|
55 |
private String description; |
|
56 |
private String creator; |
|
57 |
private String contributor; |
|
58 |
private String title; |
|
59 |
private Language language; |
|
60 |
private String dataSet_landing_page; |
|
61 |
private String dataset_download_link; |
|
62 |
private String base_url; |
|
63 |
private String recommended_citation; |
|
64 |
private String location; |
|
65 |
private String keywords; |
|
66 |
private String licence; |
|
67 |
|
|
52 | 68 |
/** |
53 | 69 |
* @param transformer |
54 | 70 |
*/ |
... | ... | |
105 | 121 |
// TODO Auto-generated method stub |
106 | 122 |
return null; |
107 | 123 |
} |
108 |
@Override |
|
109 |
@SuppressWarnings("unchecked") |
|
110 |
protected void makeIoClassList() { |
|
111 |
ioClassList = new Class[] { |
|
112 |
CdmLightClassificationExport.class |
|
113 |
}; |
|
124 |
/** |
|
125 |
* @return the description |
|
126 |
*/ |
|
127 |
public String getDescription() { |
|
128 |
return description; |
|
129 |
} |
|
130 |
|
|
131 |
|
|
132 |
/** |
|
133 |
* @param description the description to set |
|
134 |
*/ |
|
135 |
public void setDescription(String description) { |
|
136 |
this.description = description; |
|
137 |
} |
|
138 |
|
|
139 |
|
|
140 |
/** |
|
141 |
* @return the creator |
|
142 |
*/ |
|
143 |
public String getCreator() { |
|
144 |
return creator; |
|
145 |
} |
|
146 |
|
|
147 |
|
|
148 |
/** |
|
149 |
* @param creator the creator to set |
|
150 |
*/ |
|
151 |
public void setCreator(String creator) { |
|
152 |
this.creator = creator; |
|
153 |
} |
|
154 |
|
|
155 |
|
|
156 |
public String getContributor() { |
|
157 |
return contributor; |
|
158 |
} |
|
159 |
|
|
160 |
|
|
161 |
public void setContributor(String contributor) { |
|
162 |
this.contributor = contributor; |
|
163 |
} |
|
164 |
|
|
165 |
|
|
166 |
/** |
|
167 |
* @return the title |
|
168 |
*/ |
|
169 |
public String getTitle() { |
|
170 |
return title; |
|
171 |
} |
|
172 |
|
|
173 |
|
|
174 |
/** |
|
175 |
* @param title the title to set |
|
176 |
*/ |
|
177 |
public void setTitle(String title) { |
|
178 |
this.title = title; |
|
179 |
} |
|
180 |
|
|
181 |
|
|
182 |
/** |
|
183 |
* @return the language |
|
184 |
*/ |
|
185 |
public Language getLanguage() { |
|
186 |
return language; |
|
187 |
} |
|
188 |
|
|
189 |
|
|
190 |
/** |
|
191 |
* @param language the language to set |
|
192 |
*/ |
|
193 |
public void setLanguage(Language language) { |
|
194 |
this.language = language; |
|
195 |
} |
|
196 |
|
|
197 |
|
|
198 |
|
|
199 |
|
|
200 |
|
|
201 |
/** |
|
202 |
* @return the dataSet_landing_page |
|
203 |
*/ |
|
204 |
public String getDataSet_landing_page() { |
|
205 |
return dataSet_landing_page; |
|
206 |
} |
|
207 |
|
|
208 |
|
|
209 |
/** |
|
210 |
* @param dataSet_landing_page the dataSet_landing_page to set |
|
211 |
*/ |
|
212 |
public void setDataSet_landing_page(String dataSet_landing_page) { |
|
213 |
this.dataSet_landing_page = dataSet_landing_page; |
|
214 |
} |
|
215 |
|
|
216 |
|
|
217 |
/** |
|
218 |
* @return the dataset_download_link |
|
219 |
*/ |
|
220 |
public String getDataset_download_link() { |
|
221 |
return dataset_download_link; |
|
222 |
} |
|
223 |
|
|
224 |
|
|
225 |
/** |
|
226 |
* @param dataset_download_link the dataset_download_link to set |
|
227 |
*/ |
|
228 |
public void setDataset_download_link(String dataset_download_link) { |
|
229 |
this.dataset_download_link = dataset_download_link; |
|
230 |
} |
|
231 |
|
|
232 |
|
|
233 |
/** |
|
234 |
* @return the base_url |
|
235 |
*/ |
|
236 |
public String getBase_url() { |
|
237 |
return base_url; |
|
238 |
} |
|
239 |
|
|
240 |
|
|
241 |
/** |
|
242 |
* @param base_url the base_url to set |
|
243 |
*/ |
|
244 |
public void setBase_url(String base_url) { |
|
245 |
this.base_url = base_url; |
|
246 |
} |
|
247 |
|
|
248 |
|
|
249 |
/** |
|
250 |
* @return the recommended_citation |
|
251 |
*/ |
|
252 |
public String getRecommended_citation() { |
|
253 |
return recommended_citation; |
|
254 |
} |
|
255 |
|
|
256 |
|
|
257 |
/** |
|
258 |
* @param recommended_citation the recommended_citation to set |
|
259 |
*/ |
|
260 |
public void setRecommended_citation(String recommended_citation) { |
|
261 |
this.recommended_citation = recommended_citation; |
|
262 |
} |
|
263 |
|
|
264 |
|
|
265 |
/** |
|
266 |
* @return the location |
|
267 |
*/ |
|
268 |
public String getLocation() { |
|
269 |
return location; |
|
270 |
} |
|
271 |
|
|
272 |
|
|
273 |
/** |
|
274 |
* @param location the location to set |
|
275 |
*/ |
|
276 |
public void setLocation(String location) { |
|
277 |
this.location = location; |
|
278 |
} |
|
279 |
|
|
280 |
|
|
281 |
/** |
|
282 |
* @return the keywords |
|
283 |
*/ |
|
284 |
public String getKeywords() { |
|
285 |
return keywords; |
|
286 |
} |
|
287 |
|
|
288 |
|
|
289 |
/** |
|
290 |
* @param keywords the keywords to set |
|
291 |
*/ |
|
292 |
public void setKeywords(String keywords) { |
|
293 |
this.keywords = keywords; |
|
294 |
} |
|
295 |
|
|
296 |
|
|
297 |
/** |
|
298 |
* @return the licence |
|
299 |
*/ |
|
300 |
public String getLicence() { |
|
301 |
return licence; |
|
302 |
} |
|
303 |
|
|
304 |
|
|
305 |
/** |
|
306 |
* @param licence the licence to set |
|
307 |
*/ |
|
308 |
public void setLicence(String licence) { |
|
309 |
this.licence = licence; |
|
114 | 310 |
} |
115 | 311 |
|
116 | 312 |
|
... | ... | |
149 | 345 |
this.isFilterImportSources = isFilterImportSources; |
150 | 346 |
} |
151 | 347 |
|
348 |
@Override |
|
349 |
@SuppressWarnings("unchecked") |
|
350 |
protected void makeIoClassList() { |
|
351 |
ioClassList = new Class[] { |
|
352 |
CdmLightClassificationExport.class |
|
353 |
}; |
|
354 |
} |
|
355 |
|
|
152 | 356 |
} |
Also available in: Unified diff
ref #9110: add columns for gfbio in meta data table