001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
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: 2013.02.07 at 02:32:38 PM CET 
006    //
007    
008    
009    package org.jabber.protocol.rosterx;
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.XmlRootElement;
017    import javax.xml.bind.annotation.XmlType;
018    import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019    import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020    
021    
022    /**
023     * <p>Java class for anonymous complex type.
024     * 
025     * <p>The following schema fragment specifies the expected content contained within this class.
026     * 
027     * <pre>
028     * &lt;complexType>
029     *   &lt;complexContent>
030     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031     *       &lt;sequence>
032     *         &lt;element name="group" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
033     *       &lt;/sequence>
034     *       &lt;attribute name="action" default="add">
035     *         &lt;simpleType>
036     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
037     *             &lt;enumeration value="add"/>
038     *             &lt;enumeration value="delete"/>
039     *             &lt;enumeration value="modify"/>
040     *           &lt;/restriction>
041     *         &lt;/simpleType>
042     *       &lt;/attribute>
043     *       &lt;attribute name="jid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
044     *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
045     *     &lt;/restriction>
046     *   &lt;/complexContent>
047     * &lt;/complexType>
048     * </pre>
049     * 
050     * 
051     */
052    @XmlAccessorType(XmlAccessType.FIELD)
053    @XmlType(name = "", propOrder = {
054        "group"
055    })
056    @XmlRootElement(name = "item")
057    public class Item {
058    
059        protected List<String> group;
060        @XmlAttribute
061        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
062        protected String action;
063        @XmlAttribute(required = true)
064        protected String jid;
065        @XmlAttribute
066        protected String name;
067    
068        /**
069         * Gets the value of the group property.
070         * 
071         * <p>
072         * This accessor method returns a reference to the live list,
073         * not a snapshot. Therefore any modification you make to the
074         * returned list will be present inside the JAXB object.
075         * This is why there is not a <CODE>set</CODE> method for the group property.
076         * 
077         * <p>
078         * For example, to add a new item, do as follows:
079         * <pre>
080         *    getGroup().add(newItem);
081         * </pre>
082         * 
083         * 
084         * <p>
085         * Objects of the following type(s) are allowed in the list
086         * {@link String }
087         * 
088         * 
089         */
090        public List<String> getGroup() {
091            if (group == null) {
092                group = new ArrayList<String>();
093            }
094            return this.group;
095        }
096    
097        /**
098         * Gets the value of the action property.
099         * 
100         * @return
101         *     possible object is
102         *     {@link String }
103         *     
104         */
105        public String getAction() {
106            if (action == null) {
107                return "add";
108            } else {
109                return action;
110            }
111        }
112    
113        /**
114         * Sets the value of the action property.
115         * 
116         * @param value
117         *     allowed object is
118         *     {@link String }
119         *     
120         */
121        public void setAction(String value) {
122            this.action = value;
123        }
124    
125        /**
126         * Gets the value of the jid property.
127         * 
128         * @return
129         *     possible object is
130         *     {@link String }
131         *     
132         */
133        public String getJid() {
134            return jid;
135        }
136    
137        /**
138         * Sets the value of the jid property.
139         * 
140         * @param value
141         *     allowed object is
142         *     {@link String }
143         *     
144         */
145        public void setJid(String value) {
146            this.jid = value;
147        }
148    
149        /**
150         * Gets the value of the name property.
151         * 
152         * @return
153         *     possible object is
154         *     {@link String }
155         *     
156         */
157        public String getName() {
158            return name;
159        }
160    
161        /**
162         * Sets the value of the name property.
163         * 
164         * @param value
165         *     allowed object is
166         *     {@link String }
167         *     
168         */
169        public void setName(String value) {
170            this.name = value;
171        }
172    
173    }