All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generated.Response Maven / Gradle / Ivy

There is a newer version: 4.3.0
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.09.19 at 09:03:51 AM UTC 
//


package generated;

import java.util.ArrayList;
import java.util.List;
import eu.openaire.oaf.Entity;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAnyElement;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="header">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="query" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   <element name="locale" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   <element name="size" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *                   <element name="page" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *                   <element name="total" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *                   <element name="fields" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="results">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="result">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <sequence>
 *                             <element name="header">
 *                               <complexType>
 *                                 <complexContent>
 *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                                     <sequence>
 *                                       <any processContents='lax' maxOccurs="unbounded"/>
 *                                     </sequence>
 *                                   </restriction>
 *                                 </complexContent>
 *                               </complexType>
 *                             </element>
 *                             <element name="metadata">
 *                               <complexType>
 *                                 <complexContent>
 *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                                     <sequence>
 *                                       <element ref="{http://namespace.openaire.eu/oaf}entity"/>
 *                                     </sequence>
 *                                   </restriction>
 *                                 </complexContent>
 *                               </complexType>
 *                             </element>
 *                           </sequence>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="browseResults" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "header", "results", "browseResults" }) @XmlRootElement(name = "response") public class Response { @XmlElement(required = true) protected Response.Header header; @XmlElement(required = true) protected Response.Results results; @XmlElement(required = true) protected Object browseResults; /** * Gets the value of the header property. * * @return * possible object is * {@link Response.Header } * */ public Response.Header getHeader() { return header; } /** * Sets the value of the header property. * * @param value * allowed object is * {@link Response.Header } * */ public void setHeader(Response.Header value) { this.header = value; } /** * Gets the value of the results property. * * @return * possible object is * {@link Response.Results } * */ public Response.Results getResults() { return results; } /** * Sets the value of the results property. * * @param value * allowed object is * {@link Response.Results } * */ public void setResults(Response.Results value) { this.results = value; } /** * Gets the value of the browseResults property. * * @return * possible object is * {@link Object } * */ public Object getBrowseResults() { return browseResults; } /** * Sets the value of the browseResults property. * * @param value * allowed object is * {@link Object } * */ public void setBrowseResults(Object value) { this.browseResults = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="query" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         <element name="locale" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         <element name="size" type="{http://www.w3.org/2001/XMLSchema}int"/>
     *         <element name="page" type="{http://www.w3.org/2001/XMLSchema}int"/>
     *         <element name="total" type="{http://www.w3.org/2001/XMLSchema}int"/>
     *         <element name="fields" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "query", "locale", "size", "page", "total", "fields" }) public static class Header { @XmlElement(required = true) protected String query; @XmlElement(required = true) protected String locale; protected int size; protected int page; protected int total; @XmlElement(required = true) protected Object fields; /** * Gets the value of the query property. * * @return * possible object is * {@link String } * */ public String getQuery() { return query; } /** * Sets the value of the query property. * * @param value * allowed object is * {@link String } * */ public void setQuery(String value) { this.query = value; } /** * Gets the value of the locale property. * * @return * possible object is * {@link String } * */ public String getLocale() { return locale; } /** * Sets the value of the locale property. * * @param value * allowed object is * {@link String } * */ public void setLocale(String value) { this.locale = value; } /** * Gets the value of the size property. * */ public int getSize() { return size; } /** * Sets the value of the size property. * */ public void setSize(int value) { this.size = value; } /** * Gets the value of the page property. * */ public int getPage() { return page; } /** * Sets the value of the page property. * */ public void setPage(int value) { this.page = value; } /** * Gets the value of the total property. * */ public int getTotal() { return total; } /** * Sets the value of the total property. * */ public void setTotal(int value) { this.total = value; } /** * Gets the value of the fields property. * * @return * possible object is * {@link Object } * */ public Object getFields() { return fields; } /** * Sets the value of the fields property. * * @param value * allowed object is * {@link Object } * */ public void setFields(Object value) { this.fields = value; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="result">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <sequence>
     *                   <element name="header">
     *                     <complexType>
     *                       <complexContent>
     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                           <sequence>
     *                             <any processContents='lax' maxOccurs="unbounded"/>
     *                           </sequence>
     *                         </restriction>
     *                       </complexContent>
     *                     </complexType>
     *                   </element>
     *                   <element name="metadata">
     *                     <complexType>
     *                       <complexContent>
     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                           <sequence>
     *                             <element ref="{http://namespace.openaire.eu/oaf}entity"/>
     *                           </sequence>
     *                         </restriction>
     *                       </complexContent>
     *                     </complexType>
     *                   </element>
     *                 </sequence>
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "result" }) public static class Results { @XmlElement(required = true) protected Response.Results.Result result; /** * Gets the value of the result property. * * @return * possible object is * {@link Response.Results.Result } * */ public Response.Results.Result getResult() { return result; } /** * Sets the value of the result property. * * @param value * allowed object is * {@link Response.Results.Result } * */ public void setResult(Response.Results.Result value) { this.result = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

         * <complexType>
         *   <complexContent>
         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *       <sequence>
         *         <element name="header">
         *           <complexType>
         *             <complexContent>
         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *                 <sequence>
         *                   <any processContents='lax' maxOccurs="unbounded"/>
         *                 </sequence>
         *               </restriction>
         *             </complexContent>
         *           </complexType>
         *         </element>
         *         <element name="metadata">
         *           <complexType>
         *             <complexContent>
         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *                 <sequence>
         *                   <element ref="{http://namespace.openaire.eu/oaf}entity"/>
         *                 </sequence>
         *               </restriction>
         *             </complexContent>
         *           </complexType>
         *         </element>
         *       </sequence>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "header", "metadata" }) public static class Result { @XmlElement(required = true) protected Response.Results.Result.Header header; @XmlElement(required = true) protected Response.Results.Result.Metadata metadata; /** * Gets the value of the header property. * * @return * possible object is * {@link Response.Results.Result.Header } * */ public Response.Results.Result.Header getHeader() { return header; } /** * Sets the value of the header property. * * @param value * allowed object is * {@link Response.Results.Result.Header } * */ public void setHeader(Response.Results.Result.Header value) { this.header = value; } /** * Gets the value of the metadata property. * * @return * possible object is * {@link Response.Results.Result.Metadata } * */ public Response.Results.Result.Metadata getMetadata() { return metadata; } /** * Sets the value of the metadata property. * * @param value * allowed object is * {@link Response.Results.Result.Metadata } * */ public void setMetadata(Response.Results.Result.Metadata value) { this.metadata = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

             * <complexType>
             *   <complexContent>
             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
             *       <sequence>
             *         <any processContents='lax' maxOccurs="unbounded"/>
             *       </sequence>
             *     </restriction>
             *   </complexContent>
             * </complexType>
             * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "any" }) public static class Header { @XmlAnyElement(lax = true) protected List any; /** * Gets the value of the any property. * *

* 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 Jakarta XML Binding object. * This is why there is not a set method for the any property. * *

* For example, to add a new item, do as follows: *

                 *    getAny().add(newItem);
                 * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Element } * {@link Object } * * */ public List getAny() { if (any == null) { any = new ArrayList(); } return this.any; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

             * <complexType>
             *   <complexContent>
             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
             *       <sequence>
             *         <element ref="{http://namespace.openaire.eu/oaf}entity"/>
             *       </sequence>
             *     </restriction>
             *   </complexContent>
             * </complexType>
             * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "entity" }) public static class Metadata { @XmlElement(namespace = "http://namespace.openaire.eu/oaf", required = true) protected Entity entity; /** * Gets the value of the entity property. * * @return * possible object is * {@link Entity } * */ public Entity getEntity() { return entity; } /** * Sets the value of the entity property. * * @param value * allowed object is * {@link Entity } * */ public void setEntity(Entity value) { this.entity = value; } } } } }