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