View Javadoc
1   
2   package org.metricshub.winrm.service.transfer;
3   
4   import java.util.ArrayList;
5   import java.util.List;
6   import jakarta.xml.bind.annotation.XmlAccessType;
7   import jakarta.xml.bind.annotation.XmlAccessorType;
8   import jakarta.xml.bind.annotation.XmlAnyElement;
9   import jakarta.xml.bind.annotation.XmlType;
10  import org.w3c.dom.Element;
11  
12  
13  /**
14   * <p>Java class for ResourceCreated complex type</p>.
15   * 
16   * <p>The following schema fragment specifies the expected content contained within this class.</p>
17   * 
18   * <pre>{@code
19   * <complexType name="ResourceCreated">
20   *   <complexContent>
21   *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22   *       <sequence>
23   *         <any processContents='skip' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
24   *       </sequence>
25   *     </restriction>
26   *   </complexContent>
27   * </complexType>
28   * }</pre>
29   * 
30   * 
31   */
32  @XmlAccessorType(XmlAccessType.FIELD)
33  @XmlType(name = "ResourceCreated", propOrder = {
34      "any"
35  })
36  public class ResourceCreated {
37  
38      @XmlAnyElement
39      protected List<Element> any;
40  
41      /**
42       * Gets the value of the any property.
43       * 
44       * <p>This accessor method returns a reference to the live list,
45       * not a snapshot. Therefore any modification you make to the
46       * returned list will be present inside the JAXB object.
47       * This is why there is not a <CODE>set</CODE> method for the any property.</p>
48       * 
49       * <p>
50       * For example, to add a new item, do as follows:
51       * </p>
52       * <pre>
53       * getAny().add(newItem);
54       * </pre>
55       * 
56       * 
57       * <p>
58       * Objects of the following type(s) are allowed in the list
59       * {@link Element }
60       * </p>
61       * 
62       * 
63       * @return
64       *     The value of the any property.
65       */
66      public List<Element> getAny() {
67          if (any == null) {
68              any = new ArrayList<>();
69          }
70          return this.any;
71      }
72  
73  }