InResponsePDMessage.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */

  20. package org.openspcoop2.pdd.core.integrazione;

  21. import java.util.List;
  22. import java.util.Map;

  23. import org.openspcoop2.core.config.PortaDelegata;
  24. import org.openspcoop2.core.id.IDServizio;
  25. import org.openspcoop2.core.id.IDSoggetto;
  26. import org.openspcoop2.message.OpenSPCoop2Message;
  27. import org.openspcoop2.protocol.sdk.Busta;

  28. /**
  29.  * InResponsePDMessage
  30.  *
  31.  * @author Poli Andrea (apoli@link.it)
  32.  * @author $Author$
  33.  * @version $Rev$, $Date$
  34.  */
  35. public class InResponsePDMessage {

  36.     private OpenSPCoop2Message message;
  37.     private Map<String, List<String>> headers;
  38.     private PortaDelegata portaDelegata;
  39.     private IDSoggetto soggettoMittente;
  40.     private IDServizio servizio;
  41.     private Busta bustaRichiesta;
  42.    
  43.     public Busta getBustaRichiesta() {
  44.         return this.bustaRichiesta;
  45.     }
  46.     public void setBustaRichiesta(Busta busta) {
  47.         this.bustaRichiesta = busta;
  48.     }
  49.     public OpenSPCoop2Message getMessage() {
  50.         return this.message;
  51.     }
  52.     public void setMessage(OpenSPCoop2Message message) {
  53.         this.message = message;
  54.     }
  55.     public Map<String, List<String>> getHeaders() {
  56.         return this.headers;
  57.     }
  58.     public void setHeaders(Map<String, List<String>> proprietaTrasporto) {
  59.         this.headers = proprietaTrasporto;
  60.     }
  61.     public PortaDelegata getPortaDelegata() {
  62.         return this.portaDelegata;
  63.     }
  64.     public void setPortaDelegata(PortaDelegata portaDelegata) {
  65.         this.portaDelegata = portaDelegata;
  66.     }
  67.     public IDSoggetto getSoggettoMittente() {
  68.         return this.soggettoMittente;
  69.     }
  70.     public void setSoggettoMittente(IDSoggetto soggettoMittente) {
  71.         this.soggettoMittente = soggettoMittente;
  72.     }
  73.     public IDServizio getServizio() {
  74.         return this.servizio;
  75.     }
  76.     public void setServizio(IDServizio servizio) {
  77.         this.servizio = servizio;
  78.     }
  79.    
  80. }