Project

General

Profile

« Previous | Next » 

Revision 29024880

Added by Andreas Müller over 6 years ago

cleanup

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/dwca/jaxb/ArchiveEntryBase.java
1 1
/**
2 2
* Copyright (C) 2009 EDIT
3
* European Distributed Institute of Taxonomy 
3
* European Distributed Institute of Taxonomy
4 4
* http://www.e-taxonomy.eu
5
* 
5
*
6 6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
* See LICENSE.TXT at the top of this package for the full license terms.
8 8
*/
......
30 30
})
31 31
@XmlRootElement(name = "archiveEntryBase")
32 32
public abstract class ArchiveEntryBase {
33
	
33

  
34 34

  
35 35
    @XmlElement(required = true)
36 36
    protected Files files;
......
49 49
    @XmlAttribute(required = true)
50 50
    protected String encoding;
51 51

  
52

  
53
    /**
54
     * Gets the value of the files property.
55
     * 
56
     * @return
57
     *     possible object is
58
     *     {@link Files }
59
     *     
60
     */
61 52
    public Files getFiles() {
62 53
        return files;
63 54
    }
64

  
65
    /**
66
     * Sets the value of the files property.
67
     * 
68
     * @param value
69
     *     allowed object is
70
     *     {@link Files }
71
     *     
72
     */
73 55
    public void setFiles(Files value) {
74 56
        this.files = value;
75 57
    }
......
77 59

  
78 60
    /**
79 61
     * Gets the value of the field property.
80
     * 
62
     *
81 63
     * <p>
82 64
     * This accessor method returns a reference to the live list,
83 65
     * not a snapshot. Therefore any modification you make to the
84 66
     * returned list will be present inside the JAXB object.
85 67
     * This is why there is not a <CODE>set</CODE> method for the field property.
86
     * 
68
     *
87 69
     * <p>
88 70
     * For example, to add a new item, do as follows:
89 71
     * <pre>
90 72
     *    getField().add(newItem);
91 73
     * </pre>
92
     * 
93
     * 
74
     *
75
     *
94 76
     * <p>
95 77
     * Objects of the following type(s) are allowed in the list
96 78
     * {@link Field }
97
     * 
98
     * 
79
     *
80
     *
99 81
     */
100 82
    public List<Field> getField() {
101 83
        if (field == null) {
102
            field = new ArrayList<Field>();
84
            field = new ArrayList<>();
103 85
        }
104 86
        return this.field;
105 87
    }
106 88

  
107
    /**
108
     * Gets the value of the rowType property.
109
     * 
110
     * @return
111
     *     possible object is
112
     *     {@link String }
113
     *     
114
     */
115 89
    public String getRowType() {
116 90
        return rowType;
117 91
    }
118

  
119
    /**
120
     * Sets the value of the rowType property.
121
     * 
122
     * @param value
123
     *     allowed object is
124
     *     {@link String }
125
     *     
126
     */
127 92
    public void setRowType(String value) {
128 93
        this.rowType = value;
129 94
    }
130 95

  
131
    /**
132
     * Gets the value of the linesTerminatedBy property.
133
     * 
134
     * @return
135
     *     possible object is
136
     *     {@link String }
137
     *     
138
     */
139 96
    public String getLinesTerminatedBy() {
140 97
        return normalizeSpecialChars(linesTerminatedBy);
141 98
    }
142

  
143
    /**
144
     * Sets the value of the linesTerminatedBy property.
145
     * 
146
     * @param value
147
     *     allowed object is
148
     *     {@link String }
149
     *     
150
     */
151 99
    public void setLinesTerminatedBy(String value) {
152 100
        this.linesTerminatedBy = normalizeSpecialChars(value);
153 101
    }
......
166 114

  
167 115
	/**
168 116
     * Gets the value of the ignoreHeaderLines property.
169
     * 
117
     *
170 118
     */
171 119
    public boolean getIgnoreHeaderLines() {
172 120
        return ignoreHeaderLines;
......
174 122

  
175 123
    /**
176 124
     * Sets the value of the ignoreHeaderLines property.
177
     * 
125
     *
178 126
     */
179 127
    public void setIgnoreHeaderLines(boolean value) {
180 128
        this.ignoreHeaderLines = value;
......
182 130

  
183 131
    /**
184 132
     * Gets the value of the fieldsTerminatedBy property.
185
     * 
133
     *
186 134
     * @return
187 135
     *     possible object is
188 136
     *     {@link String }
189
     *     
137
     *
190 138
     */
191 139
    public String getFieldsTerminatedBy() {
192 140
        return normalizeSpecialChars(fieldsTerminatedBy);
......
194 142

  
195 143
    /**
196 144
     * Sets the value of the fieldsTerminatedBy property.
197
     * 
145
     *
198 146
     * @param value
199 147
     *     allowed object is
200 148
     *     {@link String }
201
     *     
149
     *
202 150
     */
203 151
    public void setFieldsTerminatedBy(String value) {
204 152
        this.fieldsTerminatedBy = normalizeSpecialChars(value);
......
206 154

  
207 155
    /**
208 156
     * Gets the value of the fieldsEnclosedBy property.
209
     * 
157
     *
210 158
     * @return
211 159
     *     possible object is
212 160
     *     {@link String }
213
     *     
161
     *
214 162
     */
215 163
    public String getFieldsEnclosedBy() {
216 164
        return normalizeSpecialChars(fieldsEnclosedBy);
......
218 166

  
219 167
    /**
220 168
     * Sets the value of the fieldsEnclosedBy property.
221
     * 
169
     *
222 170
     * @param value
223 171
     *     allowed object is
224 172
     *     {@link String }
225
     *     
173
     *
226 174
     */
227 175
    public void setFieldsEnclosedBy(String value) {
228 176
        this.fieldsEnclosedBy = normalizeSpecialChars(value);
......
230 178

  
231 179
    /**
232 180
     * Gets the value of the encoding property.
233
     * 
181
     *
234 182
     * @return
235 183
     *     possible object is
236 184
     *     {@link String }
237
     *     
185
     *
238 186
     */
239 187
    public String getEncoding() {
240 188
        return encoding;
......
242 190

  
243 191
    /**
244 192
     * Sets the value of the encoding property.
245
     * 
193
     *
246 194
     * @param value
247 195
     *     allowed object is
248 196
     *     {@link String }
249
     *     
197
     *
250 198
     */
251 199
    public void setEncoding(String value) {
252 200
        this.encoding = value;

Also available in: Unified diff