View Javadoc

1   package org.fosstrak.epcis.model;
2   
3   import java.io.Serializable;
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.XmlType;
9   
10  /**
11   * <p>
12   * Java class for QueryParams complex type.
13   * <p>
14   * The following schema fragment specifies the expected content contained within
15   * this class.
16   * 
17   * <pre>
18   * &lt;complexType name="QueryParams">
19   *   &lt;complexContent>
20   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
21   *       &lt;sequence>
22   *         &lt;element name="param" type="{urn:epcglobal:epcis-query:xsd:1}QueryParam" maxOccurs="unbounded" minOccurs="0"/>
23   *       &lt;/sequence>
24   *     &lt;/restriction>
25   *   &lt;/complexContent>
26   * &lt;/complexType>
27   * </pre>
28   */
29  @XmlAccessorType(XmlAccessType.FIELD)
30  @XmlType(name = "QueryParams", propOrder = { "param" })
31  public class QueryParams implements Serializable {
32  
33      private static final long serialVersionUID = 7283530629837853614L;
34  
35      protected List<QueryParam> param;
36  
37      /**
38       * Gets the value of the param property.
39       * <p>
40       * This accessor method returns a reference to the live list, not a
41       * snapshot. Therefore any modification you make to the returned list will
42       * be present inside the JAXB object. This is why there is not a
43       * <CODE>set</CODE> method for the param property.
44       * <p>
45       * For example, to add a new item, do as follows:
46       * 
47       * <pre>
48       * getParam().add(newItem);
49       * </pre>
50       * <p>
51       * Objects of the following type(s) are allowed in the list
52       * {@link QueryParam }
53       */
54      public List<QueryParam> getParam() {
55          if (param == null) {
56              param = new ArrayList<QueryParam>();
57          }
58          return this.param;
59      }
60  
61  }