IndirizzoType.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 javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import java.io.Serializable;


  27. /** <p>Java class for IndirizzoType complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="IndirizzoType"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="Indirizzo" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="1" maxOccurs="1"/&gt;
  35.  *          &lt;element name="NumeroCivico" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="0" maxOccurs="1"/&gt;
  36.  *          &lt;element name="CAP" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}string" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="Comune" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="Provincia" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}string" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="Nazione" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}string" minOccurs="1" maxOccurs="1" default="IT"/&gt;
  40.  *      &lt;/sequence&gt;
  41.  * &lt;/complexType&gt;
  42.  * </pre>
  43.  *
  44.  * @version $Rev$, $Date$
  45.  *
  46.  * @author Poli Andrea (poli@link.it)
  47.  * @author $Author$
  48.  * */

  49. @XmlAccessorType(XmlAccessType.FIELD)
  50. @XmlType(name = "IndirizzoType",
  51.   propOrder = {
  52.     "indirizzo",
  53.     "numeroCivico",
  54.     "cap",
  55.     "comune",
  56.     "provincia",
  57.     "nazione"
  58.   }
  59. )

  60. @XmlRootElement(name = "IndirizzoType")

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

  65.   public java.lang.String getIndirizzo() {
  66.     return this.indirizzo;
  67.   }

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

  71.   public java.lang.String getNumeroCivico() {
  72.     return this.numeroCivico;
  73.   }

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

  77.   public java.lang.String getCap() {
  78.     return this.cap;
  79.   }

  80.   public void setCap(java.lang.String cap) {
  81.     this.cap = cap;
  82.   }

  83.   public java.lang.String getComune() {
  84.     return this.comune;
  85.   }

  86.   public void setComune(java.lang.String comune) {
  87.     this.comune = comune;
  88.   }

  89.   public java.lang.String getProvincia() {
  90.     return this.provincia;
  91.   }

  92.   public void setProvincia(java.lang.String provincia) {
  93.     this.provincia = provincia;
  94.   }

  95.   public java.lang.String getNazione() {
  96.     return this.nazione;
  97.   }

  98.   public void setNazione(java.lang.String nazione) {
  99.     this.nazione = nazione;
  100.   }

  101.   private static final long serialVersionUID = 1L;



  102.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  103.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  104.   @XmlElement(name="Indirizzo",required=true,nillable=false)
  105.   protected java.lang.String indirizzo;

  106.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  107.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  108.   @XmlElement(name="NumeroCivico",required=false,nillable=false)
  109.   protected java.lang.String numeroCivico;

  110.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  111.   @XmlElement(name="CAP",required=true,nillable=false)
  112.   protected java.lang.String cap;

  113.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  114.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  115.   @XmlElement(name="Comune",required=true,nillable=false)
  116.   protected java.lang.String comune;

  117.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  118.   @XmlElement(name="Provincia",required=false,nillable=false)
  119.   protected java.lang.String provincia;

  120.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  121.   @XmlElement(name="Nazione",required=true,nillable=false,defaultValue="IT")
  122.   protected java.lang.String nazione = "IT";

  123. }