Revision 531fc7bc
Added by Andreas Müller almost 8 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/dwca/out/DwcaEmlRecord.java | ||
---|---|---|
1 | 1 |
// $Id$ |
2 | 2 |
/** |
3 | 3 |
* Copyright (C) 2009 EDIT |
4 |
* European Distributed Institute of Taxonomy
|
|
4 |
* European Distributed Institute of Taxonomy |
|
5 | 5 |
* http://www.e-taxonomy.eu |
6 |
*
|
|
6 |
* |
|
7 | 7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
8 | 8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
9 | 9 |
*/ |
... | ... | |
33 | 33 |
public class DwcaEmlRecord extends DwcaRecordBase { |
34 | 34 |
@SuppressWarnings("unused") |
35 | 35 |
private static final Logger logger = Logger.getLogger(DwcaEmlRecord.class); |
36 |
|
|
36 |
|
|
37 | 37 |
// BASIC |
38 | 38 |
private String identifier; |
39 | 39 |
private String title; |
... | ... | |
46 | 46 |
private Rights creativeCommonsLicensing; |
47 | 47 |
private Language metaDataLanguage; |
48 | 48 |
private URI resourceLogoUri; |
49 |
|
|
49 |
|
|
50 | 50 |
// Research Project |
51 | 51 |
private String projectTitle; |
52 | 52 |
private String projectLead; |
53 | 53 |
private String projectDescription; |
54 |
|
|
54 |
|
|
55 | 55 |
// People |
56 | 56 |
private InstitutionalMembership resourceCreator; |
57 | 57 |
private InstitutionalMembership metaDataAuthor; |
58 | 58 |
private InstitutionalMembership contact; |
59 | 59 |
private List<InstitutionalMembership> authors = new ArrayList<InstitutionalMembership>(); |
60 |
|
|
60 |
|
|
61 | 61 |
// Keywords / Coverage |
62 | 62 |
private String regionalScope; |
63 | 63 |
private List<String> keywords = new ArrayList<String>(); |
64 | 64 |
private String keywordThesaurus; //maybe a URI |
65 | 65 |
private TimePeriod date; |
66 | 66 |
private List<String> taxonomicKeywords = new ArrayList<String>(); |
67 |
|
|
67 |
|
|
68 | 68 |
private Point upperLeftCorner; |
69 | 69 |
private Point lowerRightCorner; |
70 |
|
|
71 |
private List<Reference<?>> references = new ArrayList<Reference<?>>();
|
|
70 |
|
|
71 |
private List<Reference> references = new ArrayList<Reference>();
|
|
72 | 72 |
|
73 | 73 |
|
74 | 74 |
@Override |
75 | 75 |
protected void registerKnownFields() { |
76 | 76 |
//not needed |
77 | 77 |
} |
78 |
|
|
78 |
|
|
79 | 79 |
public DwcaEmlRecord() { |
80 | 80 |
super(new DwcaMetaDataRecord(false, null, null), null); |
81 | 81 |
} |
82 | 82 |
|
83 |
public void write(PrintWriter writer) { |
|
83 |
@Override |
|
84 |
public void write(PrintWriter writer) { |
|
84 | 85 |
|
85 | 86 |
} |
86 | 87 |
|
... | ... | |
214 | 215 |
public void setMetaDataAuthor(InstitutionalMembership metaDataAuthor) { |
215 | 216 |
this.metaDataAuthor = metaDataAuthor; |
216 | 217 |
} |
217 |
|
|
218 |
|
|
218 | 219 |
|
219 | 220 |
|
220 | 221 |
public InstitutionalMembership getContact() { |
221 | 222 |
return contact; |
222 | 223 |
} |
223 |
|
|
224 |
|
|
224 | 225 |
public void setContact(InstitutionalMembership contact) { |
225 | 226 |
this.contact = contact; |
226 | 227 |
} |
... | ... | |
290 | 291 |
this.lowerRightCorner = lowerRightCorner; |
291 | 292 |
} |
292 | 293 |
|
293 |
public List<Reference<?>> getReferences() {
|
|
294 |
return references != null ? references : new ArrayList<Reference<?>>();
|
|
294 |
public List<Reference> getReferences() { |
|
295 |
return references != null ? references : new ArrayList<Reference>(); |
|
295 | 296 |
} |
296 | 297 |
|
297 |
public void setReferences(List<Reference<?>> references) {
|
|
298 |
public void setReferences(List<Reference> references) { |
|
298 | 299 |
this.references = references; |
299 | 300 |
} |
300 | 301 |
|
Also available in: Unified diff
Remove generics from Reference in cdmlib (except for cdmlib-model) #5830