1
2 package org.oasis_open.docs.wsn.b_2;
3
4 import java.util.ArrayList;
5 import java.util.List;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlAnyElement;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlRootElement;
11 import javax.xml.bind.annotation.XmlSchemaType;
12 import javax.xml.bind.annotation.XmlType;
13 import javax.xml.datatype.XMLGregorianCalendar;
14 import org.w3c.dom.Element;
15
16
17 /**
18 * <p>Java class for anonymous complex type.
19 *
20 * <p>The following schema fragment specifies the expected content contained within this class.
21 *
22 * <pre>
23 * <complexType>
24 * <complexContent>
25 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26 * <sequence>
27 * <element ref="{http://docs.oasis-open.org/wsn/b-2}TerminationTime"/>
28 * <element ref="{http://docs.oasis-open.org/wsn/b-2}CurrentTime" minOccurs="0"/>
29 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
30 * </sequence>
31 * </restriction>
32 * </complexContent>
33 * </complexType>
34 * </pre>
35 *
36 *
37 */
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "", propOrder = {
40 "terminationTime",
41 "currentTime",
42 "any"
43 })
44 @XmlRootElement(name = "RenewResponse")
45 public class RenewResponse {
46
47 @XmlElement(name = "TerminationTime", required = true, nillable = true)
48 @XmlSchemaType(name = "dateTime")
49 protected XMLGregorianCalendar terminationTime;
50 @XmlElement(name = "CurrentTime")
51 @XmlSchemaType(name = "dateTime")
52 protected XMLGregorianCalendar currentTime;
53 @XmlAnyElement(lax = true)
54 protected List<Object> any;
55
56 /**
57 * Gets the value of the terminationTime property.
58 *
59 * @return
60 * possible object is
61 * {@link XMLGregorianCalendar }
62 *
63 */
64 public XMLGregorianCalendar getTerminationTime() {
65 return terminationTime;
66 }
67
68 /**
69 * Sets the value of the terminationTime property.
70 *
71 * @param value
72 * allowed object is
73 * {@link XMLGregorianCalendar }
74 *
75 */
76 public void setTerminationTime(XMLGregorianCalendar value) {
77 this.terminationTime = value;
78 }
79
80 /**
81 * Gets the value of the currentTime property.
82 *
83 * @return
84 * possible object is
85 * {@link XMLGregorianCalendar }
86 *
87 */
88 public XMLGregorianCalendar getCurrentTime() {
89 return currentTime;
90 }
91
92 /**
93 * Sets the value of the currentTime property.
94 *
95 * @param value
96 * allowed object is
97 * {@link XMLGregorianCalendar }
98 *
99 */
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 Element }
123 * {@link Object }
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 }