Revision f600798d
Added by Andreas Müller over 2 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/occurrence/SpecimenOrObservationBase.java | ||
---|---|---|
375 | 375 |
* Returns the {@link SpecimenDescription specimen descriptions} which act as an image gallery |
376 | 376 |
* and which this specimen is part of. |
377 | 377 |
* @see #getDescriptions() |
378 |
* @return |
|
379 | 378 |
*/ |
380 | 379 |
@Transient |
381 | 380 |
public Set<SpecimenDescription> getSpecimenDescriptionImageGallery() { |
... | ... | |
392 | 391 |
|
393 | 392 |
/** |
394 | 393 |
* Adds a new description to this specimen or observation |
395 |
* @param description |
|
396 | 394 |
*/ |
397 | 395 |
@Override |
398 | 396 |
public void addDescription(DescriptionBase description) { |
... | ... | |
405 | 403 |
|
406 | 404 |
/** |
407 | 405 |
* Removes a specimen from a description (removes a description from this specimen) |
408 |
* @param description |
|
409 | 406 |
*/ |
410 | 407 |
@Override |
411 | 408 |
public void removeDescription(DescriptionBase description) { |
... | ... | |
415 | 412 |
} |
416 | 413 |
} |
417 | 414 |
|
418 |
|
|
419 | 415 |
public Set<DerivationEvent> getDerivationEvents() { |
420 | 416 |
if(derivationEvents == null) { |
421 | 417 |
this.derivationEvents = new HashSet<>(); |
Also available in: Unified diff
cleanup