Coverage Report - org.xmlhammer.model.project.Filter
 
Classes in this File Line Coverage Branch Coverage Complexity
Filter
91% 
100% 
0
 
 1  
 //
 2  
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
 3  
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 4  
 // Any modifications to this file will be lost upon recompilation of the source schema. 
 5  
 // Generated on: 2007.09.26 at 09:37:45 PM IST 
 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  
  * &lt;element name="filter">
 25  
  *   &lt;complexType>
 26  
  *     &lt;complexContent>
 27  
  *       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 28  
  *         &lt;attribute name="dir" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 29  
  *         &lt;attribute name="extension" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 30  
  *         &lt;attribute name="includeSubdirectories" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 31  
  *         &lt;attribute name="outDir" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 32  
  *         &lt;attribute name="pattern" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 33  
  *         &lt;attribute name="regex" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 34  
  *       &lt;/restriction>
 35  
  *     &lt;/complexContent>
 36  
  *   &lt;/complexType>
 37  
  * &lt;/element>
 38  
  * </pre>
 39  
  * 
 40  
  * 
 41  
  */
 42  
 @XmlAccessorType(XmlAccessType.FIELD)
 43  
 @XmlType(name = "")
 44  
 @XmlRootElement(name = "filter")
 45  352
 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  242
         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  330
         this.dir = value;
 82  330
     }
 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  22
         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  44
         this.extension = value;
 106  44
     }
 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  176
         if (includeSubdirectories == null) {
 118  0
             return false;
 119  
         } else {
 120  176
             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  308
         this.includeSubdirectories = value;
 134  308
     }
 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  44
         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  44
         this.outDir = value;
 158  44
     }
 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  198
         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  308
         this.pattern = value;
 182  308
     }
 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  176
         if (regex == null) {
 194  0
             return false;
 195  
         } else {
 196  176
             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  308
         this.regex = value;
 210  308
     }
 211  
 
 212  
 }