1
2
3
4
5
6
7
8
9 package org.xmlhammer.model.project;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlRootElement;
15 import javax.xml.bind.annotation.XmlType;
16
17
18 /***
19 * <p>Java class for filter element declaration.
20 *
21 * <p>The following schema fragment specifies the expected content contained within this class.
22 *
23 * <pre>
24 * <element name="filter">
25 * <complexType>
26 * <complexContent>
27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28 * <attribute name="dir" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
29 * <attribute name="extension" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
30 * <attribute name="includeSubdirectories" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
31 * <attribute name="outDir" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
32 * <attribute name="pattern" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
33 * <attribute name="regex" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
34 * </restriction>
35 * </complexContent>
36 * </complexType>
37 * </element>
38 * </pre>
39 *
40 *
41 */
42 @XmlAccessorType(XmlAccessType.FIELD)
43 @XmlType(name = "")
44 @XmlRootElement(name = "filter")
45 public class Filter {
46
47 @XmlAttribute(required = true)
48 protected java.lang.String dir;
49 @XmlAttribute
50 protected java.lang.String extension;
51 @XmlAttribute
52 protected java.lang.Boolean includeSubdirectories;
53 @XmlAttribute
54 protected java.lang.String outDir;
55 @XmlAttribute(required = true)
56 protected java.lang.String pattern;
57 @XmlAttribute
58 protected java.lang.Boolean regex;
59
60 /***
61 * Gets the value of the dir property.
62 *
63 * @return
64 * possible object is
65 * {@link java.lang.String }
66 *
67 */
68 public java.lang.String getDir() {
69 return dir;
70 }
71
72 /***
73 * Sets the value of the dir property.
74 *
75 * @param value
76 * allowed object is
77 * {@link java.lang.String }
78 *
79 */
80 public void setDir(java.lang.String value) {
81 this.dir = value;
82 }
83
84 /***
85 * Gets the value of the extension property.
86 *
87 * @return
88 * possible object is
89 * {@link java.lang.String }
90 *
91 */
92 public java.lang.String getExtension() {
93 return extension;
94 }
95
96 /***
97 * Sets the value of the extension property.
98 *
99 * @param value
100 * allowed object is
101 * {@link java.lang.String }
102 *
103 */
104 public void setExtension(java.lang.String value) {
105 this.extension = value;
106 }
107
108 /***
109 * Gets the value of the includeSubdirectories property.
110 *
111 * @return
112 * possible object is
113 * {@link java.lang.Boolean }
114 *
115 */
116 public boolean isIncludeSubdirectories() {
117 if (includeSubdirectories == null) {
118 return false;
119 } else {
120 return includeSubdirectories;
121 }
122 }
123
124 /***
125 * Sets the value of the includeSubdirectories property.
126 *
127 * @param value
128 * allowed object is
129 * {@link java.lang.Boolean }
130 *
131 */
132 public void setIncludeSubdirectories(java.lang.Boolean value) {
133 this.includeSubdirectories = value;
134 }
135
136 /***
137 * Gets the value of the outDir property.
138 *
139 * @return
140 * possible object is
141 * {@link java.lang.String }
142 *
143 */
144 public java.lang.String getOutDir() {
145 return outDir;
146 }
147
148 /***
149 * Sets the value of the outDir property.
150 *
151 * @param value
152 * allowed object is
153 * {@link java.lang.String }
154 *
155 */
156 public void setOutDir(java.lang.String value) {
157 this.outDir = value;
158 }
159
160 /***
161 * Gets the value of the pattern property.
162 *
163 * @return
164 * possible object is
165 * {@link java.lang.String }
166 *
167 */
168 public java.lang.String getPattern() {
169 return pattern;
170 }
171
172 /***
173 * Sets the value of the pattern property.
174 *
175 * @param value
176 * allowed object is
177 * {@link java.lang.String }
178 *
179 */
180 public void setPattern(java.lang.String value) {
181 this.pattern = value;
182 }
183
184 /***
185 * Gets the value of the regex property.
186 *
187 * @return
188 * possible object is
189 * {@link java.lang.Boolean }
190 *
191 */
192 public boolean isRegex() {
193 if (regex == null) {
194 return false;
195 } else {
196 return regex;
197 }
198 }
199
200 /***
201 * Sets the value of the regex property.
202 *
203 * @param value
204 * allowed object is
205 * {@link java.lang.Boolean }
206 *
207 */
208 public void setRegex(java.lang.Boolean value) {
209 this.regex = value;
210 }
211
212 }