1 package org.fosstrak.epcis.model; 2 3 import javax.xml.bind.annotation.XmlAccessType; 4 import javax.xml.bind.annotation.XmlAccessorType; 5 import javax.xml.bind.annotation.XmlElement; 6 import javax.xml.bind.annotation.XmlType; 7 8 /** 9 * <p> 10 * Java class for Poll complex type. 11 * <p> 12 * The following schema fragment specifies the expected content contained within 13 * this class. 14 * 15 * <pre> 16 * <complexType name="Poll"> 17 * <complexContent> 18 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 19 * <sequence> 20 * <element name="queryName" type="{http://www.w3.org/2001/XMLSchema}string"/> 21 * <element name="params" type="{urn:epcglobal:epcis-query:xsd:1}QueryParams"/> 22 * </sequence> 23 * </restriction> 24 * </complexContent> 25 * </complexType> 26 * </pre> 27 */ 28 @XmlAccessorType(XmlAccessType.FIELD) 29 @XmlType(name = "Poll", propOrder = { "queryName", "params" }) 30 public class Poll { 31 32 @XmlElement(required = true) 33 protected String queryName; 34 @XmlElement(required = true) 35 protected QueryParams params; 36 37 /** 38 * Gets the value of the queryName property. 39 * 40 * @return possible object is {@link String } 41 */ 42 public String getQueryName() { 43 return queryName; 44 } 45 46 /** 47 * Sets the value of the queryName property. 48 * 49 * @param value 50 * allowed object is {@link String } 51 */ 52 public void setQueryName(String value) { 53 this.queryName = value; 54 } 55 56 /** 57 * Gets the value of the params property. 58 * 59 * @return possible object is {@link QueryParams } 60 */ 61 public QueryParams getParams() { 62 return params; 63 } 64 65 /** 66 * Sets the value of the params property. 67 * 68 * @param value 69 * allowed object is {@link QueryParams } 70 */ 71 public void setParams(QueryParams value) { 72 this.params = value; 73 } 74 75 }