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 jabber.iq.pass;
010    
011    import java.math.BigInteger;
012    import java.util.ArrayList;
013    import java.util.List;
014    import javax.xml.bind.JAXBElement;
015    import javax.xml.bind.annotation.XmlAccessType;
016    import javax.xml.bind.annotation.XmlAccessorType;
017    import javax.xml.bind.annotation.XmlElementRef;
018    import javax.xml.bind.annotation.XmlElementRefs;
019    import javax.xml.bind.annotation.XmlRootElement;
020    import javax.xml.bind.annotation.XmlType;
021    
022    
023    /**
024     * <p>Java class for anonymous complex type.
025     * 
026     * <p>The following schema fragment specifies the expected content contained within this class.
027     * 
028     * <pre>
029     * &lt;complexType>
030     *   &lt;complexContent>
031     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
032     *       &lt;choice maxOccurs="unbounded" minOccurs="0">
033     *         &lt;element name="client" type="{jabber:iq:pass}PassEntity"/>
034     *         &lt;element name="close" type="{jabber:iq:pass}empty"/>
035     *         &lt;element name="expire" type="{http://www.w3.org/2001/XMLSchema}unsignedLong"/>
036     *         &lt;element name="oneshot" type="{jabber:iq:pass}empty"/>
037     *         &lt;element name="proxy" type="{jabber:iq:pass}PassEntity"/>
038     *         &lt;element name="server" type="{jabber:iq:pass}PassEntity"/>
039     *       &lt;/choice>
040     *     &lt;/restriction>
041     *   &lt;/complexContent>
042     * &lt;/complexType>
043     * </pre>
044     * 
045     * 
046     */
047    @XmlAccessorType(XmlAccessType.FIELD)
048    @XmlType(name = "", propOrder = {
049        "clientOrCloseOrExpire"
050    })
051    @XmlRootElement(name = "query")
052    public class Query {
053    
054        @XmlElementRefs({
055            @XmlElementRef(name = "expire", namespace = "jabber:iq:pass", type = JAXBElement.class),
056            @XmlElementRef(name = "oneshot", namespace = "jabber:iq:pass", type = JAXBElement.class),
057            @XmlElementRef(name = "client", namespace = "jabber:iq:pass", type = JAXBElement.class),
058            @XmlElementRef(name = "server", namespace = "jabber:iq:pass", type = JAXBElement.class),
059            @XmlElementRef(name = "proxy", namespace = "jabber:iq:pass", type = JAXBElement.class),
060            @XmlElementRef(name = "close", namespace = "jabber:iq:pass", type = JAXBElement.class)
061        })
062        protected List<JAXBElement<?>> clientOrCloseOrExpire;
063    
064        /**
065         * Gets the value of the clientOrCloseOrExpire property.
066         * 
067         * <p>
068         * This accessor method returns a reference to the live list,
069         * not a snapshot. Therefore any modification you make to the
070         * returned list will be present inside the JAXB object.
071         * This is why there is not a <CODE>set</CODE> method for the clientOrCloseOrExpire property.
072         * 
073         * <p>
074         * For example, to add a new item, do as follows:
075         * <pre>
076         *    getClientOrCloseOrExpire().add(newItem);
077         * </pre>
078         * 
079         * 
080         * <p>
081         * Objects of the following type(s) are allowed in the list
082         * {@link JAXBElement }{@code <}{@link PassEntity }{@code >}
083         * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
084         * {@link JAXBElement }{@code <}{@link PassEntity }{@code >}
085         * {@link JAXBElement }{@code <}{@link String }{@code >}
086         * {@link JAXBElement }{@code <}{@link PassEntity }{@code >}
087         * {@link JAXBElement }{@code <}{@link String }{@code >}
088         * 
089         * 
090         */
091        public List<JAXBElement<?>> getClientOrCloseOrExpire() {
092            if (clientOrCloseOrExpire == null) {
093                clientOrCloseOrExpire = new ArrayList<JAXBElement<?>>();
094            }
095            return this.clientOrCloseOrExpire;
096        }
097    
098    }