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: 2007.12.18 at 12:05:45 PM GMT-10:00 006 // 007 008 009 package org.hackystat.sensorshell.usermap.resource.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 * <complexType> 028 * <complexContent> 029 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 030 * <sequence> 031 * <element ref="{}user" maxOccurs="unbounded"/> 032 * </sequence> 033 * <attribute ref="{}tool"/> 034 * </restriction> 035 * </complexContent> 036 * </complexType> 037 * </pre> 038 * 039 * 040 */ 041 @XmlAccessorType(XmlAccessType.FIELD) 042 @XmlType(name = "", propOrder = { 043 "user" 044 }) 045 @XmlRootElement(name = "usermap") 046 public class Usermap { 047 048 @XmlElement(required = true) 049 protected List<User> user; 050 @XmlAttribute 051 protected String tool; 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 /** 083 * Gets the value of the tool property. 084 * 085 * @return 086 * possible object is 087 * {@link String } 088 * 089 */ 090 public String getTool() { 091 return tool; 092 } 093 094 /** 095 * Sets the value of the tool property. 096 * 097 * @param value 098 * allowed object is 099 * {@link String } 100 * 101 */ 102 public void setTool(String value) { 103 this.tool = value; 104 } 105 106 }