Coverage Report - yarfraw.generated.rss10.elements.DublinCoreExtension
 
Classes in this File Line Coverage Branch Coverage Complexity
DublinCoreExtension
87% 
0% 
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:45 AM EDT 
 6  
 //
 7  
 
 8  
 
 9  
 package yarfraw.generated.rss10.elements;
 10  
 
 11  
 import java.util.ArrayList;
 12  
 import java.util.List;
 13  
 import javax.xml.bind.annotation.XmlAccessType;
 14  
 import javax.xml.bind.annotation.XmlAccessorType;
 15  
 import javax.xml.bind.annotation.XmlElement;
 16  
 import javax.xml.bind.annotation.XmlRootElement;
 17  
 import javax.xml.bind.annotation.XmlType;
 18  
 
 19  
 
 20  
 /**
 21  
  * <p>Java class for anonymous complex type.
 22  
  * 
 23  
  * <p>The following schema fragment specifies the expected content contained within this class.
 24  
  * 
 25  
  * <pre>
 26  
  * &lt;complexType>
 27  
  *   &lt;complexContent>
 28  
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 29  
  *       &lt;sequence>
 30  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}title"/>
 31  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}creator"/>
 32  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}subject" maxOccurs="unbounded"/>
 33  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}description"/>
 34  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}publisher"/>
 35  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}contributor" maxOccurs="unbounded"/>
 36  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}date"/>
 37  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}type"/>
 38  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}format"/>
 39  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}identifier"/>
 40  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}source"/>
 41  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}language"/>
 42  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}relation"/>
 43  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}coverage"/>
 44  
  *         &lt;element ref="{http://purl.org/dc/elements/1.1/}rights"/>
 45  
  *       &lt;/sequence>
 46  
  *     &lt;/restriction>
 47  
  *   &lt;/complexContent>
 48  
  * &lt;/complexType>
 49  
  * </pre>
 50  
  * 
 51  
  * 
 52  
  */
 53  
 @XmlAccessorType(XmlAccessType.FIELD)
 54  
 @XmlType(name = "", propOrder = {
 55  
     "title",
 56  
     "creator",
 57  
     "subject",
 58  
     "description",
 59  
     "publisher",
 60  
     "contributor",
 61  
     "date",
 62  
     "type",
 63  
     "format",
 64  
     "identifier",
 65  
     "source",
 66  
     "language",
 67  
     "relation",
 68  
     "coverage",
 69  
     "rights"
 70  
 })
 71  
 @XmlRootElement(name = "dublinCoreExtension", namespace = "http://purl.org/dc/elements/1.1/")
 72  6
 public class DublinCoreExtension {
 73  
 
 74  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 75  
     protected DcType title;
 76  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 77  
     protected DcType creator;
 78  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 79  
     protected List<DcType> subject;
 80  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 81  
     protected DcType description;
 82  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 83  
     protected DcType publisher;
 84  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 85  
     protected List<DcType> contributor;
 86  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 87  
     protected DcType date;
 88  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 89  
     protected DcType type;
 90  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 91  
     protected DcType format;
 92  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 93  
     protected DcType identifier;
 94  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 95  
     protected DcType source;
 96  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 97  
     protected DcType language;
 98  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 99  
     protected DcType relation;
 100  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 101  
     protected DcType coverage;
 102  
     @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true)
 103  
     protected DcType rights;
 104  
 
 105  
     /**
 106  
      * Gets the value of the title property.
 107  
      * 
 108  
      * @return
 109  
      *     possible object is
 110  
      *     {@link DcType }
 111  
      *     
 112  
      */
 113  
     public DcType getTitle() {
 114  6
         return title;
 115  
     }
 116  
 
 117  
     /**
 118  
      * Sets the value of the title property.
 119  
      * 
 120  
      * @param value
 121  
      *     allowed object is
 122  
      *     {@link DcType }
 123  
      *     
 124  
      */
 125  
     public void setTitle(DcType value) {
 126  6
         this.title = value;
 127  6
     }
 128  
 
 129  
     /**
 130  
      * Gets the value of the creator property.
 131  
      * 
 132  
      * @return
 133  
      *     possible object is
 134  
      *     {@link DcType }
 135  
      *     
 136  
      */
 137  
     public DcType getCreator() {
 138  6
         return creator;
 139  
     }
 140  
 
 141  
     /**
 142  
      * Sets the value of the creator property.
 143  
      * 
 144  
      * @param value
 145  
      *     allowed object is
 146  
      *     {@link DcType }
 147  
      *     
 148  
      */
 149  
     public void setCreator(DcType value) {
 150  6
         this.creator = value;
 151  6
     }
 152  
 
 153  
     /**
 154  
      * Gets the value of the subject property.
 155  
      * 
 156  
      * <p>
 157  
      * This accessor method returns a reference to the live list,
 158  
      * not a snapshot. Therefore any modification you make to the
 159  
      * returned list will be present inside the JAXB object.
 160  
      * This is why there is not a <CODE>set</CODE> method for the subject property.
 161  
      * 
 162  
      * <p>
 163  
      * For example, to add a new item, do as follows:
 164  
      * <pre>
 165  
      *    getSubject().add(newItem);
 166  
      * </pre>
 167  
      * 
 168  
      * 
 169  
      * <p>
 170  
      * Objects of the following type(s) are allowed in the list
 171  
      * {@link DcType }
 172  
      * 
 173  
      * 
 174  
      */
 175  
     public List<DcType> getSubject() {
 176  0
         if (subject == null) {
 177  0
             subject = new ArrayList<DcType>();
 178  
         }
 179  0
         return this.subject;
 180  
     }
 181  
 
 182  
     /**
 183  
      * Gets the value of the description property.
 184  
      * 
 185  
      * @return
 186  
      *     possible object is
 187  
      *     {@link DcType }
 188  
      *     
 189  
      */
 190  
     public DcType getDescription() {
 191  6
         return description;
 192  
     }
 193  
 
 194  
     /**
 195  
      * Sets the value of the description property.
 196  
      * 
 197  
      * @param value
 198  
      *     allowed object is
 199  
      *     {@link DcType }
 200  
      *     
 201  
      */
 202  
     public void setDescription(DcType value) {
 203  6
         this.description = value;
 204  6
     }
 205  
 
 206  
     /**
 207  
      * Gets the value of the publisher property.
 208  
      * 
 209  
      * @return
 210  
      *     possible object is
 211  
      *     {@link DcType }
 212  
      *     
 213  
      */
 214  
     public DcType getPublisher() {
 215  6
         return publisher;
 216  
     }
 217  
 
 218  
     /**
 219  
      * Sets the value of the publisher property.
 220  
      * 
 221  
      * @param value
 222  
      *     allowed object is
 223  
      *     {@link DcType }
 224  
      *     
 225  
      */
 226  
     public void setPublisher(DcType value) {
 227  6
         this.publisher = value;
 228  6
     }
 229  
 
 230  
     /**
 231  
      * Gets the value of the contributor property.
 232  
      * 
 233  
      * <p>
 234  
      * This accessor method returns a reference to the live list,
 235  
      * not a snapshot. Therefore any modification you make to the
 236  
      * returned list will be present inside the JAXB object.
 237  
      * This is why there is not a <CODE>set</CODE> method for the contributor property.
 238  
      * 
 239  
      * <p>
 240  
      * For example, to add a new item, do as follows:
 241  
      * <pre>
 242  
      *    getContributor().add(newItem);
 243  
      * </pre>
 244  
      * 
 245  
      * 
 246  
      * <p>
 247  
      * Objects of the following type(s) are allowed in the list
 248  
      * {@link DcType }
 249  
      * 
 250  
      * 
 251  
      */
 252  
     public List<DcType> getContributor() {
 253  0
         if (contributor == null) {
 254  0
             contributor = new ArrayList<DcType>();
 255  
         }
 256  0
         return this.contributor;
 257  
     }
 258  
 
 259  
     /**
 260  
      * Gets the value of the date property.
 261  
      * 
 262  
      * @return
 263  
      *     possible object is
 264  
      *     {@link DcType }
 265  
      *     
 266  
      */
 267  
     public DcType getDate() {
 268  6
         return date;
 269  
     }
 270  
 
 271  
     /**
 272  
      * Sets the value of the date property.
 273  
      * 
 274  
      * @param value
 275  
      *     allowed object is
 276  
      *     {@link DcType }
 277  
      *     
 278  
      */
 279  
     public void setDate(DcType value) {
 280  6
         this.date = value;
 281  6
     }
 282  
 
 283  
     /**
 284  
      * Gets the value of the type property.
 285  
      * 
 286  
      * @return
 287  
      *     possible object is
 288  
      *     {@link DcType }
 289  
      *     
 290  
      */
 291  
     public DcType getType() {
 292  6
         return type;
 293  
     }
 294  
 
 295  
     /**
 296  
      * Sets the value of the type property.
 297  
      * 
 298  
      * @param value
 299  
      *     allowed object is
 300  
      *     {@link DcType }
 301  
      *     
 302  
      */
 303  
     public void setType(DcType value) {
 304  6
         this.type = value;
 305  6
     }
 306  
 
 307  
     /**
 308  
      * Gets the value of the format property.
 309  
      * 
 310  
      * @return
 311  
      *     possible object is
 312  
      *     {@link DcType }
 313  
      *     
 314  
      */
 315  
     public DcType getFormat() {
 316  6
         return format;
 317  
     }
 318  
 
 319  
     /**
 320  
      * Sets the value of the format property.
 321  
      * 
 322  
      * @param value
 323  
      *     allowed object is
 324  
      *     {@link DcType }
 325  
      *     
 326  
      */
 327  
     public void setFormat(DcType value) {
 328  6
         this.format = value;
 329  6
     }
 330  
 
 331  
     /**
 332  
      * Gets the value of the identifier property.
 333  
      * 
 334  
      * @return
 335  
      *     possible object is
 336  
      *     {@link DcType }
 337  
      *     
 338  
      */
 339  
     public DcType getIdentifier() {
 340  6
         return identifier;
 341  
     }
 342  
 
 343  
     /**
 344  
      * Sets the value of the identifier property.
 345  
      * 
 346  
      * @param value
 347  
      *     allowed object is
 348  
      *     {@link DcType }
 349  
      *     
 350  
      */
 351  
     public void setIdentifier(DcType value) {
 352  6
         this.identifier = value;
 353  6
     }
 354  
 
 355  
     /**
 356  
      * Gets the value of the source property.
 357  
      * 
 358  
      * @return
 359  
      *     possible object is
 360  
      *     {@link DcType }
 361  
      *     
 362  
      */
 363  
     public DcType getSource() {
 364  6
         return source;
 365  
     }
 366  
 
 367  
     /**
 368  
      * Sets the value of the source property.
 369  
      * 
 370  
      * @param value
 371  
      *     allowed object is
 372  
      *     {@link DcType }
 373  
      *     
 374  
      */
 375  
     public void setSource(DcType value) {
 376  6
         this.source = value;
 377  6
     }
 378  
 
 379  
     /**
 380  
      * Gets the value of the language property.
 381  
      * 
 382  
      * @return
 383  
      *     possible object is
 384  
      *     {@link DcType }
 385  
      *     
 386  
      */
 387  
     public DcType getLanguage() {
 388  6
         return language;
 389  
     }
 390  
 
 391  
     /**
 392  
      * Sets the value of the language property.
 393  
      * 
 394  
      * @param value
 395  
      *     allowed object is
 396  
      *     {@link DcType }
 397  
      *     
 398  
      */
 399  
     public void setLanguage(DcType value) {
 400  6
         this.language = value;
 401  6
     }
 402  
 
 403  
     /**
 404  
      * Gets the value of the relation property.
 405  
      * 
 406  
      * @return
 407  
      *     possible object is
 408  
      *     {@link DcType }
 409  
      *     
 410  
      */
 411  
     public DcType getRelation() {
 412  6
         return relation;
 413  
     }
 414  
 
 415  
     /**
 416  
      * Sets the value of the relation property.
 417  
      * 
 418  
      * @param value
 419  
      *     allowed object is
 420  
      *     {@link DcType }
 421  
      *     
 422  
      */
 423  
     public void setRelation(DcType value) {
 424  6
         this.relation = value;
 425  6
     }
 426  
 
 427  
     /**
 428  
      * Gets the value of the coverage property.
 429  
      * 
 430  
      * @return
 431  
      *     possible object is
 432  
      *     {@link DcType }
 433  
      *     
 434  
      */
 435  
     public DcType getCoverage() {
 436  12
         return coverage;
 437  
     }
 438  
 
 439  
     /**
 440  
      * Sets the value of the coverage property.
 441  
      * 
 442  
      * @param value
 443  
      *     allowed object is
 444  
      *     {@link DcType }
 445  
      *     
 446  
      */
 447  
     public void setCoverage(DcType value) {
 448  6
         this.coverage = value;
 449  6
     }
 450  
 
 451  
     /**
 452  
      * Gets the value of the rights property.
 453  
      * 
 454  
      * @return
 455  
      *     possible object is
 456  
      *     {@link DcType }
 457  
      *     
 458  
      */
 459  
     public DcType getRights() {
 460  6
         return rights;
 461  
     }
 462  
 
 463  
     /**
 464  
      * Sets the value of the rights property.
 465  
      * 
 466  
      * @param value
 467  
      *     allowed object is
 468  
      *     {@link DcType }
 469  
      *     
 470  
      */
 471  
     public void setRights(DcType value) {
 472  6
         this.rights = value;
 473  6
     }
 474  
 
 475  
 }