001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs 
003    // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004    // Any modifications to this file will be lost upon recompilation of the source schema. 
005    // Generated on: 2008.01.25 at 09:11:53 AM GMT-10:00 
006    //
007    
008    
009    package org.hackystat.sensor.ant.emma.jaxb;
010    
011    import java.util.ArrayList;
012    import java.util.List;
013    import javax.xml.bind.annotation.XmlAccessType;
014    import javax.xml.bind.annotation.XmlAccessorType;
015    import javax.xml.bind.annotation.XmlAttribute;
016    import javax.xml.bind.annotation.XmlElement;
017    import javax.xml.bind.annotation.XmlRootElement;
018    import javax.xml.bind.annotation.XmlType;
019    
020    
021    /**
022     * <p>Java class for anonymous complex type.
023     * 
024     * <p>The following schema fragment specifies the expected content contained within this class.
025     * 
026     * <pre>
027     * &lt;complexType>
028     *   &lt;complexContent>
029     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
030     *       &lt;sequence>
031     *         &lt;element ref="{}coverage" maxOccurs="3" minOccurs="3"/>
032     *       &lt;/sequence>
033     *       &lt;attribute ref="{}name"/>
034     *     &lt;/restriction>
035     *   &lt;/complexContent>
036     * &lt;/complexType>
037     * </pre>
038     * 
039     * 
040     */
041    @XmlAccessorType(XmlAccessType.FIELD)
042    @XmlType(name = "", propOrder = {
043        "coverage"
044    })
045    @XmlRootElement(name = "method")
046    public class Method {
047    
048        @XmlElement(required = true)
049        protected List<Coverage> coverage;
050        @XmlAttribute
051        protected String name;
052    
053        /**
054         * Gets the value of the coverage property.
055         * 
056         * <p>
057         * This accessor method returns a reference to the live list,
058         * not a snapshot. Therefore any modification you make to the
059         * returned list will be present inside the JAXB object.
060         * This is why there is not a <CODE>set</CODE> method for the coverage property.
061         * 
062         * <p>
063         * For example, to add a new item, do as follows:
064         * <pre>
065         *    getCoverage().add(newItem);
066         * </pre>
067         * 
068         * 
069         * <p>
070         * Objects of the following type(s) are allowed in the list
071         * {@link Coverage }
072         * 
073         * 
074         */
075        public List<Coverage> getCoverage() {
076            if (coverage == null) {
077                coverage = new ArrayList<Coverage>();
078            }
079            return this.coverage;
080        }
081    
082        /**
083         * Gets the value of the name property.
084         * 
085         * @return
086         *     possible object is
087         *     {@link String }
088         *     
089         */
090        public String getName() {
091            return name;
092        }
093    
094        /**
095         * Sets the value of the name property.
096         * 
097         * @param value
098         *     allowed object is
099         *     {@link String }
100         *     
101         */
102        public void setName(String value) {
103            this.name = value;
104        }
105    
106    }