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.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 * <complexType> 028 * <complexContent> 029 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 030 * <sequence> 031 * <element ref="{}User" maxOccurs="unbounded"/> 032 * </sequence> 033 * </restriction> 034 * </complexContent> 035 * </complexType> 036 * </pre> 037 * 038 * 039 */ 040 @XmlAccessorType(XmlAccessType.FIELD) 041 @XmlType(name = "", propOrder = { 042 "user" 043 }) 044 @XmlRootElement(name = "Users") 045 public class Users 046 implements Serializable 047 { 048 049 private final static long serialVersionUID = 12343L; 050 @XmlElement(name = "User", required = true) 051 protected List<User> user; 052 053 /** 054 * Gets the value of the user 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 user property. 061 * 062 * <p> 063 * For example, to add a new item, do as follows: 064 * <pre> 065 * getUser().add(newItem); 066 * </pre> 067 * 068 * 069 * <p> 070 * Objects of the following type(s) are allowed in the list 071 * {@link User } 072 * 073 * 074 */ 075 public List<User> getUser() { 076 if (user == null) { 077 user = new ArrayList<User>(); 078 } 079 return this.user; 080 } 081 082 public boolean isSetUser() { 083 return ((this.user!= null)&&(!this.user.isEmpty())); 084 } 085 086 public void unsetUser() { 087 this.user = null; 088 } 089 090 }