Revision 9f6a56c9
Added by Andreas Müller almost 3 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/format/reference/NomenclaturalSourceFormatter.java | ||
---|---|---|
263 | 263 |
Team team = CdmBase.deproxy(author, Team.class); |
264 | 264 |
if (team.isProtectedNomenclaturalTitleCache()){ |
265 | 265 |
//not yet finally discussed may change in future |
266 |
result = team.getNomenclaturalTitle(); |
|
266 |
result = team.getNomenclaturalTitleCache();
|
|
267 | 267 |
}else if (team.isProtectedTitleCache()){ |
268 | 268 |
//not yet finally discussed may change in future |
269 | 269 |
result = team.getTitleCache(); |
... | ... | |
286 | 286 |
String result; |
287 | 287 |
if (isNotBlank(person.getFamilyName())){ |
288 | 288 |
result = person.getFamilyName(); |
289 |
}else if (isNotBlank(person.getNomenclaturalTitle())){ |
|
290 |
result = person.getNomenclaturalTitle(); //TODO discuss if nomTitle is really better here then titleCache |
|
289 |
}else if (isNotBlank(person.getNomenclaturalTitleCache())){
|
|
290 |
result = person.getNomenclaturalTitleCache(); //TODO discuss if nomTitle is really better here then titleCache
|
|
291 | 291 |
}else{ |
292 | 292 |
result = person.getTitleCache(); //maybe remove everything behind a "," |
293 | 293 |
} |
Also available in: Unified diff
ref #9664 first implementation for TeamOrPersonBase.nomenclaturalTitleCache (update script still missing)