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 = {
"denominazione",
"codiceAmministrazione",
"unitaOrganizzativaOrRuoloOrPersonaOrIndirizzoPostaleOrIndirizzoTelematicoOrTelefonoOrFax"
})
@XmlRootElement(name = "Amministrazione")
public class Amministrazione {
@XmlElement(name = "Denominazione", required = true)
protected Denominazione denominazione;
@XmlElement(name = "CodiceAmministrazione")
protected String codiceAmministrazione;
@XmlElements({
@XmlElement(name = "UnitaOrganizzativa", required = true, type = UnitaOrganizzativa.class),
@XmlElement(name = "Ruolo", required = true, type = Ruolo.class),
@XmlElement(name = "Persona", required = true, type = Persona.class),
@XmlElement(name = "IndirizzoPostale", required = true, type = IndirizzoPostale.class),
@XmlElement(name = "IndirizzoTelematico", required = true, type = IndirizzoTelematico.class),
@XmlElement(name = "Telefono", required = true, type = Telefono.class),
@XmlElement(name = "Fax", required = true, type = Fax.class)
})
protected List<Object> unitaOrganizzativaOrRuoloOrPersonaOrIndirizzoPostaleOrIndirizzoTelematicoOrTelefonoOrFax;
/**
* Gets the value of the denominazione property.
*
* @return
* possible object is
* {@link Denominazione }
*
*/
public Denominazione getDenominazione() {
return denominazione;
}
/**
* Sets the value of the denominazione property.
*
* @param value
* allowed object is
* {@link Denominazione }
*
*/
public void setDenominazione(Denominazione value) {
this.denominazione = value;
}
/**
* Gets the value of the codiceAmministrazione property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCodiceAmministrazione() {
return codiceAmministrazione;
}
/**
* Sets the value of the codiceAmministrazione property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCodiceAmministrazione(String value) {
this.codiceAmministrazione = value;
}
/**
* Gets the value of the unitaOrganizzativaOrRuoloOrPersonaOrIndirizzoPostaleOrIndirizzoTelematicoOrTelefonoOrFax 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 unitaOrganizzativaOrRuoloOrPersonaOrIndirizzoPostaleOrIndirizzoTelematicoOrTelefonoOrFax property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getUnitaOrganizzativaOrRuoloOrPersonaOrIndirizzoPostaleOrIndirizzoTelematicoOrTelefonoOrFax().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link UnitaOrganizzativa }
* {@link Ruolo }
* {@link Persona }
* {@link IndirizzoPostale }
* {@link IndirizzoTelematico }
* {@link Telefono }
* {@link Fax }
*
*
*/
public List<Object> getUnitaOrganizzativaOrRuoloOrPersonaOrIndirizzoPostaleOrIndirizzoTelematicoOrTelefonoOrFax() {
if (unitaOrganizzativaOrRuoloOrPersonaOrIndirizzoPostaleOrIndirizzoTelematicoOrTelefonoOrFax == null) {
unitaOrganizzativaOrRuoloOrPersonaOrIndirizzoPostaleOrIndirizzoTelematicoOrTelefonoOrFax = new ArrayList<Object>();
}
return this.unitaOrganizzativaOrRuoloOrPersonaOrIndirizzoPostaleOrIndirizzoTelematicoOrTelefonoOrFax;
}
}