19 |
19 |
/**
|
20 |
20 |
* @author a.mueller
|
21 |
21 |
* @since 21.09.2016
|
22 |
|
*
|
23 |
22 |
*/
|
24 |
23 |
public class TaxonInContextDTO {
|
25 |
24 |
|
... | ... | |
49 |
48 |
//accepted taxon
|
50 |
49 |
private UUID acceptedTaxonUuid;
|
51 |
50 |
private String acceptedNameLabel;
|
52 |
|
|
53 |
51 |
private String acceptedTaxonLabel;
|
54 |
52 |
|
55 |
|
|
56 |
53 |
//parent taxon
|
57 |
54 |
private UUID parentTaxonUuid;
|
58 |
55 |
private String parentNameLabel;
|
59 |
56 |
private String parentTaxonLabel;
|
60 |
57 |
|
61 |
|
|
62 |
|
|
63 |
58 |
private List<EntityDTO<Taxon>> children = new ArrayList<>();
|
64 |
|
|
65 |
59 |
private List<EntityDTO<Synonym>> synonyms = new ArrayList<>();
|
66 |
|
|
67 |
60 |
private List<MarkedEntityDTO<Taxon>> markedAncestors = new ArrayList<>();
|
68 |
61 |
|
69 |
|
|
70 |
|
|
71 |
62 |
//********************* GETTER / SETTER ****************************/
|
72 |
63 |
|
73 |
64 |
public UUID getClassificationUuid() {return classificationUuid;}
|
... | ... | |
119 |
110 |
|
120 |
111 |
public String getInfraSpecificEpithet() {return infraSpecificEpithet;}
|
121 |
112 |
|
122 |
|
/**
|
123 |
|
* @return the authorship
|
124 |
|
*/
|
125 |
113 |
public String getAuthorship() {
|
126 |
114 |
return authorship;
|
127 |
115 |
}
|
128 |
116 |
|
129 |
|
/**
|
130 |
|
* @return the secundumUuid
|
131 |
|
*/
|
132 |
117 |
public UUID getSecundumUuid() {
|
133 |
118 |
return secundumUuid;
|
134 |
119 |
}
|
135 |
120 |
|
136 |
|
/**
|
137 |
|
* @return the secundumLabel
|
138 |
|
*/
|
139 |
121 |
public String getSecundumLabel() {
|
140 |
122 |
return secundumLabel;
|
141 |
123 |
}
|
142 |
124 |
|
143 |
|
|
144 |
|
/**
|
145 |
|
* @return the taxonLabel
|
146 |
|
*/
|
147 |
125 |
public String getTaxonLabel() {
|
148 |
126 |
return taxonLabel;
|
149 |
127 |
}
|
150 |
|
|
151 |
|
/**
|
152 |
|
* @param taxonLabel the taxonLabel to set
|
153 |
|
*/
|
154 |
128 |
public void setTaxonLabel(String taxonLabel) {
|
155 |
129 |
this.taxonLabel = taxonLabel;
|
156 |
130 |
}
|
157 |
131 |
|
158 |
|
/**
|
159 |
|
* @return the nameLabel
|
160 |
|
*/
|
161 |
132 |
public String getNameLabel() {
|
162 |
133 |
return nameLabel;
|
163 |
134 |
}
|
164 |
|
|
165 |
|
/**
|
166 |
|
* @param nameLabel the nameLabel to set
|
167 |
|
*/
|
168 |
135 |
public void setNameLabel(String nameLabel) {
|
169 |
136 |
this.nameLabel = nameLabel;
|
170 |
137 |
}
|
171 |
138 |
|
172 |
|
/**
|
173 |
|
* @return the nameWithoutAuthor
|
174 |
|
*/
|
175 |
139 |
public String getNameWithoutAuthor() {
|
176 |
140 |
return nameWithoutAuthor;
|
177 |
141 |
}
|
178 |
|
|
179 |
|
/**
|
180 |
|
* @param nameWithoutAuthor the nameWithoutAuthor to set
|
181 |
|
*/
|
182 |
142 |
public void setNameWithoutAuthor(String nameWithoutAuthor) {
|
183 |
143 |
this.nameWithoutAuthor = nameWithoutAuthor;
|
184 |
144 |
}
|
185 |
145 |
|
186 |
|
|
187 |
|
/**
|
188 |
|
* @return the children
|
189 |
|
*/
|
190 |
146 |
public List<EntityDTO<Taxon>> getChildren() {
|
191 |
147 |
return children;
|
192 |
148 |
}
|
193 |
149 |
|
194 |
|
/**
|
195 |
|
* @return the synonyms
|
196 |
|
*/
|
197 |
150 |
public List<EntityDTO<Synonym>> getSynonyms() {
|
198 |
151 |
return synonyms;
|
199 |
152 |
}
|
200 |
|
/**
|
201 |
|
* @param synonyms the synonyms to set
|
202 |
|
*/
|
203 |
153 |
public void setSynonyms(List<EntityDTO<Synonym>> synonyms) {
|
204 |
154 |
this.synonyms = synonyms;
|
205 |
155 |
}
|
206 |
156 |
|
207 |
|
/**
|
208 |
|
* @return the markedAncestors
|
209 |
|
*/
|
210 |
157 |
public List<MarkedEntityDTO<Taxon>> getMarkedAncestors() {
|
211 |
158 |
return markedAncestors;
|
212 |
159 |
}
|
213 |
160 |
|
214 |
|
|
215 |
|
/**
|
216 |
|
* @return the acceptedTaxonUuid
|
217 |
|
*/
|
218 |
161 |
public UUID getAcceptedTaxonUuid() {
|
219 |
162 |
return acceptedTaxonUuid;
|
220 |
163 |
}
|
221 |
|
|
222 |
|
/**
|
223 |
|
* @param acceptedTaxonUuid the acceptedTaxonUuid to set
|
224 |
|
*/
|
225 |
164 |
public void setAcceptedTaxonUuid(UUID acceptedTaxonUuid) {
|
226 |
165 |
this.acceptedTaxonUuid = acceptedTaxonUuid;
|
227 |
166 |
}
|
228 |
167 |
|
229 |
|
/**
|
230 |
|
* @return the acceptedNameLabel
|
231 |
|
*/
|
232 |
168 |
public String getAcceptedNameLabel() {
|
233 |
169 |
return acceptedNameLabel;
|
234 |
170 |
}
|
235 |
|
|
236 |
|
/**
|
237 |
|
* @param acceptedNameLabel the acceptedNameLabel to set
|
238 |
|
*/
|
239 |
171 |
public void setAcceptedNameLabel(String acceptedNameLabel) {
|
240 |
172 |
this.acceptedNameLabel = acceptedNameLabel;
|
241 |
173 |
}
|
242 |
174 |
|
243 |
|
/**
|
244 |
|
* @return the taxonStatus
|
245 |
|
*/
|
246 |
175 |
public TaxonStatus getTaxonStatus() {
|
247 |
176 |
return taxonStatus;
|
248 |
177 |
}
|
249 |
|
|
250 |
|
/**
|
251 |
|
* @param taxonStatus the taxonStatus to set
|
252 |
|
*/
|
253 |
178 |
public void setTaxonStatus(TaxonStatus taxonStatus) {
|
254 |
179 |
this.taxonStatus = taxonStatus;
|
255 |
180 |
}
|
... | ... | |
281 |
206 |
this.children.add(childDto);
|
282 |
207 |
}
|
283 |
208 |
|
284 |
|
|
285 |
209 |
public void addSynonym(EntityDTO<Synonym> synonymDto){
|
286 |
210 |
this.synonyms.add(synonymDto);
|
287 |
211 |
}
|
... | ... | |
289 |
213 |
public void addMarkedAncestor(MarkedEntityDTO<Taxon> markedAncestor){
|
290 |
214 |
this.markedAncestors.add(markedAncestor);
|
291 |
215 |
}
|
292 |
|
|
293 |
|
|
294 |
|
|
295 |
|
}
|
|
216 |
}
|
cleanup