package com.axiastudio.suite.interoperabilita.entities;
import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
/**
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"amministrazioneOrAOOOrDenominazioneOrPersona",
"indirizzoTelematico",
"telefono",
"fax",
"indirizzoPostale"
})
@XmlRootElement(name = "Destinatario")
public class Destinatario {
@XmlElements({
@XmlElement(name = "Amministrazione", required = true, type = Amministrazione.class),
@XmlElement(name = "AOO", required = true, type = AOO.class),
@XmlElement(name = "Denominazione", required = true, type = Denominazione.class),
@XmlElement(name = "Persona", required = true, type = Persona.class)
})
protected List<Object> amministrazioneOrAOOOrDenominazioneOrPersona;
@XmlElement(name = "IndirizzoTelematico")
protected IndirizzoTelematico indirizzoTelematico;
@XmlElement(name = "Telefono")
protected List<Telefono> telefono;
@XmlElement(name = "Fax")
protected List<Fax> fax;
@XmlElement(name = "IndirizzoPostale")
protected IndirizzoPostale indirizzoPostale;
/**
* Gets the value of the amministrazioneOrAOOOrDenominazioneOrPersona property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the amministrazioneOrAOOOrDenominazioneOrPersona property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAmministrazioneOrAOOOrDenominazioneOrPersona().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Amministrazione }
* {@link AOO }
* {@link Denominazione }
* {@link Persona }
*
*
*/
public List<Object> getAmministrazioneOrAOOOrDenominazioneOrPersona() {
if (amministrazioneOrAOOOrDenominazioneOrPersona == null) {
amministrazioneOrAOOOrDenominazioneOrPersona = new ArrayList<Object>();
}
return this.amministrazioneOrAOOOrDenominazioneOrPersona;
}
/**
* Gets the value of the indirizzoTelematico property.
*
* @return
* possible object is
* {@link IndirizzoTelematico }
*
*/
public IndirizzoTelematico getIndirizzoTelematico() {
return indirizzoTelematico;
}
/**
* Sets the value of the indirizzoTelematico property.
*
* @param value
* allowed object is
* {@link IndirizzoTelematico }
*
*/
public void setIndirizzoTelematico(IndirizzoTelematico value) {
this.indirizzoTelematico = value;
}
/**
* Gets the value of the telefono property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the telefono property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTelefono().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Telefono }
*
*
*/
public List<Telefono> getTelefono() {
if (telefono == null) {
telefono = new ArrayList<Telefono>();
}
return this.telefono;
}
/**
* Gets the value of the fax property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the fax property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getFax().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Fax }
*
*
*/
public List<Fax> getFax() {
if (fax == null) {
fax = new ArrayList<Fax>();
}
return this.fax;
}
/**
* Gets the value of the indirizzoPostale property.
*
* @return
* possible object is
* {@link IndirizzoPostale }
*
*/
public IndirizzoPostale getIndirizzoPostale() {
return indirizzoPostale;
}
/**
* Sets the value of the indirizzoPostale property.
*
* @param value
* allowed object is
* {@link IndirizzoPostale }
*
*/
public void setIndirizzoPostale(IndirizzoPostale value) {
this.indirizzoPostale = value;
}
}