AltriDatiGestionaliType.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 it.gov.fatturapa.sdi.fatturapa.v1_0;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;


/** <p>Java class for AltriDatiGestionaliType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="AltriDatiGestionaliType"&gt;
 * 		&lt;sequence&gt;
 * 			&lt;element name="TipoDato" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="1" maxOccurs="1"/&gt;
 * 			&lt;element name="RiferimentoTesto" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="0" maxOccurs="1"/&gt;
 * 			&lt;element name="RiferimentoNumero" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}decimal" minOccurs="0" maxOccurs="1"/&gt;
 * 			&lt;element name="RiferimentoData" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0" maxOccurs="1"/&gt;
 * 		&lt;/sequence&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * @version $Rev$, $Date$
 * 
 * @author Poli Andrea (poli@link.it)
 * @author $Author$
 * */

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AltriDatiGestionaliType", 
  propOrder = {
  	"tipoDato",
  	"riferimentoTesto",
  	"_decimalWrapper_riferimentoNumero",
  	"riferimentoData"
  }
)

@XmlRootElement(name = "AltriDatiGestionaliType")

public class AltriDatiGestionaliType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  public AltriDatiGestionaliType() {
    super();
  }

  public java.lang.String getTipoDato() {
    return this.tipoDato;
  }

  public void setTipoDato(java.lang.String tipoDato) {
    this.tipoDato = tipoDato;
  }

  public java.lang.String getRiferimentoTesto() {
    return this.riferimentoTesto;
  }

  public void setRiferimentoTesto(java.lang.String riferimentoTesto) {
    this.riferimentoTesto = riferimentoTesto;
  }

  public java.math.BigDecimal getRiferimentoNumero() {
    if(this._decimalWrapper_riferimentoNumero!=null){
		return (java.math.BigDecimal) this._decimalWrapper_riferimentoNumero.getObject(java.math.BigDecimal.class);
	}else{
		return this.riferimentoNumero;
	}
  }

  public void setRiferimentoNumero(java.math.BigDecimal riferimentoNumero) {
    if(riferimentoNumero!=null){
		this._decimalWrapper_riferimentoNumero = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,11,2,8,riferimentoNumero);
	}
  }

  public java.util.Date getRiferimentoData() {
    return this.riferimentoData;
  }

  public void setRiferimentoData(java.util.Date riferimentoData) {
    this.riferimentoData = riferimentoData;
  }

  private static final long serialVersionUID = 1L;



  @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  @XmlElement(name="TipoDato",required=true,nillable=false)
  protected java.lang.String tipoDato;

  @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  @XmlElement(name="RiferimentoTesto",required=false,nillable=false)
  protected java.lang.String riferimentoTesto;

  @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Decimal2String.class)
  @javax.xml.bind.annotation.XmlSchemaType(name="decimal")
  @XmlElement(name="RiferimentoNumero",required=false,nillable=false)
  org.openspcoop2.utils.jaxb.DecimalWrapper _decimalWrapper_riferimentoNumero = null;

  @javax.xml.bind.annotation.XmlTransient
  protected java.math.BigDecimal riferimentoNumero;

  @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Date2String.class)
  @javax.xml.bind.annotation.XmlSchemaType(name="date")
  @XmlElement(name="RiferimentoData",required=false,nillable=false,type=java.lang.String.class)
  protected java.util.Date riferimentoData;

}