WebEmptyContextModel.java
/*
* GovWay - A customizable API Gateway
* https://govway.org
*
* Copyright (c) 2005-2024 Link.it srl (https://link.it).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3, as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package org.openspcoop2.protocol.manifest.model;
import org.openspcoop2.protocol.manifest.WebEmptyContext;
import org.openspcoop2.generic_project.beans.AbstractModel;
import org.openspcoop2.generic_project.beans.IField;
import org.openspcoop2.generic_project.beans.Field;
import org.openspcoop2.generic_project.beans.ComplexField;
/**
* Model WebEmptyContext
*
* @author Poli Andrea (poli@link.it)
* @author $Author$
* @version $Rev$, $Date$
*/
public class WebEmptyContextModel extends AbstractModel<WebEmptyContext> {
public WebEmptyContextModel(){
super();
this.SUB_CONTEXT = new org.openspcoop2.protocol.manifest.model.SubContextMappingModel(new Field("subContext",org.openspcoop2.protocol.manifest.SubContextMapping.class,"WebEmptyContext",WebEmptyContext.class));
this.EMPTY_SUB_CONTEXT = new org.openspcoop2.protocol.manifest.model.EmptySubContextMappingModel(new Field("emptySubContext",org.openspcoop2.protocol.manifest.EmptySubContextMapping.class,"WebEmptyContext",WebEmptyContext.class));
this.SOAP_MEDIA_TYPE_COLLECTION = new org.openspcoop2.protocol.manifest.model.SoapMediaTypeCollectionModel(new Field("soapMediaTypeCollection",org.openspcoop2.protocol.manifest.SoapMediaTypeCollection.class,"WebEmptyContext",WebEmptyContext.class));
this.REST_MEDIA_TYPE_COLLECTION = new org.openspcoop2.protocol.manifest.model.RestMediaTypeCollectionModel(new Field("restMediaTypeCollection",org.openspcoop2.protocol.manifest.RestMediaTypeCollection.class,"WebEmptyContext",WebEmptyContext.class));
this.ENABLED = new Field("enabled",boolean.class,"WebEmptyContext",WebEmptyContext.class);
this.EMPTY_FUNCTION = new Field("emptyFunction",java.lang.String.class,"WebEmptyContext",WebEmptyContext.class);
this.BINDING = new Field("binding",java.lang.String.class,"WebEmptyContext",WebEmptyContext.class);
}
public WebEmptyContextModel(IField father){
super(father);
this.SUB_CONTEXT = new org.openspcoop2.protocol.manifest.model.SubContextMappingModel(new ComplexField(father,"subContext",org.openspcoop2.protocol.manifest.SubContextMapping.class,"WebEmptyContext",WebEmptyContext.class));
this.EMPTY_SUB_CONTEXT = new org.openspcoop2.protocol.manifest.model.EmptySubContextMappingModel(new ComplexField(father,"emptySubContext",org.openspcoop2.protocol.manifest.EmptySubContextMapping.class,"WebEmptyContext",WebEmptyContext.class));
this.SOAP_MEDIA_TYPE_COLLECTION = new org.openspcoop2.protocol.manifest.model.SoapMediaTypeCollectionModel(new ComplexField(father,"soapMediaTypeCollection",org.openspcoop2.protocol.manifest.SoapMediaTypeCollection.class,"WebEmptyContext",WebEmptyContext.class));
this.REST_MEDIA_TYPE_COLLECTION = new org.openspcoop2.protocol.manifest.model.RestMediaTypeCollectionModel(new ComplexField(father,"restMediaTypeCollection",org.openspcoop2.protocol.manifest.RestMediaTypeCollection.class,"WebEmptyContext",WebEmptyContext.class));
this.ENABLED = new ComplexField(father,"enabled",boolean.class,"WebEmptyContext",WebEmptyContext.class);
this.EMPTY_FUNCTION = new ComplexField(father,"emptyFunction",java.lang.String.class,"WebEmptyContext",WebEmptyContext.class);
this.BINDING = new ComplexField(father,"binding",java.lang.String.class,"WebEmptyContext",WebEmptyContext.class);
}
public org.openspcoop2.protocol.manifest.model.SubContextMappingModel SUB_CONTEXT = null;
public org.openspcoop2.protocol.manifest.model.EmptySubContextMappingModel EMPTY_SUB_CONTEXT = null;
public org.openspcoop2.protocol.manifest.model.SoapMediaTypeCollectionModel SOAP_MEDIA_TYPE_COLLECTION = null;
public org.openspcoop2.protocol.manifest.model.RestMediaTypeCollectionModel REST_MEDIA_TYPE_COLLECTION = null;
public IField ENABLED = null;
public IField EMPTY_FUNCTION = null;
public IField BINDING = null;
@Override
public Class<WebEmptyContext> getModeledClass(){
return WebEmptyContext.class;
}
@Override
public String toString(){
if(this.getModeledClass()!=null){
return this.getModeledClass().getName();
}else{
return "N.D.";
}
}
}