MtomProcessorFlowParameterModel.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.core.config.model;

import org.openspcoop2.core.config.MtomProcessorFlowParameter;

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 MtomProcessorFlowParameter 
 *
 * @author Poli Andrea (poli@link.it)
 * @author $Author$
 * @version $Rev$, $Date$
 */
public class MtomProcessorFlowParameterModel extends AbstractModel<MtomProcessorFlowParameter> {

	public MtomProcessorFlowParameterModel(){
	
		super();
	
		this.NOME = new Field("nome",java.lang.String.class,"mtom-processor-flow-parameter",MtomProcessorFlowParameter.class);
		this.PATTERN = new Field("pattern",java.lang.String.class,"mtom-processor-flow-parameter",MtomProcessorFlowParameter.class);
		this.CONTENT_TYPE = new Field("content-type",java.lang.String.class,"mtom-processor-flow-parameter",MtomProcessorFlowParameter.class);
		this.REQUIRED = new Field("required",boolean.class,"mtom-processor-flow-parameter",MtomProcessorFlowParameter.class);
	
	}
	
	public MtomProcessorFlowParameterModel(IField father){
	
		super(father);
	
		this.NOME = new ComplexField(father,"nome",java.lang.String.class,"mtom-processor-flow-parameter",MtomProcessorFlowParameter.class);
		this.PATTERN = new ComplexField(father,"pattern",java.lang.String.class,"mtom-processor-flow-parameter",MtomProcessorFlowParameter.class);
		this.CONTENT_TYPE = new ComplexField(father,"content-type",java.lang.String.class,"mtom-processor-flow-parameter",MtomProcessorFlowParameter.class);
		this.REQUIRED = new ComplexField(father,"required",boolean.class,"mtom-processor-flow-parameter",MtomProcessorFlowParameter.class);
	
	}
	
	

	public IField NOME = null;
	 
	public IField PATTERN = null;
	 
	public IField CONTENT_TYPE = null;
	 
	public IField REQUIRED = null;
	 

	@Override
	public Class<MtomProcessorFlowParameter> getModeledClass(){
		return MtomProcessorFlowParameter.class;
	}
	
	@Override
	public String toString(){
		if(this.getModeledClass()!=null){
			return this.getModeledClass().getName();
		}else{
			return "N.D.";
		}
	}

}