refine findBestMatchingTaxon
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / config / MatchingTaxonConfigurator.java
1 // $Id$
2 /**
3 * Copyright (C) 2009 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 /**
15 * @author a.mueller
16 * @date 23.05.2011
17 *
18 */
19 public class MatchingTaxonConfigurator {
20
21 public static MatchingTaxonConfigurator NewInstance(){
22 return new MatchingTaxonConfigurator();
23 }
24
25 private String taxonNameTitle;
26
27 private UUID secUuid;
28
29 private UUID classificationUuid;
30
31 private boolean includeSynonyms = true;
32
33 private boolean onlyMatchingSecUuid = false;
34
35 private boolean onlyMatchingClassificationUuid = false;
36
37 /**
38 * @return the taxonName
39 */
40 public String getTaxonNameTitle() {
41 return taxonNameTitle;
42 }
43
44 /**
45 * @param taxonName the taxonName to set
46 */
47 public void setTaxonNameTitle(String taxonNameTitle) {
48 this.taxonNameTitle = taxonNameTitle;
49 }
50
51 /**
52 * @return the secUuid
53 */
54 public UUID getSecUuid() {
55 return secUuid;
56 }
57
58 /**
59 * @param secUuid the secUuid to set
60 */
61 public void setSecUuid(UUID secUuid) {
62 this.secUuid = secUuid;
63 }
64
65 /**
66 * @return the classificationUuid
67 */
68 public UUID getClassificationUuid() {
69 return classificationUuid;
70 }
71
72 /**
73 * @param classificationUuid the classificationUuid to set
74 */
75 public void setClassificationUuid(UUID classificationUuid) {
76 this.classificationUuid = classificationUuid;
77 }
78
79 /**
80 * @return the includeSynonyms
81 */
82 public boolean isIncludeSynonyms() {
83 return includeSynonyms;
84 }
85
86 /**
87 * @param includeSynonyms the includeSynonyms to set
88 */
89 public void setIncludeSynonyms(boolean includeSynonyms) {
90 this.includeSynonyms = includeSynonyms;
91 }
92
93 /**
94 * @return the onlyMatchingSecUuid
95 */
96 public boolean isOnlyMatchingSecUuid() {
97 return onlyMatchingSecUuid;
98 }
99
100 /**
101 * @param onlyMatchingSecUuid the onlyMatchingSecUuid to set
102 */
103 public void setOnlyMatchingSecUuid(boolean onlyMatchingSecUuid) {
104 this.onlyMatchingSecUuid = onlyMatchingSecUuid;
105 }
106
107 /**
108 * @return the onlyMatchingClassificationUuid
109 */
110 public boolean isOnlyMatchingClassificationUuid() {
111 return onlyMatchingClassificationUuid;
112 }
113
114 /**
115 * @param onlyMatchingClassificationUuid the onlyMatchingClassificationUuid to set
116 */
117 public void setOnlyMatchingClassificationUuid(
118 boolean onlyMatchingClassificationUuid) {
119 this.onlyMatchingClassificationUuid = onlyMatchingClassificationUuid;
120 }
121
122
123 }