DatiAnagraficiCedenteType.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.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2;
import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.constants.RegimeFiscaleType;
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 DatiAnagraficiCedenteType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="DatiAnagraficiCedenteType">
* <sequence>
* <element name="IdFiscaleIVA" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}IdFiscaleType" minOccurs="1" maxOccurs="1"/>
* <element name="CodiceFiscale" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}string" minOccurs="0" maxOccurs="1"/>
* <element name="Anagrafica" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}AnagraficaType" minOccurs="1" maxOccurs="1"/>
* <element name="AlboProfessionale" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}normalizedString" minOccurs="0" maxOccurs="1"/>
* <element name="ProvinciaAlbo" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}string" minOccurs="0" maxOccurs="1"/>
* <element name="NumeroIscrizioneAlbo" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}normalizedString" minOccurs="0" maxOccurs="1"/>
* <element name="DataIscrizioneAlbo" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0" maxOccurs="1"/>
* <element name="RegimeFiscale" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}RegimeFiscaleType" minOccurs="1" maxOccurs="1"/>
* </sequence>
* </complexType>
* </pre>
*
* @version $Rev$, $Date$
*
* @author Poli Andrea (poli@link.it)
* @author $Author$
* */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DatiAnagraficiCedenteType",
propOrder = {
"idFiscaleIVA",
"codiceFiscale",
"anagrafica",
"alboProfessionale",
"provinciaAlbo",
"numeroIscrizioneAlbo",
"dataIscrizioneAlbo",
"regimeFiscale"
}
)
@XmlRootElement(name = "DatiAnagraficiCedenteType")
public class DatiAnagraficiCedenteType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
public DatiAnagraficiCedenteType() {
super();
}
public IdFiscaleType getIdFiscaleIVA() {
return this.idFiscaleIVA;
}
public void setIdFiscaleIVA(IdFiscaleType idFiscaleIVA) {
this.idFiscaleIVA = idFiscaleIVA;
}
public java.lang.String getCodiceFiscale() {
return this.codiceFiscale;
}
public void setCodiceFiscale(java.lang.String codiceFiscale) {
this.codiceFiscale = codiceFiscale;
}
public AnagraficaType getAnagrafica() {
return this.anagrafica;
}
public void setAnagrafica(AnagraficaType anagrafica) {
this.anagrafica = anagrafica;
}
public java.lang.String getAlboProfessionale() {
return this.alboProfessionale;
}
public void setAlboProfessionale(java.lang.String alboProfessionale) {
this.alboProfessionale = alboProfessionale;
}
public java.lang.String getProvinciaAlbo() {
return this.provinciaAlbo;
}
public void setProvinciaAlbo(java.lang.String provinciaAlbo) {
this.provinciaAlbo = provinciaAlbo;
}
public java.lang.String getNumeroIscrizioneAlbo() {
return this.numeroIscrizioneAlbo;
}
public void setNumeroIscrizioneAlbo(java.lang.String numeroIscrizioneAlbo) {
this.numeroIscrizioneAlbo = numeroIscrizioneAlbo;
}
public java.util.Date getDataIscrizioneAlbo() {
return this.dataIscrizioneAlbo;
}
public void setDataIscrizioneAlbo(java.util.Date dataIscrizioneAlbo) {
this.dataIscrizioneAlbo = dataIscrizioneAlbo;
}
public void setRegimeFiscaleRawEnumValue(String value) {
this.regimeFiscale = (RegimeFiscaleType) RegimeFiscaleType.toEnumConstantFromString(value);
}
public String getRegimeFiscaleRawEnumValue() {
if(this.regimeFiscale == null){
return null;
}else{
return this.regimeFiscale.toString();
}
}
public it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.constants.RegimeFiscaleType getRegimeFiscale() {
return this.regimeFiscale;
}
public void setRegimeFiscale(it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.constants.RegimeFiscaleType regimeFiscale) {
this.regimeFiscale = regimeFiscale;
}
private static final long serialVersionUID = 1L;
@XmlElement(name="IdFiscaleIVA",required=true,nillable=false)
protected IdFiscaleType idFiscaleIVA;
@javax.xml.bind.annotation.XmlSchemaType(name="string")
@XmlElement(name="CodiceFiscale",required=false,nillable=false)
protected java.lang.String codiceFiscale;
@XmlElement(name="Anagrafica",required=true,nillable=false)
protected AnagraficaType anagrafica;
@javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
@javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
@XmlElement(name="AlboProfessionale",required=false,nillable=false)
protected java.lang.String alboProfessionale;
@javax.xml.bind.annotation.XmlSchemaType(name="string")
@XmlElement(name="ProvinciaAlbo",required=false,nillable=false)
protected java.lang.String provinciaAlbo;
@javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
@javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
@XmlElement(name="NumeroIscrizioneAlbo",required=false,nillable=false)
protected java.lang.String numeroIscrizioneAlbo;
@javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Date2String.class)
@javax.xml.bind.annotation.XmlSchemaType(name="date")
@XmlElement(name="DataIscrizioneAlbo",required=false,nillable=false,type=java.lang.String.class)
protected java.util.Date dataIscrizioneAlbo;
@javax.xml.bind.annotation.XmlTransient
protected java.lang.String regimeFiscaleRawEnumValue;
@XmlElement(name="RegimeFiscale",required=true,nillable=false)
protected RegimeFiscaleType regimeFiscale;
}