/**
* Copyright (C) 2014 Cohesive Integrations, LLC (info@cohesiveintegrations.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.di2e.ecdr.commons.xml.osd;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for Query complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Query">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="role" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="totalResults" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
* <attribute name="searchTerms" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
* <attribute name="startIndex" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="startPage" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="language" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="inputEncoding" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="outputEncoding" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Query")
public class Query {
@XmlAttribute(name = "role", required = true)
private String role;
@XmlAttribute(name = "title")
private String title;
@XmlAttribute(name = "totalResults")
@XmlSchemaType(name = "nonNegativeInteger")
private BigInteger totalResults;
@XmlAttribute(name = "searchTerms")
private String searchTerms;
@XmlAttribute(name = "count")
@XmlSchemaType(name = "nonNegativeInteger")
private BigInteger count;
@XmlAttribute(name = "startIndex")
private Integer startIndex;
@XmlAttribute(name = "startPage")
private Integer startPage;
@XmlAttribute(name = "language")
private String language;
@XmlAttribute(name = "inputEncoding")
private String inputEncoding;
@XmlAttribute(name = "outputEncoding")
private String outputEncoding;
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(String value) {
this.role = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the totalResults property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTotalResults() {
return totalResults;
}
/**
* Sets the value of the totalResults property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTotalResults(BigInteger value) {
this.totalResults = value;
}
/**
* Gets the value of the searchTerms property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSearchTerms() {
return searchTerms;
}
/**
* Sets the value of the searchTerms property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSearchTerms(String value) {
this.searchTerms = value;
}
/**
* Gets the value of the count property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getCount() {
return count;
}
/**
* Sets the value of the count property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setCount(BigInteger value) {
this.count = value;
}
/**
* Gets the value of the startIndex property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getStartIndex() {
return startIndex;
}
/**
* Sets the value of the startIndex property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setStartIndex(Integer value) {
this.startIndex = value;
}
/**
* Gets the value of the startPage property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getStartPage() {
return startPage;
}
/**
* Sets the value of the startPage property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setStartPage(Integer value) {
this.startPage = value;
}
/**
* Gets the value of the language property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLanguage() {
return language;
}
/**
* Sets the value of the language property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLanguage(String value) {
this.language = value;
}
/**
* Gets the value of the inputEncoding property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInputEncoding() {
return inputEncoding;
}
/**
* Sets the value of the inputEncoding property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInputEncoding(String value) {
this.inputEncoding = value;
}
/**
* Gets the value of the outputEncoding property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOutputEncoding() {
return outputEncoding;
}
/**
* Sets the value of the outputEncoding property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOutputEncoding(String value) {
this.outputEncoding = value;
}
}