InResponsePAMessage.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.PortaApplicativa;
  24. import org.openspcoop2.core.config.PortaDelegata;
  25. import org.openspcoop2.core.id.IDServizio;
  26. import org.openspcoop2.core.id.IDSoggetto;
  27. import org.openspcoop2.message.OpenSPCoop2Message;
  28. import org.openspcoop2.protocol.sdk.Busta;

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

  37.     private OpenSPCoop2Message message;
  38.     private Map<String, List<String>> headers;
  39.     private PortaApplicativa portaApplicativa;
  40.     private PortaDelegata portaDelegata; // presente al posto della PA in caso di SCENARIO_ASINCRONO_SIMMETRICO_CONSEGNA_RISPOSTA
  41.     private IDSoggetto soggettoMittente;
  42.     private IDServizio servizio;
  43.     private Busta bustaRichiesta;
  44.    
  45.     public Busta getBustaRichiesta() {
  46.         return this.bustaRichiesta;
  47.     }
  48.     public void setBustaRichiesta(Busta busta) {
  49.         this.bustaRichiesta = busta;
  50.     }
  51.     public OpenSPCoop2Message getMessage() {
  52.         return this.message;
  53.     }
  54.     public void setMessage(OpenSPCoop2Message msg) {
  55.         this.message = msg;
  56.     }
  57.     public Map<String, List<String>> getHeaders() {
  58.         return this.headers;
  59.     }
  60.     public void setHeaders(Map<String, List<String>> proprietaTrasporto) {
  61.         this.headers = proprietaTrasporto;
  62.     }
  63.     public IDSoggetto getSoggettoMittente() {
  64.         return this.soggettoMittente;
  65.     }
  66.     public void setSoggettoMittente(IDSoggetto soggettoMittente) {
  67.         this.soggettoMittente = soggettoMittente;
  68.     }
  69.     public IDServizio getServizio() {
  70.         return this.servizio;
  71.     }
  72.     public void setServizio(IDServizio servizio) {
  73.         this.servizio = servizio;
  74.     }
  75.     public PortaApplicativa getPortaApplicativa() {
  76.         return this.portaApplicativa;
  77.     }
  78.     public void setPortaApplicativa(PortaApplicativa portaApplicativa) {
  79.         this.portaApplicativa = portaApplicativa;
  80.     }
  81.     public PortaDelegata getPortaDelegata() {
  82.         return this.portaDelegata;
  83.     }
  84.     public void setPortaDelegata(PortaDelegata portaDelegata) {
  85.         this.portaDelegata = portaDelegata;
  86.     }
  87.    
  88. }