SoapBinding.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.message.config;

  21. import java.io.Serializable;

  22. /**
  23.  * SoapBinding
  24.  *
  25.  * @author Poli Andrea (apoli@link.it)
  26.  * @author $Author$
  27.  * @version $Rev$, $Date$
  28.  */
  29. public class SoapBinding implements Serializable {

  30.     /**
  31.      *
  32.      */
  33.     private static final long serialVersionUID = 1L;
  34.    
  35.     private boolean binding_soap11 = false;
  36.     private boolean binding_soap11_withAttachments = false;
  37.     private boolean binding_soap11_mtom = false;
  38.    
  39.     private boolean binding_soap12 = false;
  40.     private boolean binding_soap12_withAttachments = false;
  41.     private boolean binding_soap12_mtom = false;
  42.    
  43.     public SoapBinding(boolean binding_soap11, boolean binding_soap11_withAttachments, boolean binding_soap11_mtom,
  44.             boolean binding_soap12, boolean binding_soap12_withAttachments, boolean binding_soap12_mtom){
  45.         this.binding_soap11 = binding_soap11;
  46.         this.binding_soap11_withAttachments = binding_soap11_withAttachments;
  47.         this.binding_soap11_mtom = binding_soap11_mtom;
  48.        
  49.         this.binding_soap12 = binding_soap12;
  50.         this.binding_soap12_withAttachments = binding_soap12_withAttachments;
  51.         this.binding_soap12_mtom = binding_soap12_mtom;
  52.     }
  53.    
  54.     public boolean isBinding_soap11() {
  55.         return this.binding_soap11;
  56.     }
  57.     public boolean isBinding_soap11_withAttachments() {
  58.         return this.binding_soap11_withAttachments;
  59.     }
  60.     public boolean isBinding_soap11_mtom() {
  61.         return this.binding_soap11_mtom;
  62.     }
  63.    
  64.     public boolean isBinding_soap12() {
  65.         return this.binding_soap12;
  66.     }
  67.     public boolean isBinding_soap12_withAttachments() {
  68.         return this.binding_soap12_withAttachments;
  69.     }
  70.     public boolean isBinding_soap12_mtom() {
  71.         return this.binding_soap12_mtom;
  72.     }
  73. }