HeaderIntegrazione.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. /**
  22.  * Classe utilizzata per rappresentare le informazioni inserite in una header di integrazione.
  23.  *
  24.  *
  25.  * @author Poli Andrea (apoli@link.it)
  26.  * @author $Author$
  27.  * @version $Rev$, $Date$
  28.  */
  29. public class HeaderIntegrazione implements java.io.Serializable{

  30.     /**
  31.      *
  32.      */
  33.     private static final long serialVersionUID = 1L;

  34.     /** Informazioni */
  35.     private HeaderIntegrazioneBusta busta;
  36.    
  37.     /** ID Applicativo */
  38.     private String idApplicativo;
  39.        
  40.     /** Identita del servizio applicativo */
  41.     private String servizioApplicativo;
  42.    
  43.     /** Identita del servizio applicativo token */
  44.     private String tipoSoggettoProprietarioApplicativoToken;
  45.     private String nomeSoggettoProprietarioApplicativoToken;
  46.     private String servizioApplicativoToken;

  47.     /** ID Transazione */
  48.     private String idTransazione;
  49.        
  50.     /** costruttore */
  51.     public HeaderIntegrazione(String idTransazione){
  52.         this.busta = new HeaderIntegrazioneBusta();
  53.         this.idTransazione = idTransazione;
  54.     }
  55.    
  56.    
  57.     /**
  58.      * @return the HeaderIntegrazioneBusta
  59.      */
  60.     public HeaderIntegrazioneBusta getBusta() {
  61.         return this.busta;
  62.     }

  63.     /**
  64.      * @return the idApplicativo
  65.      */
  66.     public String getIdApplicativo() {
  67.         return this.idApplicativo;
  68.     }


  69.     /**
  70.      * @return the servizioApplicativo
  71.      */
  72.     public String getServizioApplicativo() {
  73.         return this.servizioApplicativo;
  74.     }
  75.    
  76.     public String getTipoSoggettoProprietarioApplicativoToken() {
  77.         return this.tipoSoggettoProprietarioApplicativoToken;
  78.     }
  79.     public String getNomeSoggettoProprietarioApplicativoToken() {
  80.         return this.nomeSoggettoProprietarioApplicativoToken;
  81.     }

  82.     /**
  83.      * @return the servizioApplicativoToken
  84.      */
  85.     public String getServizioApplicativoToken() {
  86.         return this.servizioApplicativoToken;
  87.     }

  88.     /**
  89.      * @param busta HeaderIntegrazioneBusta
  90.      */
  91.     public void setBusta(HeaderIntegrazioneBusta busta) {
  92.         this.busta = busta;
  93.     }

  94.     /**
  95.      * @param idApplicativo the idApplicativo to set
  96.      */
  97.     public void setIdApplicativo(String idApplicativo) {
  98.         this.idApplicativo = idApplicativo;
  99.     }


  100.     /**
  101.      * @param servizioApplicativo the servizioApplicativo to set
  102.      */
  103.     public void setServizioApplicativo(String servizioApplicativo) {
  104.         this.servizioApplicativo = servizioApplicativo;
  105.     }
  106.    
  107.     public void setTipoSoggettoProprietarioApplicativoToken(String tipoSoggettoProprietarioApplicativoToken) {
  108.         this.tipoSoggettoProprietarioApplicativoToken = tipoSoggettoProprietarioApplicativoToken;
  109.     }
  110.     public void setNomeSoggettoProprietarioApplicativoToken(String nomeSoggettoProprietarioApplicativoToken) {
  111.         this.nomeSoggettoProprietarioApplicativoToken = nomeSoggettoProprietarioApplicativoToken;
  112.     }
  113.    
  114.     /**
  115.      * @param servizioApplicativoToken the servizioApplicativo to set
  116.      */
  117.     public void setServizioApplicativoToken(String servizioApplicativoToken) {
  118.         this.servizioApplicativoToken = servizioApplicativoToken;
  119.     }


  120.     public String getIdTransazione() {
  121.         return this.idTransazione;
  122.     }


  123.     public void setIdTransazione(String idTransazione) {
  124.         this.idTransazione = idTransazione;
  125.     }
  126. }