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.06.27 at 11:37:11 AM GMT-10:00 
006    //
007    
008    
009    package org.hackystat.sensorbase.resource.projects.jaxb;
010    
011    import java.io.Serializable;
012    import java.util.ArrayList;
013    import java.util.List;
014    import javax.xml.bind.annotation.XmlAccessType;
015    import javax.xml.bind.annotation.XmlAccessorType;
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="{}Project" maxOccurs="unbounded"/>
032     *       &lt;/sequence>
033     *     &lt;/restriction>
034     *   &lt;/complexContent>
035     * &lt;/complexType>
036     * </pre>
037     * 
038     * 
039     */
040    @XmlAccessorType(XmlAccessType.FIELD)
041    @XmlType(name = "", propOrder = {
042        "project"
043    })
044    @XmlRootElement(name = "Projects")
045    public class Projects
046        implements Serializable
047    {
048    
049        private final static long serialVersionUID = 12343L;
050        @XmlElement(name = "Project", required = true)
051        protected List<Project> project;
052    
053        /**
054         * Gets the value of the project 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 project property.
061         * 
062         * <p>
063         * For example, to add a new item, do as follows:
064         * <pre>
065         *    getProject().add(newItem);
066         * </pre>
067         * 
068         * 
069         * <p>
070         * Objects of the following type(s) are allowed in the list
071         * {@link Project }
072         * 
073         * 
074         */
075        public List<Project> getProject() {
076            if (project == null) {
077                project = new ArrayList<Project>();
078            }
079            return this.project;
080        }
081    
082        public boolean isSetProject() {
083            return ((this.project!= null)&&(!this.project.isEmpty()));
084        }
085    
086        public void unsetProject() {
087            this.project = null;
088        }
089    
090    }