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.XmlSchemaType; 7 import javax.xml.bind.annotation.XmlType; 8 9 /** 10 * <p> 11 * Java class for Subscribe complex type. 12 * <p> 13 * The following schema fragment specifies the expected content contained within 14 * this class. 15 * 16 * <pre> 17 * <complexType name="Subscribe"> 18 * <complexContent> 19 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 20 * <sequence> 21 * <element name="queryName" type="{http://www.w3.org/2001/XMLSchema}string"/> 22 * <element name="params" type="{urn:epcglobal:epcis-query:xsd:1}QueryParams"/> 23 * <element name="dest" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> 24 * <element name="controls" type="{urn:epcglobal:epcis-query:xsd:1}SubscriptionControls"/> 25 * <element name="subscriptionID" type="{http://www.w3.org/2001/XMLSchema}string"/> 26 * </sequence> 27 * </restriction> 28 * </complexContent> 29 * </complexType> 30 * </pre> 31 */ 32 @XmlAccessorType(XmlAccessType.FIELD) 33 @XmlType(name = "Subscribe", propOrder = { "queryName", "params", "dest", "controls", "subscriptionID" }) 34 public class Subscribe { 35 36 @XmlElement(required = true) 37 protected String queryName; 38 @XmlElement(required = true) 39 protected QueryParams params; 40 @XmlElement(required = true) 41 @XmlSchemaType(name = "anyURI") 42 protected String dest; 43 @XmlElement(required = true) 44 protected SubscriptionControls controls; 45 @XmlElement(required = true) 46 protected String subscriptionID; 47 48 /** 49 * Gets the value of the queryName property. 50 * 51 * @return possible object is {@link String } 52 */ 53 public String getQueryName() { 54 return queryName; 55 } 56 57 /** 58 * Sets the value of the queryName property. 59 * 60 * @param value 61 * allowed object is {@link String } 62 */ 63 public void setQueryName(String value) { 64 this.queryName = value; 65 } 66 67 /** 68 * Gets the value of the params property. 69 * 70 * @return possible object is {@link QueryParams } 71 */ 72 public QueryParams getParams() { 73 return params; 74 } 75 76 /** 77 * Sets the value of the params property. 78 * 79 * @param value 80 * allowed object is {@link QueryParams } 81 */ 82 public void setParams(QueryParams value) { 83 this.params = value; 84 } 85 86 /** 87 * Gets the value of the dest property. 88 * 89 * @return possible object is {@link String } 90 */ 91 public String getDest() { 92 return dest; 93 } 94 95 /** 96 * Sets the value of the dest property. 97 * 98 * @param value 99 * allowed object is {@link String } 100 */ 101 public void setDest(String value) { 102 this.dest = value; 103 } 104 105 /** 106 * Gets the value of the controls property. 107 * 108 * @return possible object is {@link SubscriptionControls } 109 */ 110 public SubscriptionControls getControls() { 111 return controls; 112 } 113 114 /** 115 * Sets the value of the controls property. 116 * 117 * @param value 118 * allowed object is {@link SubscriptionControls } 119 */ 120 public void setControls(SubscriptionControls value) { 121 this.controls = value; 122 } 123 124 /** 125 * Gets the value of the subscriptionID property. 126 * 127 * @return possible object is {@link String } 128 */ 129 public String getSubscriptionID() { 130 return subscriptionID; 131 } 132 133 /** 134 * Sets the value of the subscriptionID property. 135 * 136 * @param value 137 * allowed object is {@link String } 138 */ 139 public void setSubscriptionID(String value) { 140 this.subscriptionID = value; 141 } 142 143 }