package net.conselldemallorca.helium.wsintegraciones.portafirmasws.cws; 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>Clase Java para anonymous complex type. * * <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="result" type="{http://www.indra.es/portafirmasws/cws}Result"/> * <element name="search-result" type="{http://www.indra.es/portafirmasws/cws}SearchResult"/> * </sequence> * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "result", "searchResult" }) @XmlRootElement(name = "search-response") public class SearchResponse { @XmlElement(required = true) protected Result result; @XmlElement(name = "search-result", required = true, nillable = true) protected SearchResult searchResult; @XmlAttribute(name = "version") protected String version; /** * Obtiene el valor de la propiedad result. * * @return * possible object is * {@link Result } * */ public Result getResult() { return result; } /** * Define el valor de la propiedad result. * * @param value * allowed object is * {@link Result } * */ public void setResult(Result value) { this.result = value; } /** * Obtiene el valor de la propiedad searchResult. * * @return * possible object is * {@link SearchResult } * */ public SearchResult getSearchResult() { return searchResult; } /** * Define el valor de la propiedad searchResult. * * @param value * allowed object is * {@link SearchResult } * */ public void setSearchResult(SearchResult value) { this.searchResult = value; } /** * Obtiene el valor de la propiedad version. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Define el valor de la propiedad version. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } }