Revision 5d2a77b2
Added by Andreas Müller about 5 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/agent/Person.java | ||
---|---|---|
370 | 370 |
this.lifespan = lifespan; |
371 | 371 |
} |
372 | 372 |
|
373 |
@Override |
|
374 |
public boolean updateCaches(){ |
|
375 |
boolean result = false; |
|
376 |
result |= super.updateCaches(); |
|
377 |
if (this.nomenclaturalTitle == null){ |
|
378 |
this.nomenclaturalTitle = this.getTitleCache(); |
|
379 |
if ( this.nomenclaturalTitle != null ){ |
|
380 |
result = true; |
|
381 |
} |
|
382 |
} |
|
383 |
|
|
384 |
return result; |
|
385 |
} |
|
386 |
|
|
373 | 387 |
//*********************** CLONE ********************************************************/ |
374 | 388 |
|
375 | 389 |
/** |
Also available in: Unified diff
ref #8030 Move cache updating to model classes, no tests yet