/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2004-2013 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution License("CDDL") (collectively, the "License"). You
* may not use this file except in compliance with the License. You can
* obtain a copy of the License at
* http://glassfish.java.net/public/CDDL+GPL_1_1.html
* or packager/legal/LICENSE.txt. See the License for the specific
* language governing permissions and limitations under the License.
*
* When distributing the software, include this License Header Notice in each
* file and include the License file at packager/legal/LICENSE.txt.
*
* GPL Classpath Exception:
* Oracle designates this particular file as subject to the "Classpath"
* exception as provided by Oracle in the GPL Version 2 section of the License
* file that accompanied this code.
*
* Modifications:
* If applicable, add the following below the License Header, with the fields
* enclosed by brackets [] replaced by your own identifying information:
* "Portions Copyright [year] [name of copyright owner]"
*
* Contributor(s):
* If you wish your version of this file to be governed by only the CDDL or
* only the GPL Version 2, indicate your decision by adding "[Contributor]
* elects to include this software in this distribution under the [CDDL or GPL
* Version 2] license." If you don't indicate a single choice of license, a
* recipient has the option to distribute your version of this file under
* either the CDDL, the GPL Version 2 or to extend the choice of license to
* its licensees as provided above. However, if you add GPL Version 2 code
* and therefore, elected the GPL Version 2 license, then the option applies
* only if the new code is made subject to such option by the copyright
* holder.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v@@BUILD_VERSION@@
// 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: 2006.04.06 at 03:27:58 PM EDT
//
package client.dispatch.xmlhttp_jaxb.client;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ResultSet element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <element name="ResultSet">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Result" type="{urn:yahoo:yn}ResultType" maxOccurs="50" minOccurs="0"/>
* </sequence>
* <attribute name="firstResultPosition" type="{http://www.w3.org/2001/XMLSchema}integer" />
* <attribute name="totalResultsAvailable" type="{http://www.w3.org/2001/XMLSchema}integer" />
* <attribute name="totalResultsReturned" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"result"
})
@XmlRootElement(name = "ResultSet")
public class ResultSet {
@XmlElement(name = "Result", namespace = "urn:yahoo:yn", required = true)
protected List<ResultType> result;
@XmlAttribute
protected BigInteger firstResultPosition;
@XmlAttribute
protected BigInteger totalResultsAvailable;
@XmlAttribute
protected BigInteger totalResultsReturned;
/**
* Gets the value of the result property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the result property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getResult().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ResultType }
*
*
*/
public List<ResultType> getResult() {
if (result == null) {
result = new ArrayList<ResultType>();
}
return this.result;
}
/**
* Gets the value of the firstResultPosition property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getFirstResultPosition() {
return firstResultPosition;
}
/**
* Sets the value of the firstResultPosition property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setFirstResultPosition(BigInteger value) {
this.firstResultPosition = value;
}
/**
* Gets the value of the totalResultsAvailable property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTotalResultsAvailable() {
return totalResultsAvailable;
}
/**
* Sets the value of the totalResultsAvailable property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTotalResultsAvailable(BigInteger value) {
this.totalResultsAvailable = value;
}
/**
* Gets the value of the totalResultsReturned property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTotalResultsReturned() {
return totalResultsReturned;
}
/**
* Sets the value of the totalResultsReturned property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTotalResultsReturned(BigInteger value) {
this.totalResultsReturned = value;
}
}