Coverage Report - yarfraw.generated.atom10.elements.GeneratorType
 
Classes in this File Line Coverage Branch Coverage Complexity
GeneratorType
100% 
N/A 
0
 
 1  
 //
 2  
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-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: 2008.06.11 at 12:15:37 AM EDT 
 6  
 //
 7  
 
 8  
 
 9  
 package yarfraw.generated.atom10.elements;
 10  
 
 11  
 import java.util.HashMap;
 12  
 import java.util.Map;
 13  
 import javax.xml.bind.annotation.XmlAccessType;
 14  
 import javax.xml.bind.annotation.XmlAccessorType;
 15  
 import javax.xml.bind.annotation.XmlAnyAttribute;
 16  
 import javax.xml.bind.annotation.XmlAttribute;
 17  
 import javax.xml.bind.annotation.XmlSchemaType;
 18  
 import javax.xml.bind.annotation.XmlType;
 19  
 import javax.xml.bind.annotation.XmlValue;
 20  
 import javax.xml.namespace.QName;
 21  
 
 22  
 
 23  
 /**
 24  
  * 
 25  
  *                                 The Atom generator element is defined in section 4.2.4 of the format spec.
 26  
  *                         
 27  
  * 
 28  
  * <p>Java class for generatorType complex type.
 29  
  * 
 30  
  * <p>The following schema fragment specifies the expected content contained within this class.
 31  
  * 
 32  
  * <pre>
 33  
  * &lt;complexType name="generatorType">
 34  
  *   &lt;simpleContent>
 35  
  *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
 36  
  *       &lt;attGroup ref="{http://www.w3.org/2005/Atom}commonAttributes"/>
 37  
  *       &lt;attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 38  
  *       &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
 39  
  *     &lt;/extension>
 40  
  *   &lt;/simpleContent>
 41  
  * &lt;/complexType>
 42  
  * </pre>
 43  
  * 
 44  
  * 
 45  
  */
 46  
 @XmlAccessorType(XmlAccessType.FIELD)
 47  
 @XmlType(name = "generatorType", propOrder = {
 48  
     "value"
 49  
 })
 50  39
 public class GeneratorType {
 51  
 
 52  
     @XmlValue
 53  
     protected String value;
 54  
     @XmlAttribute
 55  
     @XmlSchemaType(name = "anyURI")
 56  
     protected String uri;
 57  
     @XmlAttribute
 58  
     protected String version;
 59  
     @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
 60  
     @XmlSchemaType(name = "anyURI")
 61  
     protected String base;
 62  
     @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
 63  
     protected String lang;
 64  39
     @XmlAnyAttribute
 65  
     private Map<QName, String> otherAttributes = new HashMap<QName, String>();
 66  
 
 67  
     /**
 68  
      * Gets the value of the value property.
 69  
      * 
 70  
      * @return
 71  
      *     possible object is
 72  
      *     {@link String }
 73  
      *     
 74  
      */
 75  
     public String getValue() {
 76  27
         return value;
 77  
     }
 78  
 
 79  
     /**
 80  
      * Sets the value of the value property.
 81  
      * 
 82  
      * @param value
 83  
      *     allowed object is
 84  
      *     {@link String }
 85  
      *     
 86  
      */
 87  
     public void setValue(String value) {
 88  12
         this.value = value;
 89  12
     }
 90  
 
 91  
     /**
 92  
      * Gets the value of the uri property.
 93  
      * 
 94  
      * @return
 95  
      *     possible object is
 96  
      *     {@link String }
 97  
      *     
 98  
      */
 99  
     public String getUri() {
 100  27
         return uri;
 101  
     }
 102  
 
 103  
     /**
 104  
      * Sets the value of the uri property.
 105  
      * 
 106  
      * @param value
 107  
      *     allowed object is
 108  
      *     {@link String }
 109  
      *     
 110  
      */
 111  
     public void setUri(String value) {
 112  12
         this.uri = value;
 113  12
     }
 114  
 
 115  
     /**
 116  
      * Gets the value of the version property.
 117  
      * 
 118  
      * @return
 119  
      *     possible object is
 120  
      *     {@link String }
 121  
      *     
 122  
      */
 123  
     public String getVersion() {
 124  27
         return version;
 125  
     }
 126  
 
 127  
     /**
 128  
      * Sets the value of the version property.
 129  
      * 
 130  
      * @param value
 131  
      *     allowed object is
 132  
      *     {@link String }
 133  
      *     
 134  
      */
 135  
     public void setVersion(String value) {
 136  12
         this.version = value;
 137  12
     }
 138  
 
 139  
     /**
 140  
      * Gets the value of the base property.
 141  
      * 
 142  
      * @return
 143  
      *     possible object is
 144  
      *     {@link String }
 145  
      *     
 146  
      */
 147  
     public String getBase() {
 148  27
         return base;
 149  
     }
 150  
 
 151  
     /**
 152  
      * Sets the value of the base property.
 153  
      * 
 154  
      * @param value
 155  
      *     allowed object is
 156  
      *     {@link String }
 157  
      *     
 158  
      */
 159  
     public void setBase(String value) {
 160  12
         this.base = value;
 161  12
     }
 162  
 
 163  
     /**
 164  
      * Gets the value of the lang property.
 165  
      * 
 166  
      * @return
 167  
      *     possible object is
 168  
      *     {@link String }
 169  
      *     
 170  
      */
 171  
     public String getLang() {
 172  27
         return lang;
 173  
     }
 174  
 
 175  
     /**
 176  
      * Sets the value of the lang property.
 177  
      * 
 178  
      * @param value
 179  
      *     allowed object is
 180  
      *     {@link String }
 181  
      *     
 182  
      */
 183  
     public void setLang(String value) {
 184  12
         this.lang = value;
 185  12
     }
 186  
 
 187  
     /**
 188  
      * Gets a map that contains attributes that aren't bound to any typed property on this class.
 189  
      * 
 190  
      * <p>
 191  
      * the map is keyed by the name of the attribute and 
 192  
      * the value is the string value of the attribute.
 193  
      * 
 194  
      * the map returned by this method is live, and you can add new attribute
 195  
      * by updating the map directly. Because of this design, there's no setter.
 196  
      * 
 197  
      * 
 198  
      * @return
 199  
      *     always non-null
 200  
      */
 201  
     public Map<QName, String> getOtherAttributes() {
 202  39
         return otherAttributes;
 203  
     }
 204  
 
 205  
 }