InformazioniProtocollo.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.protocol.sdk;

  21. /**
  22.  * Classe utilizzata per rappresentare le informazioni su di un protocollo
  23.  *
  24.  *
  25.  * @author Poli Andrea (apoli@link.it)
  26.  * @author $Author$
  27.  * @version $Rev$, $Date$
  28.  */


  29. public class InformazioniProtocollo implements java.io.Serializable{

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

  34.     private String name;
  35.     private String label;
  36.     private String description;
  37.     private String webSite;
  38.    
  39.     private boolean errorProtocol;
  40.     private boolean envelopeErrorProtocol = true;
  41.     private String labelErrorProtocol;
  42.     private boolean externalFault;
  43.     private String labelExternalFault;
  44.    
  45.     public String getName() {
  46.         return this.name;
  47.     }
  48.     public void setName(String name) {
  49.         this.name = name;
  50.     }
  51.     public String getLabel() {
  52.         return this.label;
  53.     }
  54.     public void setLabel(String label) {
  55.         this.label = label;
  56.     }
  57.     public String getDescription() {
  58.         return this.description;
  59.     }
  60.     public void setDescription(String description) {
  61.         this.description = description;
  62.     }
  63.     public String getWebSite() {
  64.         return this.webSite;
  65.     }
  66.     public void setWebSite(String webSite) {
  67.         this.webSite = webSite;
  68.     }
  69.     public boolean isErrorProtocol() {
  70.         return this.errorProtocol;
  71.     }
  72.     public void setErrorProtocol(boolean errorProtocol) {
  73.         this.errorProtocol = errorProtocol;
  74.     }
  75.     public boolean isEnvelopeErrorProtocol() {
  76.         return this.envelopeErrorProtocol;
  77.     }
  78.     public void setEnvelopeErrorProtocol(boolean envelopeErrorProtocol) {
  79.         this.envelopeErrorProtocol = envelopeErrorProtocol;
  80.     }
  81.     public String getLabelErrorProtocol() {
  82.         return this.labelErrorProtocol;
  83.     }
  84.     public void setLabelErrorProtocol(String labelErrorProtocol) {
  85.         this.labelErrorProtocol = labelErrorProtocol;
  86.     }
  87.     public boolean isExternalFault() {
  88.         return this.externalFault;
  89.     }
  90.     public void setExternalFault(boolean externalFault) {
  91.         this.externalFault = externalFault;
  92.     }
  93.     public String getLabelExternalFault() {
  94.         return this.labelExternalFault;
  95.     }
  96.     public void setLabelExternalFault(String labelExternalFault) {
  97.         this.labelExternalFault = labelExternalFault;
  98.     }
  99. }