View Javadoc
1   /**
2    * This Source Code Form is subject to the terms of the Mozilla Public
3    * License, v. 2.0. If a copy of the MPL was not distributed with this
4    * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5    *
6    * If it is not possible or desirable to put the notice in a particular
7    * file, then You may include the notice in a location (such as a LICENSE
8    * file in a relevant directory) where a recipient would be likely to look
9    * for such a notice.
10  
11   * 
12   */
13   
14  /*  ---------------------------------------------------------------------------
15   *  U.S. Government, Department of the Army
16   *  Army Materiel Command
17   *  Research Development Engineering Command
18   *  Communications Electronics Research Development and Engineering Center
19   *  ---------------------------------------------------------------------------
20   */
21  
22  package org.oasis_open.docs.wsrf.rp_2;
23  
24  import java.util.ArrayList;
25  import java.util.List;
26  import javax.xml.bind.annotation.XmlAccessType;
27  import javax.xml.bind.annotation.XmlAccessorType;
28  import javax.xml.bind.annotation.XmlAnyElement;
29  import javax.xml.bind.annotation.XmlRootElement;
30  import javax.xml.bind.annotation.XmlType;
31  
32  
33  /**
34   * <p>Java class for anonymous complex type.
35   * 
36   * <p>The following schema fragment specifies the expected content contained within this class.
37   * 
38   * <pre>
39   * &lt;complexType>
40   *   &lt;complexContent>
41   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42   *       &lt;sequence>
43   *         &lt;any/>
44   *       &lt;/sequence>
45   *     &lt;/restriction>
46   *   &lt;/complexContent>
47   * &lt;/complexType>
48   * </pre>
49   * 
50   * 
51   */
52  @XmlAccessorType(XmlAccessType.FIELD)
53  @XmlType(name = "", propOrder = {
54      "any"
55  })
56  @XmlRootElement(name = "GetResourcePropertyResponse")
57  public class GetResourcePropertyResponse {
58  
59      @XmlAnyElement(lax = true)
60      protected List<Object> any;
61  
62      /**
63       * Gets the value of the any property.
64       * 
65       * <p>
66       * This accessor method returns a reference to the live list,
67       * not a snapshot. Therefore any modification you make to the
68       * returned list will be present inside the JAXB object.
69       * This is why there is not a <CODE>set</CODE> method for the any property.
70       * 
71       * <p>
72       * For example, to add a new item, do as follows:
73       * <pre>
74       *    getAny().add(newItem);
75       * </pre>
76       * 
77       * 
78       * <p>
79       * Objects of the following type(s) are allowed in the list
80       * {@link Object }
81       * 
82       * 
83       */
84      public List<Object> getAny() {
85          if (any == null) {
86              any = new ArrayList<Object>();
87          }
88          return this.any;
89      }
90  
91  }