Project

General

Profile

Download (3.28 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2009 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.api.service.config;
10

    
11
import java.util.List;
12
import java.util.UUID;
13

    
14
/**
15
 * @author a.mueller
16
 * @since 23.05.2011
17
 *
18
 */
19
public class MatchingTaxonConfigurator {
20

    
21
	public static MatchingTaxonConfigurator NewInstance(){
22
		return new MatchingTaxonConfigurator();
23
	}
24

    
25
    private boolean includeUnpublished = false;
26

    
27
	private String taxonNameTitle;
28

    
29
	private UUID secUuid;
30

    
31
	private UUID classificationUuid;
32

    
33
	private boolean includeSynonyms = true;
34

    
35
	private boolean onlyMatchingSecUuid = false;
36

    
37
	private boolean onlyMatchingClassificationUuid = false;
38

    
39
	private List<String> propertyPath = null;
40

    
41
	/**
42
	 * @return the taxonName
43
	 */
44
	public String getTaxonNameTitle() {
45
		return taxonNameTitle;
46
	}
47

    
48
	/**
49
	 * @param taxonName the taxonName to set
50
	 */
51
	public void setTaxonNameTitle(String taxonNameTitle) {
52
		this.taxonNameTitle = taxonNameTitle;
53
	}
54

    
55
	/**
56
	 * @return the secUuid
57
	 */
58
	public UUID getSecUuid() {
59
		return secUuid;
60
	}
61

    
62
	/**
63
	 * @param secUuid the secUuid to set
64
	 */
65
	public void setSecUuid(UUID secUuid) {
66
		this.secUuid = secUuid;
67
	}
68

    
69
	/**
70
	 * @return the classificationUuid
71
	 */
72
	public UUID getClassificationUuid() {
73
		return classificationUuid;
74
	}
75

    
76
	/**
77
	 * @param classificationUuid the classificationUuid to set
78
	 */
79
	public void setClassificationUuid(UUID classificationUuid) {
80
		this.classificationUuid = classificationUuid;
81
	}
82

    
83
	/**
84
	 * @return the includeSynonyms
85
	 */
86
	public boolean isIncludeSynonyms() {
87
		return includeSynonyms;
88
	}
89

    
90
	/**
91
	 * Default is <code>true</code>.
92
	 * @param includeSynonyms the includeSynonyms to set
93
	 */
94
	public void setIncludeSynonyms(boolean includeSynonyms) {
95
		this.includeSynonyms = includeSynonyms;
96
	}
97

    
98
	/**
99
	 * @return the onlyMatchingSecUuid
100
	 */
101
	public boolean isOnlyMatchingSecUuid() {
102
		return onlyMatchingSecUuid;
103
	}
104

    
105
	/**
106
	 * @param onlyMatchingSecUuid the onlyMatchingSecUuid to set
107
	 */
108
	public void setOnlyMatchingSecUuid(boolean onlyMatchingSecUuid) {
109
		this.onlyMatchingSecUuid = onlyMatchingSecUuid;
110
	}
111

    
112
	/**
113
	 * @return the onlyMatchingClassificationUuid
114
	 */
115
	public boolean isOnlyMatchingClassificationUuid() {
116
		return onlyMatchingClassificationUuid;
117
	}
118

    
119
	/**
120
	 * @param onlyMatchingClassificationUuid the onlyMatchingClassificationUuid to set
121
	 */
122
	public void setOnlyMatchingClassificationUuid(
123
			boolean onlyMatchingClassificationUuid) {
124
		this.onlyMatchingClassificationUuid = onlyMatchingClassificationUuid;
125
	}
126

    
127
    /**
128
     * @return the propertyPath
129
     */
130
    public List<String> getPropertyPath() {
131
        return propertyPath;
132
    }
133

    
134
    /**
135
     * @param propertyPath the propertyPath to set
136
     */
137
    public void setPropertyPath(List<String> propertyPath) {
138
        this.propertyPath = propertyPath;
139
    }
140

    
141
    public boolean isIncludeUnpublished() {
142
        return includeUnpublished;
143
    }
144
    public void setIncludeUnpublished(boolean includeUnpublished) {
145
        this.includeUnpublished = includeUnpublished;
146
    }
147

    
148

    
149
}
(13-13/30)