merge trunk into model change 3.6
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / config / FindOccurrencesConfigurator.java
1 // $Id$
2 /**
3 * Copyright (C) 2015 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
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.
9 */
10 package eu.etaxonomy.cdm.api.service.config;
11
12 import java.util.UUID;
13
14 import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
15 import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType;
16
17 /**
18 * @author pplitzner
19 * @date Apr 13, 2015
20 *
21 */
22 public class FindOccurrencesConfigurator extends IdentifiableServiceConfiguratorImpl<SpecimenOrObservationBase>{
23
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;
31 }
32 public void setSignificantIdentifier(String significantIdentifier) {
33 this.significantIdentifier = significantIdentifier;
34 }
35 /**
36 * @return the specimenType
37 */
38 public synchronized SpecimenOrObservationType getSpecimenType() {
39 return specimenType;
40 }
41 /**
42 * @param specimenType the specimenType to set
43 */
44 public synchronized void setSpecimenType(SpecimenOrObservationType specimenType) {
45 this.specimenType = specimenType;
46 }
47 /**
48 * @return the associatedTaxon
49 */
50 public synchronized UUID getAssociatedTaxonUuid() {
51 return associatedTaxonUuid;
52 }
53 /**
54 * @param associatedTaxonUuid the associatedTaxon to set
55 */
56 public synchronized void setAssociatedTaxonUuid(UUID associatedTaxonUuid) {
57 this.associatedTaxonUuid = associatedTaxonUuid;
58 }
59 /**
60 * @return the isDetermined
61 */
62 public synchronized boolean isDetermined() {
63 return isDetermined;
64 }
65 /**
66 * @param isDetermined the isDetermined to set
67 */
68 public synchronized void setDetermined(boolean isDetermined) {
69 this.isDetermined = isDetermined;
70 }
71 public boolean isRetrieveIndirectlyAssociatedSpecimens() {
72 return retrieveIndirectlyAssociatedSpecimens;
73 }
74 public void setRetrieveIndirectlyAssociatedSpecimens(boolean retrieveIndirectlyAssociatedSpecimens) {
75 this.retrieveIndirectlyAssociatedSpecimens = retrieveIndirectlyAssociatedSpecimens;
76 }
77
78 }