Coverage Report - yarfraw.generated.mrss.elements.MrssGroupType
 
Classes in this File Line Coverage Branch Coverage Complexity
MrssGroupType
42% 
33% 
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.mrss.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.XmlType;
 17  
 
 18  
 
 19  
 /**
 20  
  * <p>Java class for mrssGroupType complex type.
 21  
  * 
 22  
  * <p>The following schema fragment specifies the expected content contained within this class.
 23  
  * 
 24  
  * <pre>
 25  
  * &lt;complexType name="mrssGroupType">
 26  
  *   &lt;complexContent>
 27  
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 28  
  *       &lt;choice>
 29  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}content" maxOccurs="unbounded"/>
 30  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}rating" minOccurs="0"/>
 31  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}title" minOccurs="0"/>
 32  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}description" minOccurs="0"/>
 33  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}keywords" minOccurs="0"/>
 34  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}thumbnail" minOccurs="0"/>
 35  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}category" maxOccurs="unbounded" minOccurs="0"/>
 36  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}hash" minOccurs="0"/>
 37  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}player" minOccurs="0"/>
 38  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}credit" maxOccurs="unbounded" minOccurs="0"/>
 39  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}restriction" minOccurs="0"/>
 40  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}copyright" minOccurs="0"/>
 41  
  *         &lt;element ref="{http://tools.search.yahoo.com/mrss/}text" minOccurs="0"/>
 42  
  *         &lt;element ref="{http://purl.org/dc/terms/}valid" minOccurs="0"/>
 43  
  *       &lt;/choice>
 44  
  *     &lt;/restriction>
 45  
  *   &lt;/complexContent>
 46  
  * &lt;/complexType>
 47  
  * </pre>
 48  
  * 
 49  
  * 
 50  
  */
 51  
 @XmlAccessorType(XmlAccessType.FIELD)
 52  
 @XmlType(name = "mrssGroupType", propOrder = {
 53  
     "content",
 54  
     "rating",
 55  
     "title",
 56  
     "description",
 57  
     "keywords",
 58  
     "thumbnail",
 59  
     "category",
 60  
     "hash",
 61  
     "player",
 62  
     "credit",
 63  
     "restriction",
 64  
     "copyright",
 65  
     "text",
 66  
     "valid"
 67  
 })
 68  6
 public class MrssGroupType {
 69  
 
 70  
     protected List<MrssContentType> content;
 71  
     protected MrssRatingType rating;
 72  
     protected MrssTitleType title;
 73  
     protected MrssDescriptionType description;
 74  
     protected String keywords;
 75  
     protected MrssThumbnailType thumbnail;
 76  
     protected List<MrssCategoryType> category;
 77  
     protected MrssHashType hash;
 78  
     protected MrssPlayerType player;
 79  
     protected List<MrssCreditType> credit;
 80  
     protected MrssRestrictionType restriction;
 81  
     protected MrssCopyrightType copyright;
 82  
     protected MrssTextType text;
 83  
     @XmlElement(namespace = "http://purl.org/dc/terms/")
 84  
     protected String valid;
 85  
 
 86  
     /**
 87  
      * Gets the value of the content property.
 88  
      * 
 89  
      * <p>
 90  
      * This accessor method returns a reference to the live list,
 91  
      * not a snapshot. Therefore any modification you make to the
 92  
      * returned list will be present inside the JAXB object.
 93  
      * This is why there is not a <CODE>set</CODE> method for the content property.
 94  
      * 
 95  
      * <p>
 96  
      * For example, to add a new item, do as follows:
 97  
      * <pre>
 98  
      *    getContent().add(newItem);
 99  
      * </pre>
 100  
      * 
 101  
      * 
 102  
      * <p>
 103  
      * Objects of the following type(s) are allowed in the list
 104  
      * {@link MrssContentType }
 105  
      * 
 106  
      * 
 107  
      */
 108  
     public List<MrssContentType> getContent() {
 109  6
         if (content == null) {
 110  3
             content = new ArrayList<MrssContentType>();
 111  
         }
 112  6
         return this.content;
 113  
     }
 114  
 
 115  
     /**
 116  
      * Gets the value of the rating property.
 117  
      * 
 118  
      * @return
 119  
      *     possible object is
 120  
      *     {@link MrssRatingType }
 121  
      *     
 122  
      */
 123  
     public MrssRatingType getRating() {
 124  0
         return rating;
 125  
     }
 126  
 
 127  
     /**
 128  
      * Sets the value of the rating property.
 129  
      * 
 130  
      * @param value
 131  
      *     allowed object is
 132  
      *     {@link MrssRatingType }
 133  
      *     
 134  
      */
 135  
     public void setRating(MrssRatingType value) {
 136  3
         this.rating = value;
 137  3
     }
 138  
 
 139  
     /**
 140  
      * Gets the value of the title property.
 141  
      * 
 142  
      * @return
 143  
      *     possible object is
 144  
      *     {@link MrssTitleType }
 145  
      *     
 146  
      */
 147  
     public MrssTitleType getTitle() {
 148  0
         return title;
 149  
     }
 150  
 
 151  
     /**
 152  
      * Sets the value of the title property.
 153  
      * 
 154  
      * @param value
 155  
      *     allowed object is
 156  
      *     {@link MrssTitleType }
 157  
      *     
 158  
      */
 159  
     public void setTitle(MrssTitleType value) {
 160  0
         this.title = value;
 161  0
     }
 162  
 
 163  
     /**
 164  
      * Gets the value of the description property.
 165  
      * 
 166  
      * @return
 167  
      *     possible object is
 168  
      *     {@link MrssDescriptionType }
 169  
      *     
 170  
      */
 171  
     public MrssDescriptionType getDescription() {
 172  0
         return description;
 173  
     }
 174  
 
 175  
     /**
 176  
      * Sets the value of the description property.
 177  
      * 
 178  
      * @param value
 179  
      *     allowed object is
 180  
      *     {@link MrssDescriptionType }
 181  
      *     
 182  
      */
 183  
     public void setDescription(MrssDescriptionType value) {
 184  3
         this.description = value;
 185  3
     }
 186  
 
 187  
     /**
 188  
      * Gets the value of the keywords property.
 189  
      * 
 190  
      * @return
 191  
      *     possible object is
 192  
      *     {@link String }
 193  
      *     
 194  
      */
 195  
     public String getKeywords() {
 196  0
         return keywords;
 197  
     }
 198  
 
 199  
     /**
 200  
      * Sets the value of the keywords property.
 201  
      * 
 202  
      * @param value
 203  
      *     allowed object is
 204  
      *     {@link String }
 205  
      *     
 206  
      */
 207  
     public void setKeywords(String value) {
 208  3
         this.keywords = value;
 209  3
     }
 210  
 
 211  
     /**
 212  
      * Gets the value of the thumbnail property.
 213  
      * 
 214  
      * @return
 215  
      *     possible object is
 216  
      *     {@link MrssThumbnailType }
 217  
      *     
 218  
      */
 219  
     public MrssThumbnailType getThumbnail() {
 220  0
         return thumbnail;
 221  
     }
 222  
 
 223  
     /**
 224  
      * Sets the value of the thumbnail property.
 225  
      * 
 226  
      * @param value
 227  
      *     allowed object is
 228  
      *     {@link MrssThumbnailType }
 229  
      *     
 230  
      */
 231  
     public void setThumbnail(MrssThumbnailType value) {
 232  0
         this.thumbnail = value;
 233  0
     }
 234  
 
 235  
     /**
 236  
      * Gets the value of the category property.
 237  
      * 
 238  
      * <p>
 239  
      * This accessor method returns a reference to the live list,
 240  
      * not a snapshot. Therefore any modification you make to the
 241  
      * returned list will be present inside the JAXB object.
 242  
      * This is why there is not a <CODE>set</CODE> method for the category property.
 243  
      * 
 244  
      * <p>
 245  
      * For example, to add a new item, do as follows:
 246  
      * <pre>
 247  
      *    getCategory().add(newItem);
 248  
      * </pre>
 249  
      * 
 250  
      * 
 251  
      * <p>
 252  
      * Objects of the following type(s) are allowed in the list
 253  
      * {@link MrssCategoryType }
 254  
      * 
 255  
      * 
 256  
      */
 257  
     public List<MrssCategoryType> getCategory() {
 258  0
         if (category == null) {
 259  0
             category = new ArrayList<MrssCategoryType>();
 260  
         }
 261  0
         return this.category;
 262  
     }
 263  
 
 264  
     /**
 265  
      * Gets the value of the hash property.
 266  
      * 
 267  
      * @return
 268  
      *     possible object is
 269  
      *     {@link MrssHashType }
 270  
      *     
 271  
      */
 272  
     public MrssHashType getHash() {
 273  0
         return hash;
 274  
     }
 275  
 
 276  
     /**
 277  
      * Sets the value of the hash property.
 278  
      * 
 279  
      * @param value
 280  
      *     allowed object is
 281  
      *     {@link MrssHashType }
 282  
      *     
 283  
      */
 284  
     public void setHash(MrssHashType value) {
 285  3
         this.hash = value;
 286  3
     }
 287  
 
 288  
     /**
 289  
      * Gets the value of the player property.
 290  
      * 
 291  
      * @return
 292  
      *     possible object is
 293  
      *     {@link MrssPlayerType }
 294  
      *     
 295  
      */
 296  
     public MrssPlayerType getPlayer() {
 297  0
         return player;
 298  
     }
 299  
 
 300  
     /**
 301  
      * Sets the value of the player property.
 302  
      * 
 303  
      * @param value
 304  
      *     allowed object is
 305  
      *     {@link MrssPlayerType }
 306  
      *     
 307  
      */
 308  
     public void setPlayer(MrssPlayerType value) {
 309  3
         this.player = value;
 310  3
     }
 311  
 
 312  
     /**
 313  
      * Gets the value of the credit property.
 314  
      * 
 315  
      * <p>
 316  
      * This accessor method returns a reference to the live list,
 317  
      * not a snapshot. Therefore any modification you make to the
 318  
      * returned list will be present inside the JAXB object.
 319  
      * This is why there is not a <CODE>set</CODE> method for the credit property.
 320  
      * 
 321  
      * <p>
 322  
      * For example, to add a new item, do as follows:
 323  
      * <pre>
 324  
      *    getCredit().add(newItem);
 325  
      * </pre>
 326  
      * 
 327  
      * 
 328  
      * <p>
 329  
      * Objects of the following type(s) are allowed in the list
 330  
      * {@link MrssCreditType }
 331  
      * 
 332  
      * 
 333  
      */
 334  
     public List<MrssCreditType> getCredit() {
 335  0
         if (credit == null) {
 336  0
             credit = new ArrayList<MrssCreditType>();
 337  
         }
 338  0
         return this.credit;
 339  
     }
 340  
 
 341  
     /**
 342  
      * Gets the value of the restriction property.
 343  
      * 
 344  
      * @return
 345  
      *     possible object is
 346  
      *     {@link MrssRestrictionType }
 347  
      *     
 348  
      */
 349  
     public MrssRestrictionType getRestriction() {
 350  0
         return restriction;
 351  
     }
 352  
 
 353  
     /**
 354  
      * Sets the value of the restriction property.
 355  
      * 
 356  
      * @param value
 357  
      *     allowed object is
 358  
      *     {@link MrssRestrictionType }
 359  
      *     
 360  
      */
 361  
     public void setRestriction(MrssRestrictionType value) {
 362  0
         this.restriction = value;
 363  0
     }
 364  
 
 365  
     /**
 366  
      * Gets the value of the copyright property.
 367  
      * 
 368  
      * @return
 369  
      *     possible object is
 370  
      *     {@link MrssCopyrightType }
 371  
      *     
 372  
      */
 373  
     public MrssCopyrightType getCopyright() {
 374  0
         return copyright;
 375  
     }
 376  
 
 377  
     /**
 378  
      * Sets the value of the copyright property.
 379  
      * 
 380  
      * @param value
 381  
      *     allowed object is
 382  
      *     {@link MrssCopyrightType }
 383  
      *     
 384  
      */
 385  
     public void setCopyright(MrssCopyrightType value) {
 386  3
         this.copyright = value;
 387  3
     }
 388  
 
 389  
     /**
 390  
      * Gets the value of the text property.
 391  
      * 
 392  
      * @return
 393  
      *     possible object is
 394  
      *     {@link MrssTextType }
 395  
      *     
 396  
      */
 397  
     public MrssTextType getText() {
 398  0
         return text;
 399  
     }
 400  
 
 401  
     /**
 402  
      * Sets the value of the text property.
 403  
      * 
 404  
      * @param value
 405  
      *     allowed object is
 406  
      *     {@link MrssTextType }
 407  
      *     
 408  
      */
 409  
     public void setText(MrssTextType value) {
 410  3
         this.text = value;
 411  3
     }
 412  
 
 413  
     /**
 414  
      * Gets the value of the valid property.
 415  
      * 
 416  
      * @return
 417  
      *     possible object is
 418  
      *     {@link String }
 419  
      *     
 420  
      */
 421  
     public String getValid() {
 422  0
         return valid;
 423  
     }
 424  
 
 425  
     /**
 426  
      * Sets the value of the valid property.
 427  
      * 
 428  
      * @param value
 429  
      *     allowed object is
 430  
      *     {@link String }
 431  
      *     
 432  
      */
 433  
     public void setValid(String value) {
 434  0
         this.valid = value;
 435  0
     }
 436  
 
 437  
 }