SoapConfigurationModel.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.manifest.model;

  21. import org.openspcoop2.protocol.manifest.SoapConfiguration;

  22. import org.openspcoop2.generic_project.beans.AbstractModel;
  23. import org.openspcoop2.generic_project.beans.IField;
  24. import org.openspcoop2.generic_project.beans.Field;
  25. import org.openspcoop2.generic_project.beans.ComplexField;


  26. /**    
  27.  * Model SoapConfiguration
  28.  *
  29.  * @author Poli Andrea (poli@link.it)
  30.  * @author $Author$
  31.  * @version $Rev$, $Date$
  32.  */
  33. public class SoapConfigurationModel extends AbstractModel<SoapConfiguration> {

  34.     public SoapConfigurationModel(){
  35.    
  36.         super();
  37.    
  38.         this.INTEGRATION = new org.openspcoop2.protocol.manifest.model.IntegrationModel(new Field("integration",org.openspcoop2.protocol.manifest.Integration.class,"SoapConfiguration",SoapConfiguration.class));
  39.         this.INTEGRATION_ERROR = new org.openspcoop2.protocol.manifest.model.IntegrationErrorConfigurationModel(new Field("integrationError",org.openspcoop2.protocol.manifest.IntegrationErrorConfiguration.class,"SoapConfiguration",SoapConfiguration.class));
  40.         this.MEDIA_TYPE_COLLECTION = new org.openspcoop2.protocol.manifest.model.SoapMediaTypeCollectionModel(new Field("mediaTypeCollection",org.openspcoop2.protocol.manifest.SoapMediaTypeCollection.class,"SoapConfiguration",SoapConfiguration.class));
  41.         this.INTERFACES = new org.openspcoop2.protocol.manifest.model.InterfacesConfigurationModel(new Field("interfaces",org.openspcoop2.protocol.manifest.InterfacesConfiguration.class,"SoapConfiguration",SoapConfiguration.class));
  42.         this.PROFILE = new org.openspcoop2.protocol.manifest.model.CollaborationProfileModel(new Field("profile",org.openspcoop2.protocol.manifest.CollaborationProfile.class,"SoapConfiguration",SoapConfiguration.class));
  43.         this.FUNCTIONALITY = new org.openspcoop2.protocol.manifest.model.FunctionalityModel(new Field("functionality",org.openspcoop2.protocol.manifest.Functionality.class,"SoapConfiguration",SoapConfiguration.class));
  44.         this.SOAP_HEADER_BYPASS_MUST_UNDERSTAND = new org.openspcoop2.protocol.manifest.model.SoapHeaderBypassMustUnderstandModel(new Field("soapHeaderBypassMustUnderstand",org.openspcoop2.protocol.manifest.SoapHeaderBypassMustUnderstand.class,"SoapConfiguration",SoapConfiguration.class));
  45.         this.SOAP_11 = new Field("soap11",boolean.class,"SoapConfiguration",SoapConfiguration.class);
  46.         this.SOAP_11_WITH_ATTACHMENTS = new Field("soap11_withAttachments",boolean.class,"SoapConfiguration",SoapConfiguration.class);
  47.         this.SOAP_11_MTOM = new Field("soap11_mtom",boolean.class,"SoapConfiguration",SoapConfiguration.class);
  48.         this.SOAP_12 = new Field("soap12",boolean.class,"SoapConfiguration",SoapConfiguration.class);
  49.         this.SOAP_12_WITH_ATTACHMENTS = new Field("soap12_withAttachments",boolean.class,"SoapConfiguration",SoapConfiguration.class);
  50.         this.SOAP_12_MTOM = new Field("soap12_mtom",boolean.class,"SoapConfiguration",SoapConfiguration.class);
  51.    
  52.     }
  53.    
  54.     public SoapConfigurationModel(IField father){
  55.    
  56.         super(father);
  57.    
  58.         this.INTEGRATION = new org.openspcoop2.protocol.manifest.model.IntegrationModel(new ComplexField(father,"integration",org.openspcoop2.protocol.manifest.Integration.class,"SoapConfiguration",SoapConfiguration.class));
  59.         this.INTEGRATION_ERROR = new org.openspcoop2.protocol.manifest.model.IntegrationErrorConfigurationModel(new ComplexField(father,"integrationError",org.openspcoop2.protocol.manifest.IntegrationErrorConfiguration.class,"SoapConfiguration",SoapConfiguration.class));
  60.         this.MEDIA_TYPE_COLLECTION = new org.openspcoop2.protocol.manifest.model.SoapMediaTypeCollectionModel(new ComplexField(father,"mediaTypeCollection",org.openspcoop2.protocol.manifest.SoapMediaTypeCollection.class,"SoapConfiguration",SoapConfiguration.class));
  61.         this.INTERFACES = new org.openspcoop2.protocol.manifest.model.InterfacesConfigurationModel(new ComplexField(father,"interfaces",org.openspcoop2.protocol.manifest.InterfacesConfiguration.class,"SoapConfiguration",SoapConfiguration.class));
  62.         this.PROFILE = new org.openspcoop2.protocol.manifest.model.CollaborationProfileModel(new ComplexField(father,"profile",org.openspcoop2.protocol.manifest.CollaborationProfile.class,"SoapConfiguration",SoapConfiguration.class));
  63.         this.FUNCTIONALITY = new org.openspcoop2.protocol.manifest.model.FunctionalityModel(new ComplexField(father,"functionality",org.openspcoop2.protocol.manifest.Functionality.class,"SoapConfiguration",SoapConfiguration.class));
  64.         this.SOAP_HEADER_BYPASS_MUST_UNDERSTAND = new org.openspcoop2.protocol.manifest.model.SoapHeaderBypassMustUnderstandModel(new ComplexField(father,"soapHeaderBypassMustUnderstand",org.openspcoop2.protocol.manifest.SoapHeaderBypassMustUnderstand.class,"SoapConfiguration",SoapConfiguration.class));
  65.         this.SOAP_11 = new ComplexField(father,"soap11",boolean.class,"SoapConfiguration",SoapConfiguration.class);
  66.         this.SOAP_11_WITH_ATTACHMENTS = new ComplexField(father,"soap11_withAttachments",boolean.class,"SoapConfiguration",SoapConfiguration.class);
  67.         this.SOAP_11_MTOM = new ComplexField(father,"soap11_mtom",boolean.class,"SoapConfiguration",SoapConfiguration.class);
  68.         this.SOAP_12 = new ComplexField(father,"soap12",boolean.class,"SoapConfiguration",SoapConfiguration.class);
  69.         this.SOAP_12_WITH_ATTACHMENTS = new ComplexField(father,"soap12_withAttachments",boolean.class,"SoapConfiguration",SoapConfiguration.class);
  70.         this.SOAP_12_MTOM = new ComplexField(father,"soap12_mtom",boolean.class,"SoapConfiguration",SoapConfiguration.class);
  71.    
  72.     }
  73.    
  74.    

  75.     public org.openspcoop2.protocol.manifest.model.IntegrationModel INTEGRATION = null;
  76.      
  77.     public org.openspcoop2.protocol.manifest.model.IntegrationErrorConfigurationModel INTEGRATION_ERROR = null;
  78.      
  79.     public org.openspcoop2.protocol.manifest.model.SoapMediaTypeCollectionModel MEDIA_TYPE_COLLECTION = null;
  80.      
  81.     public org.openspcoop2.protocol.manifest.model.InterfacesConfigurationModel INTERFACES = null;
  82.      
  83.     public org.openspcoop2.protocol.manifest.model.CollaborationProfileModel PROFILE = null;
  84.      
  85.     public org.openspcoop2.protocol.manifest.model.FunctionalityModel FUNCTIONALITY = null;
  86.      
  87.     public org.openspcoop2.protocol.manifest.model.SoapHeaderBypassMustUnderstandModel SOAP_HEADER_BYPASS_MUST_UNDERSTAND = null;
  88.      
  89.     public IField SOAP_11 = null;
  90.      
  91.     public IField SOAP_11_WITH_ATTACHMENTS = null;
  92.      
  93.     public IField SOAP_11_MTOM = null;
  94.      
  95.     public IField SOAP_12 = null;
  96.      
  97.     public IField SOAP_12_WITH_ATTACHMENTS = null;
  98.      
  99.     public IField SOAP_12_MTOM = null;
  100.      

  101.     @Override
  102.     public Class<SoapConfiguration> getModeledClass(){
  103.         return SoapConfiguration.class;
  104.     }
  105.    
  106.     @Override
  107.     public String toString(){
  108.         if(this.getModeledClass()!=null){
  109.             return this.getModeledClass().getName();
  110.         }else{
  111.             return "N.D.";
  112.         }
  113.     }

  114. }