001    
002    package org.oasis_open.docs.wsn.b_2;
003    
004    import java.util.ArrayList;
005    import java.util.List;
006    import javax.xml.bind.annotation.XmlAccessType;
007    import javax.xml.bind.annotation.XmlAccessorType;
008    import javax.xml.bind.annotation.XmlAnyElement;
009    import javax.xml.bind.annotation.XmlElement;
010    import javax.xml.bind.annotation.XmlRootElement;
011    import javax.xml.bind.annotation.XmlType;
012    import javax.xml.datatype.XMLGregorianCalendar;
013    import org.w3c.dom.Element;
014    
015    
016    /**
017     * <p>Java class for anonymous complex type.
018     * 
019     * <p>The following schema fragment specifies the expected content contained within this class.
020     * 
021     * <pre>
022     * &lt;complexType>
023     *   &lt;complexContent>
024     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
025     *       &lt;sequence>
026     *         &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}TerminationTime"/>
027     *         &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}CurrentTime" minOccurs="0"/>
028     *         &lt;any/>
029     *       &lt;/sequence>
030     *     &lt;/restriction>
031     *   &lt;/complexContent>
032     * &lt;/complexType>
033     * </pre>
034     * 
035     * 
036     */
037    @XmlAccessorType(XmlAccessType.FIELD)
038    @XmlType(name = "", propOrder = {
039        "terminationTime",
040        "currentTime",
041        "any"
042    })
043    @XmlRootElement(name = "RenewResponse")
044    public class RenewResponse {
045    
046        @XmlElement(name = "TerminationTime", required = true, nillable = true)
047        protected XMLGregorianCalendar terminationTime;
048        @XmlElement(name = "CurrentTime")
049        protected XMLGregorianCalendar currentTime;
050        @XmlAnyElement(lax = true)
051        protected List<Object> any;
052    
053        /**
054         * Gets the value of the terminationTime property.
055         * 
056         * @return
057         *     possible object is
058         *     {@link XMLGregorianCalendar }
059         *     
060         */
061        public XMLGregorianCalendar getTerminationTime() {
062            return terminationTime;
063        }
064    
065        /**
066         * Sets the value of the terminationTime property.
067         * 
068         * @param value
069         *     allowed object is
070         *     {@link XMLGregorianCalendar }
071         *     
072         */
073        public void setTerminationTime(XMLGregorianCalendar value) {
074            this.terminationTime = value;
075        }
076    
077        /**
078         * Gets the value of the currentTime property.
079         * 
080         * @return
081         *     possible object is
082         *     {@link XMLGregorianCalendar }
083         *     
084         */
085        public XMLGregorianCalendar getCurrentTime() {
086            return currentTime;
087        }
088    
089        /**
090         * Sets the value of the currentTime property.
091         * 
092         * @param value
093         *     allowed object is
094         *     {@link XMLGregorianCalendar }
095         *     
096         */
097        public void setCurrentTime(XMLGregorianCalendar value) {
098            this.currentTime = value;
099        }
100    
101        /**
102         * Gets the value of the any property.
103         * 
104         * <p>
105         * This accessor method returns a reference to the live list,
106         * not a snapshot. Therefore any modification you make to the
107         * returned list will be present inside the JAXB object.
108         * This is why there is not a <CODE>set</CODE> method for the any property.
109         * 
110         * <p>
111         * For example, to add a new item, do as follows:
112         * <pre>
113         *    getAny().add(newItem);
114         * </pre>
115         * 
116         * 
117         * <p>
118         * Objects of the following type(s) are allowed in the list
119         * {@link Object }
120         * {@link Element }
121         * 
122         * 
123         */
124        public List<Object> getAny() {
125            if (any == null) {
126                any = new ArrayList<Object>();
127            }
128            return this.any;
129        }
130    
131    }