merge-update from trunk
[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.List;
13 import java.util.UUID;
14
15 /**
16 * @author a.mueller
17 * @date 23.05.2011
18 *
19 */
20 public class MatchingTaxonConfigurator {
21
22 public static MatchingTaxonConfigurator NewInstance(){
23 return new MatchingTaxonConfigurator();
24 }
25
26 private String taxonNameTitle;
27
28 private UUID secUuid;
29
30 private UUID classificationUuid;
31
32 private boolean includeSynonyms = true;
33
34 private boolean onlyMatchingSecUuid = false;
35
36 private boolean onlyMatchingClassificationUuid = false;
37
38 private List<String> propertyPath = null;
39
40 /**
41 * @return the taxonName
42 */
43 public String getTaxonNameTitle() {
44 return taxonNameTitle;
45 }
46
47 /**
48 * @param taxonName the taxonName to set
49 */
50 public void setTaxonNameTitle(String taxonNameTitle) {
51 this.taxonNameTitle = taxonNameTitle;
52 }
53
54 /**
55 * @return the secUuid
56 */
57 public UUID getSecUuid() {
58 return secUuid;
59 }
60
61 /**
62 * @param secUuid the secUuid to set
63 */
64 public void setSecUuid(UUID secUuid) {
65 this.secUuid = secUuid;
66 }
67
68 /**
69 * @return the classificationUuid
70 */
71 public UUID getClassificationUuid() {
72 return classificationUuid;
73 }
74
75 /**
76 * @param classificationUuid the classificationUuid to set
77 */
78 public void setClassificationUuid(UUID classificationUuid) {
79 this.classificationUuid = classificationUuid;
80 }
81
82 /**
83 * @return the includeSynonyms
84 */
85 public boolean isIncludeSynonyms() {
86 return includeSynonyms;
87 }
88
89 /**
90 * @param includeSynonyms the includeSynonyms to set
91 */
92 public void setIncludeSynonyms(boolean includeSynonyms) {
93 this.includeSynonyms = includeSynonyms;
94 }
95
96 /**
97 * @return the onlyMatchingSecUuid
98 */
99 public boolean isOnlyMatchingSecUuid() {
100 return onlyMatchingSecUuid;
101 }
102
103 /**
104 * @param onlyMatchingSecUuid the onlyMatchingSecUuid to set
105 */
106 public void setOnlyMatchingSecUuid(boolean onlyMatchingSecUuid) {
107 this.onlyMatchingSecUuid = onlyMatchingSecUuid;
108 }
109
110 /**
111 * @return the onlyMatchingClassificationUuid
112 */
113 public boolean isOnlyMatchingClassificationUuid() {
114 return onlyMatchingClassificationUuid;
115 }
116
117 /**
118 * @param onlyMatchingClassificationUuid the onlyMatchingClassificationUuid to set
119 */
120 public void setOnlyMatchingClassificationUuid(
121 boolean onlyMatchingClassificationUuid) {
122 this.onlyMatchingClassificationUuid = onlyMatchingClassificationUuid;
123 }
124
125 /**
126 * @return the propertyPath
127 */
128 public List<String> getPropertyPath() {
129 return propertyPath;
130 }
131
132 /**
133 * @param propertyPath the propertyPath to set
134 */
135 public void setPropertyPath(List<String> propertyPath) {
136 this.propertyPath = propertyPath;
137 }
138
139
140 }