//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.10.10 at 02:39:29 PM KST
//
package org.oliot.model.epcis;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for QueryTooLargeException complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="QueryTooLargeException">
* <complexContent>
* <extension base="{urn:epcglobal:epcis-query:xsd:1}EPCISException">
* <sequence>
* <element name="queryName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="subscriptionID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@SuppressWarnings("serial")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "QueryTooLargeException", namespace = "urn:epcglobal:epcis-query:xsd:1", propOrder = { "queryName",
"subscriptionID" })
public class QueryTooLargeException extends EPCISException {
protected String queryName;
protected String subscriptionID;
public QueryTooLargeException(int queriedCount, int limit, String queryName, String subscriptionID){
this.reason = "The number of queried events " + queriedCount + " are larger than " + limit;
this.queryName = queryName;
this.subscriptionID = subscriptionID;
}
public QueryTooLargeException(){
}
/**
* Gets the value of the queryName property.
*
* @return possible object is {@link String }
*
*/
public String getQueryName() {
return queryName;
}
/**
* Sets the value of the queryName property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setQueryName(String value) {
this.queryName = value;
}
/**
* Gets the value of the subscriptionID property.
*
* @return possible object is {@link String }
*
*/
public String getSubscriptionID() {
return subscriptionID;
}
/**
* Sets the value of the subscriptionID property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSubscriptionID(String value) {
this.subscriptionID = value;
}
}