View Javadoc
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.XmlType;
12  import org.w3c.dom.Element;
13  
14  
15  /**
16   * <p>Java class for anonymous complex type.
17   * 
18   * <p>The following schema fragment specifies the expected content contained within this class.
19   * 
20   * <pre>
21   * &lt;complexType>
22   *   &lt;complexContent>
23   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24   *       &lt;sequence>
25   *         &lt;element name="TerminationTime" type="{http://docs.oasis-open.org/wsn/b-2}AbsoluteOrRelativeTimeType"/>
26   *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
27   *       &lt;/sequence>
28   *     &lt;/restriction>
29   *   &lt;/complexContent>
30   * &lt;/complexType>
31   * </pre>
32   * 
33   * 
34   */
35  @XmlAccessorType(XmlAccessType.FIELD)
36  @XmlType(name = "", propOrder = {
37      "terminationTime",
38      "any"
39  })
40  @XmlRootElement(name = "Renew")
41  public class Renew {
42  
43      @XmlElement(name = "TerminationTime", required = true, nillable = true)
44      protected String terminationTime;
45      @XmlAnyElement(lax = true)
46      protected List<Object> any;
47  
48      /**
49       * Gets the value of the terminationTime property.
50       * 
51       * @return
52       *     possible object is
53       *     {@link String }
54       *     
55       */
56      public String getTerminationTime() {
57          return terminationTime;
58      }
59  
60      /**
61       * Sets the value of the terminationTime property.
62       * 
63       * @param value
64       *     allowed object is
65       *     {@link String }
66       *     
67       */
68      public void setTerminationTime(String value) {
69          this.terminationTime = value;
70      }
71  
72      /**
73       * Gets the value of the any property.
74       * 
75       * <p>
76       * This accessor method returns a reference to the live list,
77       * not a snapshot. Therefore any modification you make to the
78       * returned list will be present inside the JAXB object.
79       * This is why there is not a <CODE>set</CODE> method for the any property.
80       * 
81       * <p>
82       * For example, to add a new item, do as follows:
83       * <pre>
84       *    getAny().add(newItem);
85       * </pre>
86       * 
87       * 
88       * <p>
89       * Objects of the following type(s) are allowed in the list
90       * {@link Element }
91       * {@link Object }
92       * 
93       * 
94       */
95      public List<Object> getAny() {
96          if (any == null) {
97              any = new ArrayList<Object>();
98          }
99          return this.any;
100     }
101 
102 }