/** * */ package com.fp.frontend.webservices.snap.modelo; import java.io.Serializable; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * Clase xml con los elementos de la salida del WS * @author Manuel Ceped * */ @XmlRootElement(name="Respuesta") @XmlAccessorType(XmlAccessType.FIELD) @XmlType (propOrder={"cabeceraXml","ejecucionXml","resultadoXml"}) public class SoapEnvelopWrapper implements Serializable { /** * */ private static final long serialVersionUID = 3927908598537900589L; @XmlElementRef private CabeceraXml cabeceraXml; @XmlElementRef private EjecucionXml ejecucionXml; @XmlElementRef private ResultadoXml resultadoXml; /** * */ public SoapEnvelopWrapper() { } /** * @param cabeceraXml * @param ejecucionXml * @param resultadoXml */ public SoapEnvelopWrapper(CabeceraXml cabeceraXml, EjecucionXml ejecucionXml, ResultadoXml resultadoXml) { super(); this.cabeceraXml = cabeceraXml; this.ejecucionXml = ejecucionXml; this.resultadoXml = resultadoXml; } /** * @return the cabeceraXml */ public CabeceraXml getCabeceraXml() { return cabeceraXml; } /** * @param cabeceraXml the cabeceraXml to set */ public void setCabeceraXml(CabeceraXml cabeceraXml) { this.cabeceraXml = cabeceraXml; } /** * @return the ejecucionXml */ public EjecucionXml getEjecucionXml() { return ejecucionXml; } /** * @param ejecucionXml the ejecucionXml to set */ public void setEjecucionXml(EjecucionXml ejecucionXml) { this.ejecucionXml = ejecucionXml; } /** * @return the resultadoXml */ public ResultadoXml getResultadoXml() { return resultadoXml; } /** * @param resultadoXml the resultadoXml to set */ public void setResultadoXml(ResultadoXml resultadoXml) { this.resultadoXml = resultadoXml; } }