Project

General

Profile

Download (23.8 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2009 EDIT
4
* European Distributed Institute of Taxonomy 
5
* http://www.e-taxonomy.eu
6
* 
7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8
* See LICENSE.TXT at the top of this package for the full license terms.
9
*/
10
package eu.etaxonomy.cdm.io.dwca.out;
11

    
12
import java.io.PrintWriter;
13
import java.net.URISyntaxException;
14
import java.util.Set;
15
import java.util.UUID;
16

    
17
import org.apache.log4j.Logger;
18
import org.joda.time.DateTime;
19

    
20
import eu.etaxonomy.cdm.model.common.Language;
21
import eu.etaxonomy.cdm.model.media.Rights;
22
import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
23
import eu.etaxonomy.cdm.model.name.NomenclaturalStatusType;
24
import eu.etaxonomy.cdm.model.name.Rank;
25
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
26
import eu.etaxonomy.cdm.model.taxon.Classification;
27

    
28
/**
29
 * @author a.mueller
30
 * @date 18.04.2011
31
 *
32
 */
33
public class DwcaTaxRecord extends DwcaRecordBase{
34
	@SuppressWarnings("unused")
35
	private static final Logger logger = Logger.getLogger(DwcaTaxRecord.class);
36

    
37
	private DwcaId scientificNameId;
38
	private UUID acceptedNameUsageId;
39
	private UUID parentNameUsageId;
40
	private UUID originalNameUsageId;
41
	private UUID nameAccordingToId;
42
	private UUID namePublishedInId;
43
	private UUID taxonConceptId;
44
	private String scientificName;
45
	private String acceptedNameUsage;
46
	private String parentNameUsage;
47
	private String originalNameUsage;
48
	private String nameAccordingTo;
49
	private String namePublishedIn;
50
	private String higherClassification;
51
	
52
	
53
	private String kingdom;
54
	private String phylum;
55
	private String clazz;
56
	private String order;
57
	private String family;
58
	private String genus;
59
	private String subgenus;
60
	private String uninomial;
61
	private String genusPart;
62
	private String infraGenericEpithet;
63
	private String specificEpithet;
64
	private String infraspecificEpithet;
65
	
66

    
67

    
68
	private Rank taxonRank;
69
	private String verbatimTaxonRank;
70
	private String scientificNameAuthorship;
71
	private String vernacularName;
72
	private NomenclaturalCode nomenclaturalCode;
73
	private String taxonomicStatus;
74
	private NomenclaturalStatusType nomenclaturalStatus;
75
	private String taxonRemarks;
76
	private DateTime modified;
77
	private Language language;
78
	private Set<Rights> rights;
79
	private String rightsHolder;
80
	private String accessRights;
81
	private String bibliographicCitation;
82
	private String informationWithheld;
83
	private DwcaId datasetId;
84
	private String datasetName;
85
	private String source;
86

    
87
	
88
	public DwcaTaxRecord(DwcaMetaDataRecord metaDataRecord, DwcaTaxExportConfigurator config){
89
		super(metaDataRecord, config);
90
		scientificNameId = new DwcaId(config);
91
		datasetId = new DwcaId(config);
92
	}
93

    
94
	/* (non-Javadoc)
95
	 * @see eu.etaxonomy.cdm.io.dwca.out.DwcaRecordBase#registerKnownFields()
96
	 */
97
	protected void registerKnownFields(){
98
		try {
99
			addKnownField(TermUris.DWC_SCIENTIFIC_NAME_ID);
100
			addKnownField(TermUris.DWC_ACCEPTED_NAME_USAGE_ID);
101
			addKnownField(TermUris.DWC_PARENT_NAME_USAGE_ID);
102
			addKnownField(TermUris.DWC_ORIGINAL_NAME_USAGE_ID);
103
			addKnownField(TermUris.DWC_NAME_ACCORDING_TO_ID);
104
			addKnownField(TermUris.DWC_NAME_PUBLISHED_IN_ID);
105
			addKnownField(TermUris.DWC_TAXON_CONCEPT_ID);
106
			addKnownField(TermUris.DWC_SCIENTIFIC_NAME);
107
			addKnownField(TermUris.DWC_ACCEPTED_NAME_USAGE);
108
			addKnownField(TermUris.DWC_PARENT_NAME_USAGE);
109
			addKnownField(TermUris.DWC_NAME_ACCORDING_TO);
110
			addKnownField(TermUris.DWC_ORIGINAL_NAME_USAGE);
111
			addKnownField(TermUris.DWC_NAME_PUBLISHED_IN);
112
			addKnownField(TermUris.DWC_HIGHER_CLASSIFICATION);
113
			addKnownField(TermUris.DWC_KINGDOM);
114
			addKnownField(TermUris.DWC_PHYLUM);
115
			addKnownField(TermUris.DWC_CLASS);
116
			addKnownField(TermUris.DWC_ORDER);
117
			addKnownField(TermUris.DWC_FAMILY);
118
			addKnownField(TermUris.DWC_GENUS);
119
			addKnownField(TermUris.DWC_SUBGENUS);
120
			addKnownField(TermUris.DWC_SPECIFIC_EPI);
121
			addKnownField(TermUris.DWC_INFRA_SPECIFIC_EPI);
122
			addKnownField(TermUris.DWC_TAXON_RANK);
123
			addKnownField(TermUris.DWC_VERBATIM_TAXON_RANK);
124
			addKnownField(TermUris.DWC_SCIENTIFIC_NAME_AUTHORS);
125
			addKnownField(TermUris.DWC_VERNACULAR_NAME);
126
			addKnownField(TermUris.DWC_NOMENCLATURAL_CODE);
127
			addKnownField(TermUris.DWC_TAXONOMIC_STATUS);
128
			addKnownField(TermUris.DWC_NOMENCLATURAL_STATUS);
129
			addKnownField(TermUris.DWC_TAXON_REMARKS);
130
			addKnownField(TermUris.DC_MODIFIED);
131
			addKnownField(TermUris.DC_LANGUAGE);
132
			addKnownField(TermUris.DC_RIGHTS);
133
			addKnownField(TermUris.DC_RIGHTS_HOLDER);
134
			addKnownField(TermUris.DC_ACCESS_RIGHTS);
135
			addKnownField(TermUris.DC_BIBLIOGRAPHIC_CITATION);
136
			addKnownField(TermUris.DWC_INFORMATION_WITHHELD);
137
			addKnownField(TermUris.DWC_DATASET_NAME);
138
			addKnownField(TermUris.DC_SOURCE);
139

    
140
		} catch (URISyntaxException e) {
141
			throw new RuntimeException(e);
142
		}
143
	}
144
	
145
	
146
//	/* (non-Javadoc)
147
//	 * @see eu.etaxonomy.cdm.io.dwca.out.DwcaRecordBase#registerKnownFields()
148
//	 */
149
//	protected void registerKnownFields(){
150
//		try {
151
//			addKnownField("scientificNameID", "http://rs.tdwg.org/dwc/terms/scientificNameID");
152
//			addKnownField("acceptedNameUsageID", "http://rs.tdwg.org/dwc/terms/acceptedNameUsageID");
153
//			addKnownField("parentNameUsageID", "http://rs.tdwg.org/dwc/terms/parentNameUsageID");
154
//			addKnownField("originalNameUsageID", "http://rs.tdwg.org/dwc/terms/originalNameUsageID");
155
//			addKnownField("nameAccordingToID", "http://rs.tdwg.org/dwc/terms/nameAccordingToID");
156
//			addKnownField("namePublishedInID", "http://rs.tdwg.org/dwc/terms/namePublishedInID");
157
//			addKnownField("taxonConceptID", "http://rs.tdwg.org/dwc/terms/taxonConceptID");
158
//			addKnownField("scientificName", "http://rs.tdwg.org/dwc/terms/scientificName");
159
//			addKnownField("acceptedNameUsage", "http://rs.tdwg.org/dwc/terms/acceptedNameUsage");
160
//			addKnownField("parentNameUsage", "http://rs.tdwg.org/dwc/terms/parentNameUsage");
161
//			addKnownField("nameAccordingTo", "http://rs.tdwg.org/dwc/terms/nameAccordingTo");
162
//			addKnownField("originalNameUsage", "http://rs.tdwg.org/dwc/terms/originalNameUsage");
163
//			addKnownField("namePublishedIn", "http://rs.tdwg.org/dwc/terms/namePublishedIn");
164
//			addKnownField("higherClassification", "http://rs.tdwg.org/dwc/terms/higherClassification");
165
//			addKnownField("kingdom", "http://rs.tdwg.org/dwc/terms/kingdom");
166
//			addKnownField("phylum", "http://rs.tdwg.org/dwc/terms/phylum");
167
//			addKnownField("class", "http://rs.tdwg.org/dwc/terms/class");
168
//			addKnownField("order", "http://rs.tdwg.org/dwc/terms/order");
169
//			addKnownField("family", "http://rs.tdwg.org/dwc/terms/family");
170
//			addKnownField("genus", "http://rs.tdwg.org/dwc/terms/genus");
171
//			addKnownField("subgenus", "http://rs.tdwg.org/dwc/terms/subgenus");
172
//			addKnownField("specificEpithet", "http://rs.tdwg.org/dwc/terms/specificEpithet");
173
//			addKnownField("infraspecificEpithet", "http://rs.tdwg.org/dwc/terms/infraspecificEpithet");
174
//			addKnownField("taxonRank", "http://rs.tdwg.org/dwc/terms/taxonRank");
175
//			addKnownField("verbatimTaxonRank", "http://rs.tdwg.org/dwc/terms/verbatimTaxonRank");
176
//			addKnownField("scientificNameAuthorship", "http://rs.tdwg.org/dwc/terms/scientificNameAuthorship");
177
//			addKnownField("vernacularName", "http://rs.tdwg.org/dwc/terms/vernacularName");
178
//			addKnownField("nomenclaturalCode", "http://rs.tdwg.org/dwc/terms/nomenclaturalCode");
179
//			addKnownField("taxonomicStatus", "http://rs.tdwg.org/dwc/terms/taxonomicStatus");
180
//			addKnownField("nomenclaturalStatus", "http://rs.tdwg.org/dwc/terms/nomenclaturalStatus");
181
//			addKnownField("taxonRemarks", "http://rs.tdwg.org/dwc/terms/taxonRemarks");
182
//			addKnownField("modified", "http://purl.org/dc/terms/modified");
183
//			addKnownField("language", "http://purl.org/dc/terms/language");
184
//			addKnownField("rights", "http://purl.org/dc/terms/rights");
185
//			addKnownField("rightsHolder", "http://purl.org/dc/terms/rightsHolder");
186
//			addKnownField("accessRights", "http://purl.org/dc/terms/accessRights");
187
//			addKnownField("bibliographicCitation", "http://purl.org/dc/terms/bibliographicCitation");
188
//			addKnownField("informationWithheld", "http://rs.tdwg.org/dwc/terms/informationWithheld");
189
//			addKnownField("datasetName", "http://rs.tdwg.org/dwc/terms/datasetName");
190
//			addKnownField("datasetID", "http://rs.tdwg.org/dwc/terms/datasetID");
191
//			addKnownField("source", "http://purl.org/dc/terms/source");
192
//
193
//		} catch (URISyntaxException e) {
194
//			throw new RuntimeException(e);
195
//		}
196
//	}
197

    
198

    
199
//	@Override
200
//	public List<String> getHeaderList() {
201
//		String[] result = new String[]{
202
//				"id", 
203
//				"scientificNameId",
204
//				"acceptedNameUsageId",
205
//				"parentNameUsageId", 
206
//				"originalNameUsageId", 
207
//				"nameAccordingToId", 
208
//				"namePublishedInId",
209
//				"taxonConceptId",
210
//				"scientificName",
211
//				"acceptedNameUsage", 
212
//				"parentNameUsage", 
213
//				"originalNameUsage", 
214
//				"nameAccordingTo",
215
//				"namePublishedIn",
216
//				"higherClassification",
217
//				
218
//				"kingdom",
219
//				"phylum",
220
//				"clazz",
221
//				"order", 
222
//				"family", 
223
//				"genus", 
224
//				"subgenus",
225
//				"specificEpithet",
226
//				"infraspecificEpithet",
227
//				
228
//				"taxonRank", 
229
//				"verbatimTaxonRank",
230
//				"scientificNameAuthorship",
231
//				"vernacularName", 
232
//				"nomenclaturalCode", 
233
//				"taxonomicStatus", 
234
//				"nomenclaturalStatus",
235
//				"taxonRemarks",
236
//				"modified",
237
//				"language", 
238
//				"rights", 
239
//				"rightsHolder", 
240
//				"accessRights",
241
//				"bibliographicCitation",
242
//				"informationWithheld",
243
//				"datasetId",
244
//				"datasetName",
245
//				"source"
246
//		};
247
//		return Arrays.asList(result);
248
//	}
249
	
250
	
251
//	public void write(PrintWriter writer) {
252
//		print(id, writer, IS_FIRST, null);
253
//		print(scientificNameId, writer, IS_NOT_FIRST, "scientificNameID");
254
//		print(acceptedNameUsageId, writer, IS_NOT_FIRST, "acceptedNameUsageId");
255
//		print(parentNameUsageId, writer, IS_NOT_FIRST, "parentNameUsageId");
256
//		print(originalNameUsageId, writer, IS_NOT_FIRST, "originalNameUsageId");
257
//		print(nameAccordingToId, writer, IS_NOT_FIRST, "nameAccordingToId");
258
//		print(namePublishedInId, writer, IS_NOT_FIRST, "namePublishedInId");
259
//		print(taxonConceptId, writer, IS_NOT_FIRST, "taxonConceptId");
260
//		print(scientificName, writer, IS_NOT_FIRST, "scientificName");
261
//		print(acceptedNameUsage, writer, IS_NOT_FIRST, "acceptedNameUsage");
262
//		print(parentNameUsage, writer, IS_NOT_FIRST, "parentNameUsage");
263
//		print(originalNameUsage, writer, IS_NOT_FIRST, "originalNameUsage");
264
//		print(nameAccordingTo, writer, IS_NOT_FIRST, "nameAccordingTo");
265
//		print(namePublishedIn, writer, IS_NOT_FIRST, "namePublishedIn");
266
//		print(higherClassification, writer, IS_NOT_FIRST, "higherClassification");
267
//		
268
//		print(kingdom, writer, IS_NOT_FIRST, "kingdom");
269
//		print(phylum, writer, IS_NOT_FIRST, "phylum");
270
//		print(clazz, writer, IS_NOT_FIRST, "clazz");
271
//		print(order, writer, IS_NOT_FIRST, "order");
272
//		print(family, writer, IS_NOT_FIRST, "family");
273
//		print(genus, writer, IS_NOT_FIRST, "genus");
274
//		print(subgenus, writer, IS_NOT_FIRST, "subgenus");
275
//		print(specificEpithet, writer, IS_NOT_FIRST, "specificEpithet");
276
//		print(infraspecificEpithet, writer, IS_NOT_FIRST, "infraspecificEpithet");
277
//		
278
//		print(getRank(taxonRank), writer, IS_NOT_FIRST, "taxonRank");
279
//		print(verbatimTaxonRank, writer, IS_NOT_FIRST, "verbatimTaxonRank");
280
//		print(scientificNameAuthorship, writer, IS_NOT_FIRST, "scientificNameAuthorship");
281
//		print(vernacularName, writer, IS_NOT_FIRST, "vernacularName");
282
//		print(getNomCode(nomenclaturalCode), writer, IS_NOT_FIRST, "nomenclaturalCode");
283
//		print(taxonomicStatus, writer, IS_NOT_FIRST, "taxonomicStatus");
284
//		print(getNomStatus(nomenclaturalStatus), writer, IS_NOT_FIRST, "nomenclaturalStatus");
285
//		print(taxonRemarks, writer, IS_NOT_FIRST, "taxonRemarks");
286
//		print(getDate(modified), writer, IS_NOT_FIRST, "modified");
287
//		print(language, writer, IS_NOT_FIRST, "language");
288
//		print(rights, writer, IS_NOT_FIRST, "rights");
289
//		print(rightsHolder, writer, IS_NOT_FIRST, "rightsHolder");
290
//		print(accessRights, writer, IS_NOT_FIRST, "accessRights");
291
//		print(bibliographicCitation, writer, IS_NOT_FIRST, "bibliographicCitation");
292
//		print(informationWithheld, writer, IS_NOT_FIRST, "informationWithheld");
293
//		print(datasetId, writer, IS_NOT_FIRST, "datasetId");
294
//		print(datasetName, writer, IS_NOT_FIRST, "datasetName");
295
//		print(source, writer, IS_NOT_FIRST, "source");
296
//		writer.println();
297
//	}
298

    
299
	public void write(PrintWriter writer) {
300
		printId(getUuid(), writer, IS_FIRST, "id");
301
		print(scientificNameId, writer, IS_NOT_FIRST, TermUris.DWC_SCIENTIFIC_NAME_ID);
302
		print(acceptedNameUsageId, writer, IS_NOT_FIRST, TermUris.DWC_ACCEPTED_NAME_USAGE_ID);
303
		print(parentNameUsageId, writer, IS_NOT_FIRST, TermUris.DWC_PARENT_NAME_USAGE_ID);
304
		print(originalNameUsageId, writer, IS_NOT_FIRST, TermUris.DWC_ORIGINAL_NAME_USAGE_ID);
305
		print(nameAccordingToId, writer, IS_NOT_FIRST, TermUris.DWC_NAME_ACCORDING_TO_ID);
306
		print(namePublishedInId, writer, IS_NOT_FIRST, TermUris.DWC_NAME_PUBLISHED_IN_ID);
307
		print(taxonConceptId, writer, IS_NOT_FIRST, TermUris.DWC_TAXON_CONCEPT_ID);
308
		print(scientificName, writer, IS_NOT_FIRST, TermUris.DWC_SCIENTIFIC_NAME);
309
		print(acceptedNameUsage, writer, IS_NOT_FIRST, TermUris.DWC_ACCEPTED_NAME_USAGE_ID);
310
		print(parentNameUsage, writer, IS_NOT_FIRST, TermUris.DWC_PARENT_NAME_USAGE);
311
		print(originalNameUsage, writer, IS_NOT_FIRST, TermUris.DWC_ORIGINAL_NAME_USAGE);
312
		print(nameAccordingTo, writer, IS_NOT_FIRST, TermUris.DWC_NAME_ACCORDING_TO);
313
		print(namePublishedIn, writer, IS_NOT_FIRST, TermUris.DWC_NAME_PUBLISHED_IN);
314
		
315
		if (config.isWithHigherClassification()){
316
			print(higherClassification, writer, IS_NOT_FIRST, TermUris.DWC_HIGHER_CLASSIFICATION);
317
			print(kingdom, writer, IS_NOT_FIRST, TermUris.DWC_KINGDOM);
318
			print(phylum, writer, IS_NOT_FIRST, TermUris.DWC_PHYLUM);
319
			print(clazz, writer, IS_NOT_FIRST, TermUris.DWC_CLASS);
320
			print(order, writer, IS_NOT_FIRST, TermUris.DWC_ORDER);
321
			print(family, writer, IS_NOT_FIRST, TermUris.DWC_FAMILY);
322
			print(genus, writer, IS_NOT_FIRST, TermUris.DWC_GENUS);
323
			print(subgenus, writer, IS_NOT_FIRST, TermUris.DWC_SUBGENUS);
324
		}
325
		print(uninomial, writer, IS_NOT_FIRST, TermUris.TDWG_UNINOMIAL);
326
		print(genusPart, writer, IS_NOT_FIRST, TermUris.TDWG_GENUSPART);
327
		print(infraGenericEpithet, writer, IS_NOT_FIRST, TermUris.TDWG_INFRAGENERICEPITHET);
328
		
329
		print(specificEpithet, writer, IS_NOT_FIRST, TermUris.DWC_SPECIFIC_EPI);
330
		print(infraspecificEpithet, writer, IS_NOT_FIRST, TermUris.DWC_INFRA_SPECIFIC_EPI);
331
		
332
		print(getRank(taxonRank), writer, IS_NOT_FIRST, TermUris.DWC_TAXON_RANK);
333
		print(verbatimTaxonRank, writer, IS_NOT_FIRST, TermUris.DWC_VERBATIM_TAXON_RANK);
334
		print(scientificNameAuthorship, writer, IS_NOT_FIRST, TermUris.DWC_SCIENTIFIC_NAME_AUTHORS);
335
		print(vernacularName, writer, IS_NOT_FIRST, TermUris.DWC_VERNACULAR_NAME);
336
		print(getNomCode(nomenclaturalCode), writer, IS_NOT_FIRST, TermUris.DWC_NOMENCLATURAL_CODE);
337
		print(taxonomicStatus, writer, IS_NOT_FIRST, TermUris.DWC_TAXONOMIC_STATUS);
338
		print(getNomStatus(nomenclaturalStatus), writer, IS_NOT_FIRST, TermUris.DWC_NOMENCLATURAL_STATUS);
339
		print(taxonRemarks, writer, IS_NOT_FIRST, TermUris.DWC_TAXON_REMARKS);
340
		print(getDate(modified), writer, IS_NOT_FIRST, TermUris.DC_MODIFIED);
341
		print(language, writer, IS_NOT_FIRST, TermUris.DC_LANGUAGE);
342
		print(rights, writer, IS_NOT_FIRST, TermUris.DC_RIGHTS);
343
		print(rightsHolder, writer, IS_NOT_FIRST, TermUris.DC_RIGHTS_HOLDER);
344
		print(accessRights, writer, IS_NOT_FIRST, TermUris.DC_ACCESS_RIGHTS);
345
		print(bibliographicCitation, writer, IS_NOT_FIRST, TermUris.DC_BIBLIOGRAPHIC_CITATION, config.getDefaultBibliographicCitation());
346
		print(informationWithheld, writer, IS_NOT_FIRST, TermUris.DWC_INFORMATION_WITHHELD);
347
		print(datasetId, writer, IS_NOT_FIRST, TermUris.DWC_DATASET_ID);
348
		print(datasetName, writer, IS_NOT_FIRST, TermUris.DWC_DATASET_NAME);
349
		print(source, writer, IS_NOT_FIRST, TermUris.DC_SOURCE);
350
		writer.println();
351
	}
352

    
353
	public String getScientificNameId() {
354
		return scientificNameId.getId();
355
	}
356
	public void setScientificNameId(TaxonNameBase<?, ?> scientificNameId) {
357
		this.scientificNameId.setId(scientificNameId);
358
	}
359
	
360
	public UUID getAcceptedNameUsageId() {
361
		return acceptedNameUsageId;
362
	}
363
	public void setAcceptedNameUsageId(UUID acceptedNameUsageId) {
364
		this.acceptedNameUsageId = acceptedNameUsageId;
365
	}
366
	public UUID getParentNameUsageId() {
367
		return parentNameUsageId;
368
	}
369
	public void setParentNameUsageId(UUID parentNameUsageId) {
370
		this.parentNameUsageId = parentNameUsageId;
371
	}
372
	public UUID getOriginalNameUsageId() {
373
		return originalNameUsageId;
374
	}
375
	public void setOriginalNameUsageId(UUID originalNameUsageId) {
376
		this.originalNameUsageId = originalNameUsageId;
377
	}
378
	
379
	public Object getNameAccordingToId() {
380
		return nameAccordingToId;
381
	}
382
	
383
	public void setNameAccordingToId(UUID nameAccordingToId) {
384
		this.nameAccordingToId = nameAccordingToId;
385
	}
386
	
387
	public Object getNamePublishedInId() {
388
		return namePublishedInId;
389
	}
390
	public void setNamePublishedInId(UUID namePublishedInId) {
391
		this.namePublishedInId = namePublishedInId;
392
	}
393
	public UUID getTaxonConceptId() {
394
		return taxonConceptId;
395
	}
396
	public void setTaxonConceptId(UUID taxonConceptId) {
397
		this.taxonConceptId = taxonConceptId;
398
	}
399
	public String getScientificName() {
400
		return scientificName;
401
	}
402
	public void setScientificName(String scientificName) {
403
		this.scientificName = scientificName;
404
	}
405
	public String getAcceptedNameUsage() {
406
		return acceptedNameUsage;
407
	}
408
	public void setAcceptedNameUsage(String acceptedNameUsage) {
409
		this.acceptedNameUsage = acceptedNameUsage;
410
	}
411
	public String getParentNameUsage() {
412
		return parentNameUsage;
413
	}
414
	public void setParentNameUsage(String parentNameUsage) {
415
		this.parentNameUsage = parentNameUsage;
416
	}
417
	public String getOriginalNameUsage() {
418
		return originalNameUsage;
419
	}
420
	public void setOriginalNameUsage(String originalNameUsage) {
421
		this.originalNameUsage = originalNameUsage;
422
	}
423
	public String getNameAccordingTo() {
424
		return nameAccordingTo;
425
	}
426
	public void setNameAccordingTo(String nameAccordingTo) {
427
		this.nameAccordingTo = nameAccordingTo;
428
	}
429
	public String getNamePublishedIn() {
430
		return namePublishedIn;
431
	}
432
	public void setNamePublishedIn(String namePublishedIn) {
433
		this.namePublishedIn = namePublishedIn;
434
	}
435
	public String getHigherClassification() {
436
		return higherClassification;
437
	}
438
	public void setHigherClassification(String higherClassification) {
439
		this.higherClassification = higherClassification;
440
	}
441
	public Rank getTaxonRank() {
442
		return taxonRank;
443
	}
444
	public void setTaxonRank(Rank taxonRank) {
445
		this.taxonRank = taxonRank;
446
	}
447
	public String getVerbatimTaxonRank() {
448
		return verbatimTaxonRank;
449
	}
450
	public void setVerbatimTaxonRank(String verbatimTaxonRank) {
451
		this.verbatimTaxonRank = verbatimTaxonRank;
452
	}
453
	public String getScientificNameAuthorship() {
454
		return scientificNameAuthorship;
455
	}
456
	public void setScientificNameAuthorship(String scientificNameAuthorship) {
457
		this.scientificNameAuthorship = scientificNameAuthorship;
458
	}
459
	public String getVernacularName() {
460
		return vernacularName;
461
	}
462
	public void setVernacularName(String vernacularName) {
463
		this.vernacularName = vernacularName;
464
	}
465
	public NomenclaturalCode getNomenclaturalCode() {
466
		return nomenclaturalCode;
467
	}
468
	public void setNomenclaturalCode(NomenclaturalCode nomenclaturalCode) {
469
		this.nomenclaturalCode = nomenclaturalCode;
470
	}
471
	public String getTaxonomicStatus() {
472
		return taxonomicStatus;
473
	}
474
	public void setTaxonomicStatus(String taxonomicStatus) {
475
		this.taxonomicStatus = taxonomicStatus;
476
	}
477
	public NomenclaturalStatusType getNomenclaturalStatus() {
478
		return nomenclaturalStatus;
479
	}
480
	public void setNomenclaturalStatus(NomenclaturalStatusType nomenclaturalStatus) {
481
		this.nomenclaturalStatus = nomenclaturalStatus;
482
	}
483
	public String getTaxonRemarks() {
484
		return taxonRemarks;
485
	}
486
	public void setTaxonRemarks(String taxonRemarks) {
487
		this.taxonRemarks = taxonRemarks;
488
	}
489
	public DateTime getModified() {
490
		return modified;
491
	}
492
	public void setModified(DateTime modified) {
493
		this.modified = modified;
494
	}
495
	public Language getLanguage() {
496
		return language;
497
	}
498
	public void setLanguage(Language language) {
499
		this.language = language;
500
	}
501
	public Set<Rights> getRights() {
502
		return rights;
503
	}
504
	public void setRights(Set<Rights> rights) {
505
		this.rights = rights;
506
	}
507
	public String getRightsHolder() {
508
		return rightsHolder;
509
	}
510
	public void setRightsHolder(String rightsHolder) {
511
		this.rightsHolder = rightsHolder;
512
	}
513
	public String getAccessRights() {
514
		return accessRights;
515
	}
516
	public void setAccessRights(String accessRights) {
517
		this.accessRights = accessRights;
518
	}
519
	public String getBibliographicCitation() {
520
		return bibliographicCitation;
521
	}
522
	public void setBibliographicCitation(String bibliographicCitation) {
523
		this.bibliographicCitation = bibliographicCitation;
524
	}
525
	public String getInformationWithheld() {
526
		return informationWithheld;
527
	}
528
	public void setInformationWithheld(String informationWithheld) {
529
		this.informationWithheld = informationWithheld;
530
	}
531
	public String getDatasetId() {
532
		return datasetId.getId();
533
	}
534
	public void setDatasetId(Classification classification) {
535
		this.datasetId.setId(classification);
536
	}
537
	public String getDatasetName() {
538
		return datasetName;
539
	}
540
	public void setDatasetName(String datasetName) {
541
		this.datasetName = datasetName;
542
	}
543
	public String getSource() {
544
		return source;
545
	}
546
	public void setSource(String source) {
547
		this.source = source;
548
	}
549

    
550
	
551
	public String getKingdom() {
552
		return kingdom;
553
	}
554

    
555
	public void setKingdom(String kingdom) {
556
		this.kingdom = kingdom;
557
	}
558

    
559
	public String getPhylum() {
560
		return phylum;
561
	}
562

    
563
	public void setPhylum(String phylum) {
564
		this.phylum = phylum;
565
	}
566

    
567
	public String getClazz() {
568
		return clazz;
569
	}
570

    
571
	public void setClazz(String clazz) {
572
		this.clazz = clazz;
573
	}
574

    
575
	public String getOrder() {
576
		return order;
577
	}
578

    
579
	public void setOrder(String order) {
580
		this.order = order;
581
	}
582

    
583
	public String getFamily() {
584
		return family;
585
	}
586

    
587
	public void setFamily(String family) {
588
		this.family = family;
589
	}
590

    
591
	public String getGenus() {
592
		return genus;
593
	}
594

    
595
	public void setGenus(String genus) {
596
		this.genus = genus;
597
	}
598

    
599
	public String getSubgenus() {
600
		return subgenus;
601
	}
602

    
603
	public void setSubgenus(String subgenus) {
604
		this.subgenus = subgenus;
605
	}
606

    
607
	public String getSpecificEpithet() {
608
		return specificEpithet;
609
	}
610

    
611
	public void setSpecificEpithet(String specificEpithet) {
612
		this.specificEpithet = specificEpithet;
613
	}
614

    
615
	public String getInfraspecificEpithet() {
616
		return infraspecificEpithet;
617
	}
618
	
619
	public void setInfraspecificEpithet(String infraspecificEpithet) {
620
		this.infraspecificEpithet = infraspecificEpithet;
621
	}
622

    
623
	/**
624
	 * @return the uninomial
625
	 */
626
	public String getUninomial() {
627
		return uninomial;
628
	}
629

    
630
	/**
631
	 * @param uninomial the uninomial to set
632
	 */
633
	public void setUninomial(String uninomial) {
634
		this.uninomial = uninomial;
635
	}
636

    
637
	/**
638
	 * @return the infraGenericEpithet
639
	 */
640
	public String getInfraGenericEpithet() {
641
		return infraGenericEpithet;
642
	}
643

    
644
	/**
645
	 * @param infraGenericEpithet the infraGenericEpithet to set
646
	 */
647
	public void setInfraGenericEpithet(String infraGenericEpithet) {
648
		this.infraGenericEpithet = infraGenericEpithet;
649
	}
650

    
651
	/**
652
	 * @param scientificNameId the scientificNameId to set
653
	 */
654
	public void setScientificNameId(DwcaId scientificNameId) {
655
		this.scientificNameId = scientificNameId;
656
	}
657

    
658
	/**
659
	 * @return the genusPart
660
	 */
661
	public String getGenusPart() {
662
		return genusPart;
663
	}
664

    
665
	/**
666
	 * @param genusPart the genusPart to set
667
	 */
668
	public void setGenusPart(String genusPart) {
669
		this.genusPart = genusPart;
670
	}
671

    
672
	
673
}
(22-22/30)