Coverage Report - yarfraw.generated.atom03.ext.elements.Atom03Extension
 
Classes in this File Line Coverage Branch Coverage Complexity
Atom03Extension
68% 
100% 
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.atom03.ext.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/atom/ns#}title" minOccurs="0"/>
 31  
  *         &lt;element ref="{http://purl.org/atom/ns#}tagline" minOccurs="0"/>
 32  
  *         &lt;element ref="{http://purl.org/atom/ns#}info" minOccurs="0"/>
 33  
  *         &lt;element ref="{http://purl.org/atom/ns#}issued"/>
 34  
  *         &lt;element ref="{http://purl.org/atom/ns#}summary" minOccurs="0"/>
 35  
  *         &lt;element ref="{http://purl.org/atom/ns#}content" maxOccurs="unbounded" minOccurs="0"/>
 36  
  *       &lt;/sequence>
 37  
  *     &lt;/restriction>
 38  
  *   &lt;/complexContent>
 39  
  * &lt;/complexType>
 40  
  * </pre>
 41  
  * 
 42  
  * 
 43  
  */
 44  
 @XmlAccessorType(XmlAccessType.FIELD)
 45  
 @XmlType(name = "", propOrder = {
 46  
     "title",
 47  
     "tagline",
 48  
     "info",
 49  
     "issued",
 50  
     "summary",
 51  
     "content"
 52  
 })
 53  
 @XmlRootElement(name = "atom03Extension")
 54  3
 public class Atom03Extension {
 55  
 
 56  
     protected ContentType title;
 57  
     protected ContentType tagline;
 58  
     protected ContentType info;
 59  
     @XmlElement(required = true)
 60  
     protected String issued;
 61  
     protected ContentType summary;
 62  
     protected List<ContentType> content;
 63  
 
 64  
     /**
 65  
      *  
 66  
      * The "atom:title" element is a Content construct that conveys a human-readable title for the feed. atom:feed elements MUST contain exactly one atom:title element. If the feed describes a Web resource, its content SHOULD be the same as that resource's title.
 67  
      *  4.4
 68  
      *                                                  
 69  
      *                                                 
 70  
      * 
 71  
      * @return
 72  
      *     possible object is
 73  
      *     {@link ContentType }
 74  
      *     
 75  
      */
 76  
     public ContentType getTitle() {
 77  3
         return title;
 78  
     }
 79  
 
 80  
     /**
 81  
      * Sets the value of the title property.
 82  
      * 
 83  
      * @param value
 84  
      *     allowed object is
 85  
      *     {@link ContentType }
 86  
      *     
 87  
      */
 88  
     public void setTitle(ContentType value) {
 89  3
         this.title = value;
 90  3
     }
 91  
 
 92  
     /**
 93  
      *  
 94  
      * The "atom:tagline" element is a Content construct that conveys a human-readable description or 
 95  
      * tagline for the feed. atom:feed elements MAY contain an atom:tagline element, but MUST NOT contain more than one.
 96  
      *                                                  
 97  
      *                                                 
 98  
      * 
 99  
      * @return
 100  
      *     possible object is
 101  
      *     {@link ContentType }
 102  
      *     
 103  
      */
 104  
     public ContentType getTagline() {
 105  0
         return tagline;
 106  
     }
 107  
 
 108  
     /**
 109  
      * Sets the value of the tagline property.
 110  
      * 
 111  
      * @param value
 112  
      *     allowed object is
 113  
      *     {@link ContentType }
 114  
      *     
 115  
      */
 116  
     public void setTagline(ContentType value) {
 117  0
         this.tagline = value;
 118  0
     }
 119  
 
 120  
     /**
 121  
      *  
 122  
      * The "atom:info" element is a Content construct that conveys a human-readable explanation of the feed format itself. atom:feed elements MAY contain an atom:info element, but MUST NOT contain more than one.
 123  
      * The atom:info element SHOULD NOT considered meaningful by processors; it is a convenience to publishers in certain situations. 
 124  
      *                                                  
 125  
      *                                                 
 126  
      * 
 127  
      * @return
 128  
      *     possible object is
 129  
      *     {@link ContentType }
 130  
      *     
 131  
      */
 132  
     public ContentType getInfo() {
 133  0
         return info;
 134  
     }
 135  
 
 136  
     /**
 137  
      * Sets the value of the info property.
 138  
      * 
 139  
      * @param value
 140  
      *     allowed object is
 141  
      *     {@link ContentType }
 142  
      *     
 143  
      */
 144  
     public void setInfo(ContentType value) {
 145  0
         this.info = value;
 146  0
     }
 147  
 
 148  
     /**
 149  
      *  
 150  
      * The "atom:issued" element is a Date construct that indicates the time that the entry was issued. atom:entry elements MUST contain an atom:issued element, but MUST NOT contain more than one.
 151  
      * The content of an atom:issued element MAY omit a time zone.  
 152  
      *                                                  
 153  
      *                                                 
 154  
      * 
 155  
      * @return
 156  
      *     possible object is
 157  
      *     {@link String }
 158  
      *     
 159  
      */
 160  
     public String getIssued() {
 161  3
         return issued;
 162  
     }
 163  
 
 164  
     /**
 165  
      * Sets the value of the issued property.
 166  
      * 
 167  
      * @param value
 168  
      *     allowed object is
 169  
      *     {@link String }
 170  
      *     
 171  
      */
 172  
     public void setIssued(String value) {
 173  3
         this.issued = value;
 174  3
     }
 175  
 
 176  
     /**
 177  
      *  
 178  
      * The "atom:summary" element is a Content construct that conveys a short summary, 
 179  
      * abstract or excerpt of the entry. atom:entry elements MAY contain an atom:created element, but MUST NOT contain more than one. 
 180  
      *                                                  
 181  
      *                                                 
 182  
      * 
 183  
      * @return
 184  
      *     possible object is
 185  
      *     {@link ContentType }
 186  
      *     
 187  
      */
 188  
     public ContentType getSummary() {
 189  3
         return summary;
 190  
     }
 191  
 
 192  
     /**
 193  
      * Sets the value of the summary property.
 194  
      * 
 195  
      * @param value
 196  
      *     allowed object is
 197  
      *     {@link ContentType }
 198  
      *     
 199  
      */
 200  
     public void setSummary(ContentType value) {
 201  3
         this.summary = value;
 202  3
     }
 203  
 
 204  
     /**
 205  
      *  
 206  
      * The "atom:content" element is a Content construct that conveys the content of the entry. atom:entry elements MAY contain one or more atom:content elements.
 207  
      * If @type="multipart/alternative", @mode MUST NOT be specified, and content element MUST contain 1 or more content elements. These content elements MUST NOT 
 208  
      * specify @type="multipart/alternative" (i.e. only one level of nesting is allowed). Consumers SHOULD look at all alternative content elements and determine which one is most suitable, based on which @type and @mode the consumer supports, and preferences specified by the end user (if any). Consumers SHOULD NOT render more than one content alternative.  
 209  
      *                                                  
 210  
      *                                                 Gets the value of the content property.
 211  
      * 
 212  
      * <p>
 213  
      * This accessor method returns a reference to the live list,
 214  
      * not a snapshot. Therefore any modification you make to the
 215  
      * returned list will be present inside the JAXB object.
 216  
      * This is why there is not a <CODE>set</CODE> method for the content property.
 217  
      * 
 218  
      * <p>
 219  
      * For example, to add a new item, do as follows:
 220  
      * <pre>
 221  
      *    getContent().add(newItem);
 222  
      * </pre>
 223  
      * 
 224  
      * 
 225  
      * <p>
 226  
      * Objects of the following type(s) are allowed in the list
 227  
      * {@link ContentType }
 228  
      * 
 229  
      * 
 230  
      */
 231  
     public List<ContentType> getContent() {
 232  9
         if (content == null) {
 233  3
             content = new ArrayList<ContentType>();
 234  
         }
 235  9
         return this.content;
 236  
     }
 237  
 
 238  
 }