Project

General

Profile

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

    
11
import java.util.List;
12
import java.util.Set;
13

    
14
import org.joda.time.DateTime;
15

    
16
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase;
17
import eu.etaxonomy.cdm.model.common.Annotation;
18
import eu.etaxonomy.cdm.model.common.Credit;
19
import eu.etaxonomy.cdm.model.common.Extension;
20
import eu.etaxonomy.cdm.model.common.Identifier;
21
import eu.etaxonomy.cdm.model.common.User;
22
import eu.etaxonomy.cdm.model.name.HomotypicalGroup;
23
import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
24
import eu.etaxonomy.cdm.model.name.NomenclaturalStatus;
25
import eu.etaxonomy.cdm.model.name.Rank;
26
import eu.etaxonomy.cdm.model.name.TaxonName;
27
import eu.etaxonomy.cdm.model.reference.INomenclaturalReference;
28
import eu.etaxonomy.cdm.vaadin.model.CdmEntityDecoraterDTO;
29

    
30
/**
31
 * @author a.kohlbecker
32
 * @since Apr 23, 2018
33
 *
34
 */
35
public class TaxonNameDTO extends CdmEntityDecoraterDTO<TaxonName> {
36

    
37
    class TN extends TaxonName {
38

    
39
    }
40

    
41
    private static final long serialVersionUID = -8018109905949198530L;
42

    
43
    private TaxonName name;
44

    
45
    /**
46
     * @param entity
47
     */
48
    public TaxonNameDTO(TaxonName entity) {
49
        super(entity);
50
        name = entity;
51
    }
52

    
53
    public String getAcronym() {
54
        return name.getAcronym();
55
    }
56

    
57
    public Set<Annotation> getAnnotations() {
58
        return name.getAnnotations();
59
    }
60

    
61
    public String getAppendedPhrase() {
62
        return name.getAppendedPhrase();
63
    }
64

    
65
    public String getAuthorshipCache() {
66

    
67
        return name.getAuthorshipCache();
68
    }
69

    
70
    public TaxonName getBasionym() {
71
        return name.getBasionym();
72
    }
73

    
74
    public TeamOrPersonBase<?> getBasionymAuthorship() {
75
        return name.getBasionymAuthorship();
76
    }
77

    
78
    public Set<TaxonName> getBasionyms() {
79
        return name.getBasionyms();
80
    }
81

    
82
    public TeamOrPersonBase<?> getCombinationAuthorship() {
83
        return name.getCombinationAuthorship();
84
    }
85

    
86
    public List<Credit> getCredits() {
87
        return name.getCredits();
88
    }
89

    
90
    public String getCultivarName() {
91
        return name.getCultivarName();
92
    }
93

    
94
    public TeamOrPersonBase<?> getExBasionymAuthorship() {
95
        return name.getExBasionymAuthorship();
96
    }
97

    
98
    public TeamOrPersonBase<?> getExCombinationAuthorship() {
99
        return name.getExCombinationAuthorship();
100
    }
101

    
102
    public Set<Extension> getExtensions() {
103
        return name.getExtensions();
104
    }
105

    
106
    public String getFullTitleCache() {
107
        return name.getFullTitleCache();
108
    }
109

    
110
    public String getGenusOrUninomial() {
111
        return name.getGenusOrUninomial();
112
    }
113

    
114
    public HomotypicalGroup getHomotypicalGroup() {
115
        return name.getHomotypicalGroup();
116
    }
117

    
118
    public List<Identifier> getIdentifiers() {
119
        return name.getIdentifiers();
120
    }
121

    
122
    public String getInfraGenericEpithet() {
123
        return name.getInfraGenericEpithet();
124
    }
125

    
126
    public String getInfraSpecificEpithet() {
127
        return name.getInfraSpecificEpithet();
128
    }
129

    
130
    public String getSpecificEpithet() {
131
        return name.getSpecificEpithet();
132
    }
133

    
134
    public String getNameCache() {
135
        return name.getNameCache();
136
    }
137

    
138
    public String getNomenclaturalMicroReference() {
139
        return name.getNomenclaturalMicroReference();
140
    }
141

    
142
    public INomenclaturalReference getNomenclaturalReference() {
143
        return name.getNomenclaturalReference();
144
    }
145

    
146
    public Rank getRank() {
147
        return name.getRank();
148
    }
149

    
150
    public Set<NomenclaturalStatus> getStatus() {
151
        return name.getStatus();
152
    }
153

    
154
    public boolean isProtectedAuthorshipCache() {
155
        return name.isProtectedAuthorshipCache();
156
    }
157

    
158
    public boolean isProtectedFullTitleCache() {
159
        return name.isProtectedFullTitleCache();
160
    }
161

    
162
    public boolean isProtectedNameCache() {
163
        return name.isProtectedNameCache();
164
    }
165

    
166
    public boolean isProtectedTitleCache() {
167
        return name.isProtectedTitleCache();
168
    }
169

    
170
    public void setAcronym(String acronym) {
171
        name.setAcronym(acronym);
172
    }
173

    
174
    public void setAppendedPhrase(String appendedPhrase) {
175
        name.setAppendedPhrase(appendedPhrase);
176
    }
177

    
178
    public void setBasionymAuthorship(TeamOrPersonBase<?> basionymAuthorship) {
179
        name.setBasionymAuthorship(basionymAuthorship);
180
    }
181

    
182
    public void setBinomHybrid(boolean binomHybrid) {
183
        name.setBinomHybrid(binomHybrid);
184
    }
185

    
186
    public void setBreed(String breed) {
187
        name.setBreed(breed);
188
    }
189

    
190
    public void setCombinationAuthorship(TeamOrPersonBase<?> combinationAuthorship) {
191
        name.setCombinationAuthorship(combinationAuthorship);
192
    }
193

    
194
    public void setCultivarName(String cultivarName) {
195
        name.setCultivarName(cultivarName);
196
    }
197

    
198
    public void setExBasionymAuthorship(TeamOrPersonBase<?> exBasionymAuthorship) {
199
        name.setExBasionymAuthorship(exBasionymAuthorship);
200
    }
201

    
202
    public void setExCombinationAuthorship(TeamOrPersonBase<?> exCombinationAuthorship) {
203
        name.setExCombinationAuthorship(exCombinationAuthorship);
204
    }
205

    
206
    public void setFullTitleCache(String fullTitleCache) {
207
        name.setFullTitleCache(fullTitleCache);
208
    }
209

    
210
    public void setGenusOrUninomial(String genusOrUninomial) {
211
        name.setGenusOrUninomial(genusOrUninomial);
212
    }
213

    
214
    public void setHybridFormula(boolean hybridFormula) {
215
        name.setHybridFormula(hybridFormula);
216
    }
217

    
218
    public void setInfraGenericEpithet(String infraGenericEpithet) {
219
        name.setInfraGenericEpithet(infraGenericEpithet);
220
    }
221

    
222
    public void setInfraSpecificEpithet(String infraSpecificEpithet) {
223
        name.setInfraSpecificEpithet(infraSpecificEpithet);
224
    }
225

    
226
    public void setMonomHybrid(boolean monomHybrid) {
227
        name.setMonomHybrid(monomHybrid);
228
    }
229

    
230
    public void setNameApprobation(String nameApprobation) {
231
        name.setNameApprobation(nameApprobation);
232
    }
233

    
234
    public void setNameCache(String nameCache) {
235
        name.setNameCache(nameCache);
236
    }
237

    
238
    public void setNameType(NomenclaturalCode nameType) {
239
        name.setNameType(nameType);
240
    }
241

    
242
    public void setNomenclaturalMicroReference(String nomenclaturalMicroReference) {
243
        name.setNomenclaturalMicroReference(nomenclaturalMicroReference);
244
    }
245

    
246
    public void setNomenclaturalReference(INomenclaturalReference nomenclaturalReference) {
247
        name.setNomenclaturalReference(nomenclaturalReference);
248
    }
249

    
250
    public void setProtectedAuthorshipCache(boolean protectedAuthorshipCache) {
251
        name.setProtectedAuthorshipCache(protectedAuthorshipCache);
252
    }
253

    
254
    public void setProtectedFullTitleCache(boolean protectedFullTitleCache) {
255
        name.setProtectedFullTitleCache(protectedFullTitleCache);
256
    }
257

    
258
    public void setProtectedNameCache(boolean protectedNameCache) {
259
        name.setProtectedNameCache(protectedNameCache);
260
    }
261

    
262
    public void setProtectedTitleCache(boolean protectedTitleCache) {
263
        name.setProtectedTitleCache(protectedTitleCache);
264
    }
265

    
266
    public void setRank(Rank rank) {
267
        name.setRank(rank);
268
    }
269

    
270
    public void setSpecificEpithet(String specificEpithet) {
271
        name.setSpecificEpithet(specificEpithet);
272
    }
273

    
274
    public void setTitleCache(String titleCache) {
275
        name.setTitleCache(titleCache);
276
    }
277

    
278
    public void setTrinomHybrid(boolean trinomHybrid) {
279
        name.setTrinomHybrid(trinomHybrid);
280
    }
281

    
282
    public void setUpdated(DateTime updated) {
283
        name.setUpdated(updated);
284
    }
285

    
286
    public void setUpdatedBy(User updatedBy) {
287
        name.setUpdatedBy(updatedBy);
288
    }
289

    
290
}
    (1-1/1)