Coverage Report - org.xmlhammer.model.tools.xslt.Associated
 
Classes in this File Line Coverage Branch Coverage Complexity
Associated
100% 
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.tools.xslt;
 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.XmlAttribute;
 16  
 import javax.xml.bind.annotation.XmlElement;
 17  
 import javax.xml.bind.annotation.XmlRootElement;
 18  
 import javax.xml.bind.annotation.XmlType;
 19  
 import org.xmlhammer.model.project.Parameter;
 20  
 
 21  
 
 22  
 /**
 23  
  * <p>Java class for associated element declaration.
 24  
  * 
 25  
  * <p>The following schema fragment specifies the expected content contained within this class.
 26  
  * 
 27  
  * <pre>
 28  
  * &lt;element name="associated">
 29  
  *   &lt;complexType>
 30  
  *     &lt;complexContent>
 31  
  *       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 32  
  *         &lt;sequence maxOccurs="unbounded">
 33  
  *           &lt;element ref="{http://www.xmlhammer.org/2007/project}parameter"/>
 34  
  *         &lt;/sequence>
 35  
  *         &lt;attribute name="charset" type="{http://www.w3.org/2001/XMLSchema}string" />
 36  
  *         &lt;attribute name="media" type="{http://www.w3.org/2001/XMLSchema}string" />
 37  
  *         &lt;attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
 38  
  *       &lt;/restriction>
 39  
  *     &lt;/complexContent>
 40  
  *   &lt;/complexType>
 41  
  * &lt;/element>
 42  
  * </pre>
 43  
  * 
 44  
  * 
 45  
  */
 46  
 @XmlAccessorType(XmlAccessType.FIELD)
 47  
 @XmlType(name = "", propOrder = {
 48  
     "parameter"
 49  
 })
 50  
 @XmlRootElement(name = "associated")
 51  330
 public class Associated {
 52  
 
 53  
     @XmlElement(namespace = "http://www.xmlhammer.org/2007/project", required = true)
 54  
     protected List<Parameter> parameter;
 55  
     @XmlAttribute
 56  
     protected String charset;
 57  
     @XmlAttribute
 58  
     protected String media;
 59  
     @XmlAttribute
 60  
     protected String title;
 61  
 
 62  
     /**
 63  
      * Gets the value of the parameter property.
 64  
      * 
 65  
      * <p>
 66  
      * This accessor method returns a reference to the live list,
 67  
      * not a snapshot. Therefore any modification you make to the
 68  
      * returned list will be present inside the JAXB object.
 69  
      * This is why there is not a <CODE>set</CODE> method for the parameter property.
 70  
      * 
 71  
      * <p>
 72  
      * For example, to add a new item, do as follows:
 73  
      * <pre>
 74  
      *    getParameter().add(newItem);
 75  
      * </pre>
 76  
      * 
 77  
      * 
 78  
      * <p>
 79  
      * Objects of the following type(s) are allowed in the list
 80  
      * {@link Parameter }
 81  
      * 
 82  
      * 
 83  
      */
 84  
     public List<Parameter> getParameter() {
 85  396
         if (parameter == null) {
 86  198
             parameter = new ArrayList<Parameter>();
 87  
         }
 88  396
         return this.parameter;
 89  
     }
 90  
 
 91  
     /**
 92  
      * Gets the value of the charset property.
 93  
      * 
 94  
      * @return
 95  
      *     possible object is
 96  
      *     {@link String }
 97  
      *     
 98  
      */
 99  
     public String getCharset() {
 100  198
         return charset;
 101  
     }
 102  
 
 103  
     /**
 104  
      * Sets the value of the charset property.
 105  
      * 
 106  
      * @param value
 107  
      *     allowed object is
 108  
      *     {@link String }
 109  
      *     
 110  
      */
 111  
     public void setCharset(String value) {
 112  198
         this.charset = value;
 113  198
     }
 114  
 
 115  
     /**
 116  
      * Gets the value of the media property.
 117  
      * 
 118  
      * @return
 119  
      *     possible object is
 120  
      *     {@link String }
 121  
      *     
 122  
      */
 123  
     public String getMedia() {
 124  198
         return media;
 125  
     }
 126  
 
 127  
     /**
 128  
      * Sets the value of the media property.
 129  
      * 
 130  
      * @param value
 131  
      *     allowed object is
 132  
      *     {@link String }
 133  
      *     
 134  
      */
 135  
     public void setMedia(String value) {
 136  198
         this.media = value;
 137  198
     }
 138  
 
 139  
     /**
 140  
      * Gets the value of the title property.
 141  
      * 
 142  
      * @return
 143  
      *     possible object is
 144  
      *     {@link String }
 145  
      *     
 146  
      */
 147  
     public String getTitle() {
 148  198
         return title;
 149  
     }
 150  
 
 151  
     /**
 152  
      * Sets the value of the title property.
 153  
      * 
 154  
      * @param value
 155  
      *     allowed object is
 156  
      *     {@link String }
 157  
      *     
 158  
      */
 159  
     public void setTitle(String value) {
 160  198
         this.title = value;
 161  198
     }
 162  
 
 163  
 }