ReplaceMatchFieldType.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.information_missing;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlAttribute;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import org.openspcoop2.protocol.information_missing.constants.ReplaceKeywordType;
  27. import java.io.Serializable;


  28. /** <p>Java class for ReplaceMatchFieldType complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="ReplaceMatchFieldType"&gt;
  34.  *      &lt;attribute name="valore" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  35.  *      &lt;attribute name="tipo" type="{http://www.openspcoop2.org/protocol/information_missing}ReplaceKeywordType" use="required"/&gt;
  36.  * &lt;/complexType&gt;
  37.  * </pre>
  38.  *
  39.  * @version $Rev$, $Date$
  40.  *
  41.  * @author Poli Andrea (poli@link.it)
  42.  * @author $Author$
  43.  * */

  44. @XmlAccessorType(XmlAccessType.FIELD)
  45. @XmlType(name = "ReplaceMatchFieldType")

  46. @XmlRootElement(name = "ReplaceMatchFieldType")

  47. public class ReplaceMatchFieldType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  48.   public ReplaceMatchFieldType() {
  49.     super();
  50.   }

  51.   public java.lang.String getValore() {
  52.     return this.valore;
  53.   }

  54.   public void setValore(java.lang.String valore) {
  55.     this.valore = valore;
  56.   }

  57.   public void setTipoRawEnumValue(String value) {
  58.     this.tipo = (ReplaceKeywordType) ReplaceKeywordType.toEnumConstantFromString(value);
  59.   }

  60.   public String getTipoRawEnumValue() {
  61.     if(this.tipo == null){
  62.         return null;
  63.     }else{
  64.         return this.tipo.toString();
  65.     }
  66.   }

  67.   public org.openspcoop2.protocol.information_missing.constants.ReplaceKeywordType getTipo() {
  68.     return this.tipo;
  69.   }

  70.   public void setTipo(org.openspcoop2.protocol.information_missing.constants.ReplaceKeywordType tipo) {
  71.     this.tipo = tipo;
  72.   }

  73.   private static final long serialVersionUID = 1L;



  74.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  75.   @XmlAttribute(name="valore",required=false)
  76.   protected java.lang.String valore;

  77.   @javax.xml.bind.annotation.XmlTransient
  78.   protected java.lang.String tipoRawEnumValue;

  79.   @XmlAttribute(name="tipo",required=true)
  80.   protected ReplaceKeywordType tipo;

  81. }