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:09 AM GMT-10:00 
006    //
007    
008    
009    package org.hackystat.sensorbase.resource.users.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.XmlAttribute;
017    import javax.xml.bind.annotation.XmlElement;
018    import javax.xml.bind.annotation.XmlRootElement;
019    import javax.xml.bind.annotation.XmlSchemaType;
020    import javax.xml.bind.annotation.XmlType;
021    import javax.xml.datatype.XMLGregorianCalendar;
022    
023    
024    /**
025     * <p>Java class for anonymous complex type.
026     * 
027     * <p>The following schema fragment specifies the expected content contained within this class.
028     * 
029     * <pre>
030     * &lt;complexType>
031     *   &lt;complexContent>
032     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033     *       &lt;sequence>
034     *         &lt;element ref="{}UserRef" maxOccurs="unbounded" minOccurs="0"/>
035     *       &lt;/sequence>
036     *       &lt;attribute ref="{}LastMod use="required""/>
037     *     &lt;/restriction>
038     *   &lt;/complexContent>
039     * &lt;/complexType>
040     * </pre>
041     * 
042     * 
043     */
044    @XmlAccessorType(XmlAccessType.FIELD)
045    @XmlType(name = "", propOrder = {
046        "userRef"
047    })
048    @XmlRootElement(name = "UserIndex")
049    public class UserIndex
050        implements Serializable
051    {
052    
053        private final static long serialVersionUID = 12343L;
054        @XmlElement(name = "UserRef")
055        protected List<UserRef> userRef;
056        @XmlAttribute(name = "LastMod", required = true)
057        @XmlSchemaType(name = "dateTime")
058        protected XMLGregorianCalendar lastMod;
059    
060        /**
061         * Gets the value of the userRef property.
062         * 
063         * <p>
064         * This accessor method returns a reference to the live list,
065         * not a snapshot. Therefore any modification you make to the
066         * returned list will be present inside the JAXB object.
067         * This is why there is not a <CODE>set</CODE> method for the userRef property.
068         * 
069         * <p>
070         * For example, to add a new item, do as follows:
071         * <pre>
072         *    getUserRef().add(newItem);
073         * </pre>
074         * 
075         * 
076         * <p>
077         * Objects of the following type(s) are allowed in the list
078         * {@link UserRef }
079         * 
080         * 
081         */
082        public List<UserRef> getUserRef() {
083            if (userRef == null) {
084                userRef = new ArrayList<UserRef>();
085            }
086            return this.userRef;
087        }
088    
089        public boolean isSetUserRef() {
090            return ((this.userRef!= null)&&(!this.userRef.isEmpty()));
091        }
092    
093        public void unsetUserRef() {
094            this.userRef = null;
095        }
096    
097        /**
098         * Gets the value of the lastMod property.
099         * 
100         * @return
101         *     possible object is
102         *     {@link XMLGregorianCalendar }
103         *     
104         */
105        public XMLGregorianCalendar getLastMod() {
106            return lastMod;
107        }
108    
109        /**
110         * Sets the value of the lastMod property.
111         * 
112         * @param value
113         *     allowed object is
114         *     {@link XMLGregorianCalendar }
115         *     
116         */
117        public void setLastMod(XMLGregorianCalendar value) {
118            this.lastMod = value;
119        }
120    
121        public boolean isSetLastMod() {
122            return (this.lastMod!= null);
123        }
124    
125    }