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:56 AM GMT-10:00 
006    //
007    
008    
009    package org.hackystat.sensor.ant.clover.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="{}metrics"/>
032     *         &lt;element ref="{}package" maxOccurs="unbounded"/>
033     *       &lt;/sequence>
034     *       &lt;attribute name="timestamp" type="{http://www.w3.org/2001/XMLSchema}int" />
035     *     &lt;/restriction>
036     *   &lt;/complexContent>
037     * &lt;/complexType>
038     * </pre>
039     * 
040     * 
041     */
042    @XmlAccessorType(XmlAccessType.FIELD)
043    @XmlType(name = "", propOrder = {
044        "metrics",
045        "_package"
046    })
047    @XmlRootElement(name = "project")
048    public class Project {
049    
050        @XmlElement(required = true)
051        protected Metrics metrics;
052        @XmlElement(name = "package", required = true)
053        protected List<Package> _package;
054        @XmlAttribute
055        protected Integer timestamp;
056    
057        /**
058         * Gets the value of the metrics property.
059         * 
060         * @return
061         *     possible object is
062         *     {@link Metrics }
063         *     
064         */
065        public Metrics getMetrics() {
066            return metrics;
067        }
068    
069        /**
070         * Sets the value of the metrics property.
071         * 
072         * @param value
073         *     allowed object is
074         *     {@link Metrics }
075         *     
076         */
077        public void setMetrics(Metrics value) {
078            this.metrics = value;
079        }
080    
081        /**
082         * Gets the value of the package property.
083         * 
084         * <p>
085         * This accessor method returns a reference to the live list,
086         * not a snapshot. Therefore any modification you make to the
087         * returned list will be present inside the JAXB object.
088         * This is why there is not a <CODE>set</CODE> method for the package property.
089         * 
090         * <p>
091         * For example, to add a new item, do as follows:
092         * <pre>
093         *    getPackage().add(newItem);
094         * </pre>
095         * 
096         * 
097         * <p>
098         * Objects of the following type(s) are allowed in the list
099         * {@link Package }
100         * 
101         * 
102         */
103        public List<Package> getPackage() {
104            if (_package == null) {
105                _package = new ArrayList<Package>();
106            }
107            return this._package;
108        }
109    
110        /**
111         * Gets the value of the timestamp property.
112         * 
113         * @return
114         *     possible object is
115         *     {@link Integer }
116         *     
117         */
118        public Integer getTimestamp() {
119            return timestamp;
120        }
121    
122        /**
123         * Sets the value of the timestamp property.
124         * 
125         * @param value
126         *     allowed object is
127         *     {@link Integer }
128         *     
129         */
130        public void setTimestamp(Integer value) {
131            this.timestamp = value;
132        }
133    
134    }