HeaderIntegrazioneBusta.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 org.openspcoop2.protocol.sdk.constants.ProfiloDiCollaborazione;

  22. /**
  23.  * Classe utilizzata per rappresentare le informazioni della busta inserite in una header di integrazione.
  24.  *
  25.  *
  26.  * @author Poli Andrea (apoli@link.it)
  27.  * @author $Author$
  28.  * @version $Rev$, $Date$
  29.  */
  30. public class HeaderIntegrazioneBusta implements java.io.Serializable{

  31.      /**
  32.      *
  33.      */
  34.     private static final long serialVersionUID = 1L;
  35.     /** Tipo del Mittente. */
  36.     private String tipoMittente;
  37.     /** Mittente. */
  38.     private String mittente;

  39.     /** Tipo del Destinatario (Destinatario). */
  40.     private String tipoDestinatario;
  41.     /** Destinatario (Destinatario). */
  42.     private String destinatario;
  43.    
  44.     /** Servizio. */
  45.     private String servizio;
  46.     /** Tipo di Servizio. */
  47.     private String tipoServizio;
  48.     /** Versione Servizio */
  49.     private Integer versioneServizio;

  50.     /** Azione. */
  51.     private String azione;
  52.    
  53.     /** Identificativo Messaggio. */
  54.     private String ID;
  55.     /** Riferimento Messaggio. */
  56.     private String riferimentoMessaggio;
  57.     /** ID Collaborazione */
  58.     private String idCollaborazione;
  59.    
  60.     /** Profilo di Collaborazione */
  61.     private ProfiloDiCollaborazione profiloDiCollaborazione;
  62.    
  63.     /**
  64.      * Imposta il tipo del Mittente.
  65.      *
  66.      * @param type tipo del Mittente.
  67.      *
  68.      */
  69.     public void setTipoMittente(String type ){
  70.         this.tipoMittente = type;
  71.     }

  72.     /**
  73.      * Imposta il Mittente.
  74.      *
  75.      * @param m Mittente.
  76.      *
  77.      */
  78.     public void setMittente(String m ){
  79.         this.mittente = m;
  80.     }


  81.     /**
  82.      * Imposta il tipo del Destinatario (Destinatario).
  83.      *
  84.      * @param type tipo del Destinatario.
  85.      *
  86.      */
  87.     public void setTipoDestinatario(String type ){
  88.         this.tipoDestinatario = type;
  89.     }
  90.    
  91.     /**
  92.      * Imposta il Destinatario (Destinatario).
  93.      *
  94.      * @param s Destinatario.
  95.      *
  96.      */
  97.     public void setDestinatario(String s ){
  98.         this.destinatario = s;
  99.     }
  100.    
  101.     /**
  102.      * Imposta il Servizio.
  103.      *
  104.      * @param s Servizio.
  105.      *
  106.      */
  107.     public void setServizio(String s ){
  108.         this.servizio = s;
  109.     }
  110.     /**
  111.      * Imposta il tipo del Servizio.
  112.      *
  113.      * @param type tipo del Servizio.
  114.      *
  115.      */
  116.     public void setTipoServizio(String type ){
  117.         this.tipoServizio = type;
  118.     }

  119.     /**
  120.      * Imposta l'Azione.
  121.      *
  122.      * @param a Azione.
  123.      *
  124.      */
  125.     public void setAzione(String a ){
  126.         this.azione = a;
  127.     }
  128.    
  129.     /**
  130.      * Imposta l'identificativo del messaggio.
  131.      *
  132.      * @param id identificativo del messaggio.
  133.      *
  134.      */
  135.     public void setID(String id ){
  136.         this.ID = id;
  137.     }

  138.     /**
  139.      * Imposta il Riferimento Messaggio.
  140.      *
  141.      * @param rif riferimento messaggio.
  142.      *
  143.      */
  144.     public void setRiferimentoMessaggio(String rif ){
  145.         this.riferimentoMessaggio = rif;
  146.     }
  147.    

  148.     /**
  149.      * @param idCollaborazione the idCollaborazione to set
  150.      */
  151.     public void setIdCollaborazione(String idCollaborazione) {
  152.         this.idCollaborazione = idCollaborazione;
  153.     }
  154.    
  155.     /**
  156.      * Ritornaa il tipo del Mittente.
  157.      *
  158.      * @return tipo del Mittente.
  159.      *
  160.      */
  161.     public String getTipoMittente(){
  162.         return this.tipoMittente;
  163.     }

  164.     /**
  165.      * Ritorna il Mittente.
  166.      *
  167.      * @return Mittente.
  168.      *
  169.      */
  170.     public String getMittente(){
  171.         return this.mittente;
  172.     }


  173.     /**
  174.      * Ritorna il tipo del Destinatario (Destinatario).
  175.      *
  176.      * @return tipo del Destinatario.
  177.      *
  178.      */
  179.     public String getTipoDestinatario(){
  180.         return this.tipoDestinatario;
  181.     }

  182.     /**
  183.      * Ritorna il Destinatario (Destinatario).
  184.      *
  185.      * @return Destinatario.
  186.      *
  187.      */
  188.     public String getDestinatario(){
  189.         return this.destinatario;
  190.     }
  191.    
  192.     /**
  193.      * Ritorna il Servizio.
  194.      *
  195.      * @return Servizio.
  196.      *
  197.      */
  198.     public String getServizio(){
  199.         return this.servizio;
  200.     }
  201.     /**
  202.      * Ritorna il tipo del Servizio.
  203.      *
  204.      * @return tipo del Servizio.
  205.      *
  206.      */
  207.     public String getTipoServizio(){
  208.         return this.tipoServizio;
  209.     }


  210.     /**
  211.      * Ritorna l'Azione.
  212.      *
  213.      * @return Azione.
  214.      *
  215.      */
  216.     public String getAzione(){
  217.         return this.azione;
  218.     }


  219.     /**
  220.      * Ritorna l'identificativo del messaggio.
  221.      *
  222.      * @return identificativo del messaggio.
  223.      *
  224.      */
  225.     public String getID(){
  226.         return this.ID;
  227.     }

  228.     /**
  229.      * Ritorna il Riferimento Messaggio.
  230.      *
  231.      * @return riferimento messaggio.
  232.      *
  233.      */
  234.     public String getRiferimentoMessaggio(){
  235.         return this.riferimentoMessaggio;
  236.     }
  237.    
  238.     /**
  239.      * @return the idCollaborazione
  240.      */
  241.     public String getIdCollaborazione() {
  242.         return this.idCollaborazione;
  243.     }

  244.     /**
  245.      * @return the profiloDiCollaborazione
  246.      */
  247.     public ProfiloDiCollaborazione getProfiloDiCollaborazione() {
  248.         return this.profiloDiCollaborazione;
  249.     }

  250.     /**
  251.      * @param profiloDiCollaborazione the profiloDiCollaborazione to set
  252.      */
  253.     public void setProfiloDiCollaborazione(ProfiloDiCollaborazione profiloDiCollaborazione) {
  254.         this.profiloDiCollaborazione = profiloDiCollaborazione;
  255.     }
  256.    
  257.     public Integer getVersioneServizio() {
  258.         return this.versioneServizio;
  259.     }

  260.     public void setVersioneServizio(Integer versioneServizio) {
  261.         this.versioneServizio = versioneServizio;
  262.     }
  263. }