View Javadoc

1   package org.fosstrak.epcis.model;
2   
3   import java.io.Serializable;
4   
5   import javax.xml.bind.annotation.XmlAccessType;
6   import javax.xml.bind.annotation.XmlAccessorType;
7   import javax.xml.bind.annotation.XmlElement;
8   import javax.xml.bind.annotation.XmlType;
9   
10  /**
11   * <p>
12   * Java class for QueryParam 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="QueryParam">
19   *   &lt;complexContent>
20   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
21   *       &lt;sequence>
22   *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
23   *         &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
24   *       &lt;/sequence>
25   *     &lt;/restriction>
26   *   &lt;/complexContent>
27   * &lt;/complexType>
28   * </pre>
29   */
30  @XmlAccessorType(XmlAccessType.FIELD)
31  @XmlType(name = "QueryParam", propOrder = { "name", "value" })
32  public class QueryParam implements Serializable {
33  
34      private static final long serialVersionUID = 5205588882386900350L;
35  
36      @XmlElement(required = true)
37      protected String name;
38      @XmlElement(required = true)
39      protected Object value;
40  
41      /**
42       * Gets the value of the name property.
43       * 
44       * @return possible object is {@link String }
45       */
46      public String getName() {
47          return name;
48      }
49  
50      /**
51       * Sets the value of the name property.
52       * 
53       * @param value
54       *            allowed object is {@link String }
55       */
56      public void setName(String value) {
57          this.name = value;
58      }
59  
60      /**
61       * Gets the value of the value property.
62       * 
63       * @return possible object is {@link Object }
64       */
65      public Object getValue() {
66          return value;
67      }
68  
69      /**
70       * Sets the value of the value property.
71       * 
72       * @param value
73       *            allowed object is {@link Object }
74       */
75      public void setValue(Object value) {
76          this.value = value;
77      }
78  
79  }