3 * Copyright (C) 2015 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.api
.service
.config
;
12 import java
.util
.UUID
;
14 import eu
.etaxonomy
.cdm
.model
.occurrence
.SpecimenOrObservationBase
;
15 import eu
.etaxonomy
.cdm
.model
.occurrence
.SpecimenOrObservationType
;
22 public class FindOccurrencesConfigurator
extends IdentifiableServiceConfiguratorImpl
<SpecimenOrObservationBase
>{
24 private SpecimenOrObservationType specimenType
;
25 private UUID associatedTaxonUuid
;
26 private boolean isDetermined
;
27 private String significantIdentifier
;
28 private boolean retrieveIndirectlyAssociatedSpecimens
;
29 public String
getSignificantIdentifier() {
30 return significantIdentifier
;
32 public void setSignificantIdentifier(String significantIdentifier
) {
33 this.significantIdentifier
= significantIdentifier
;
36 * @return the specimenType
38 public synchronized SpecimenOrObservationType
getSpecimenType() {
42 * @param specimenType the specimenType to set
44 public synchronized void setSpecimenType(SpecimenOrObservationType specimenType
) {
45 this.specimenType
= specimenType
;
48 * @return the associatedTaxon
50 public synchronized UUID
getAssociatedTaxonUuid() {
51 return associatedTaxonUuid
;
54 * @param associatedTaxonUuid the associatedTaxon to set
56 public synchronized void setAssociatedTaxonUuid(UUID associatedTaxonUuid
) {
57 this.associatedTaxonUuid
= associatedTaxonUuid
;
60 * @return the isDetermined
62 public synchronized boolean isDetermined() {
66 * @param isDetermined the isDetermined to set
68 public synchronized void setDetermined(boolean isDetermined
) {
69 this.isDetermined
= isDetermined
;
71 public boolean isRetrieveIndirectlyAssociatedSpecimens() {
72 return retrieveIndirectlyAssociatedSpecimens
;
74 public void setRetrieveIndirectlyAssociatedSpecimens(boolean retrieveIndirectlyAssociatedSpecimens
) {
75 this.retrieveIndirectlyAssociatedSpecimens
= retrieveIndirectlyAssociatedSpecimens
;