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

  21. import it.gov.fatturapa.sdi.fatturapa.v1_0.constants.SocioUnicoType;
  22. import it.gov.fatturapa.sdi.fatturapa.v1_0.constants.StatoLiquidazioneType;
  23. import javax.xml.bind.annotation.XmlAccessType;
  24. import javax.xml.bind.annotation.XmlAccessorType;
  25. import javax.xml.bind.annotation.XmlElement;
  26. import javax.xml.bind.annotation.XmlRootElement;
  27. import javax.xml.bind.annotation.XmlType;
  28. import java.io.Serializable;


  29. /** <p>Java class for IscrizioneREAType complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="IscrizioneREAType"&gt;
  35.  *      &lt;sequence&gt;
  36.  *          &lt;element name="Ufficio" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}string" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="NumeroREA" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="CapitaleSociale" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}decimal" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="SocioUnico" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}SocioUnicoType" minOccurs="0" maxOccurs="1"/&gt;
  40.  *          &lt;element name="StatoLiquidazione" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}StatoLiquidazioneType" minOccurs="1" maxOccurs="1"/&gt;
  41.  *      &lt;/sequence&gt;
  42.  * &lt;/complexType&gt;
  43.  * </pre>
  44.  *
  45.  * @version $Rev$, $Date$
  46.  *
  47.  * @author Poli Andrea (poli@link.it)
  48.  * @author $Author$
  49.  * */

  50. @XmlAccessorType(XmlAccessType.FIELD)
  51. @XmlType(name = "IscrizioneREAType",
  52.   propOrder = {
  53.     "ufficio",
  54.     "numeroREA",
  55.     "_decimalWrapper_capitaleSociale",
  56.     "socioUnico",
  57.     "statoLiquidazione"
  58.   }
  59. )

  60. @XmlRootElement(name = "IscrizioneREAType")

  61. public class IscrizioneREAType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  62.   public IscrizioneREAType() {
  63.     super();
  64.   }

  65.   public java.lang.String getUfficio() {
  66.     return this.ufficio;
  67.   }

  68.   public void setUfficio(java.lang.String ufficio) {
  69.     this.ufficio = ufficio;
  70.   }

  71.   public java.lang.String getNumeroREA() {
  72.     return this.numeroREA;
  73.   }

  74.   public void setNumeroREA(java.lang.String numeroREA) {
  75.     this.numeroREA = numeroREA;
  76.   }

  77.   public java.math.BigDecimal getCapitaleSociale() {
  78.     if(this._decimalWrapper_capitaleSociale!=null){
  79.         return (java.math.BigDecimal) this._decimalWrapper_capitaleSociale.getObject(java.math.BigDecimal.class);
  80.     }else{
  81.         return this.capitaleSociale;
  82.     }
  83.   }

  84.   public void setCapitaleSociale(java.math.BigDecimal capitaleSociale) {
  85.     if(capitaleSociale!=null){
  86.         this._decimalWrapper_capitaleSociale = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,11,2,2,capitaleSociale);
  87.     }
  88.   }

  89.   public void setSocioUnicoRawEnumValue(String value) {
  90.     this.socioUnico = (SocioUnicoType) SocioUnicoType.toEnumConstantFromString(value);
  91.   }

  92.   public String getSocioUnicoRawEnumValue() {
  93.     if(this.socioUnico == null){
  94.         return null;
  95.     }else{
  96.         return this.socioUnico.toString();
  97.     }
  98.   }

  99.   public it.gov.fatturapa.sdi.fatturapa.v1_0.constants.SocioUnicoType getSocioUnico() {
  100.     return this.socioUnico;
  101.   }

  102.   public void setSocioUnico(it.gov.fatturapa.sdi.fatturapa.v1_0.constants.SocioUnicoType socioUnico) {
  103.     this.socioUnico = socioUnico;
  104.   }

  105.   public void setStatoLiquidazioneRawEnumValue(String value) {
  106.     this.statoLiquidazione = (StatoLiquidazioneType) StatoLiquidazioneType.toEnumConstantFromString(value);
  107.   }

  108.   public String getStatoLiquidazioneRawEnumValue() {
  109.     if(this.statoLiquidazione == null){
  110.         return null;
  111.     }else{
  112.         return this.statoLiquidazione.toString();
  113.     }
  114.   }

  115.   public it.gov.fatturapa.sdi.fatturapa.v1_0.constants.StatoLiquidazioneType getStatoLiquidazione() {
  116.     return this.statoLiquidazione;
  117.   }

  118.   public void setStatoLiquidazione(it.gov.fatturapa.sdi.fatturapa.v1_0.constants.StatoLiquidazioneType statoLiquidazione) {
  119.     this.statoLiquidazione = statoLiquidazione;
  120.   }

  121.   private static final long serialVersionUID = 1L;



  122.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  123.   @XmlElement(name="Ufficio",required=true,nillable=false)
  124.   protected java.lang.String ufficio;

  125.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  126.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  127.   @XmlElement(name="NumeroREA",required=true,nillable=false)
  128.   protected java.lang.String numeroREA;

  129.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Decimal2String.class)
  130.   @javax.xml.bind.annotation.XmlSchemaType(name="decimal")
  131.   @XmlElement(name="CapitaleSociale",required=false,nillable=false)
  132.   org.openspcoop2.utils.jaxb.DecimalWrapper _decimalWrapper_capitaleSociale = null;

  133.   @javax.xml.bind.annotation.XmlTransient
  134.   protected java.math.BigDecimal capitaleSociale;

  135.   @javax.xml.bind.annotation.XmlTransient
  136.   protected java.lang.String socioUnicoRawEnumValue;

  137.   @XmlElement(name="SocioUnico",required=false,nillable=false)
  138.   protected SocioUnicoType socioUnico;

  139.   @javax.xml.bind.annotation.XmlTransient
  140.   protected java.lang.String statoLiquidazioneRawEnumValue;

  141.   @XmlElement(name="StatoLiquidazione",required=true,nillable=false)
  142.   protected StatoLiquidazioneType statoLiquidazione;

  143. }