package com.axiastudio.suite.interoperabilita.entities; import javax.xml.bind.annotation.*; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import java.util.ArrayList; import java.util.List; /** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "codiceAmministrazione", "codiceAOO", "oggetto", "identificativo", "classifica", "note", "piuInfo", "documentoOrFascicolo" }) @XmlRootElement(name = "Fascicolo") public class Fascicolo { @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID protected String id; @XmlAttribute(name = "rife") @XmlIDREF protected Object rife; @XmlElement(name = "CodiceAmministrazione") protected String codiceAmministrazione; @XmlElement(name = "CodiceAOO") protected String codiceAOO; @XmlElement(name = "Oggetto") protected String oggetto; @XmlElement(name = "Identificativo") protected String identificativo; @XmlElement(name = "Classifica") protected List<Classifica> classifica; @XmlElement(name = "Note") protected String note; @XmlElement(name = "PiuInfo") protected PiuInfo piuInfo; @XmlElements({ @XmlElement(name = "Documento", required = true, type = Documento.class), @XmlElement(name = "Fascicolo", required = true, type = Fascicolo.class) }) protected List<Object> documentoOrFascicolo; /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the rife property. * * @return * possible object is * {@link Object } * */ public Object getRife() { return rife; } /** * Sets the value of the rife property. * * @param value * allowed object is * {@link Object } * */ public void setRife(Object value) { this.rife = 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 codiceAOO property. * * @return * possible object is * {@link String } * */ public String getCodiceAOO() { return codiceAOO; } /** * Sets the value of the codiceAOO property. * * @param value * allowed object is * {@link String } * */ public void setCodiceAOO(String value) { this.codiceAOO = value; } /** * Gets the value of the oggetto property. * * @return * possible object is * {@link String } * */ public String getOggetto() { return oggetto; } /** * Sets the value of the oggetto property. * * @param value * allowed object is * {@link String } * */ public void setOggetto(String value) { this.oggetto = value; } /** * Gets the value of the identificativo property. * * @return * possible object is * {@link String } * */ public String getIdentificativo() { return identificativo; } /** * Sets the value of the identificativo property. * * @param value * allowed object is * {@link String } * */ public void setIdentificativo(String value) { this.identificativo = value; } /** * Gets the value of the classifica 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 classifica property. * * <p> * For example, to add a new item, do as follows: * <pre> * getClassifica().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Classifica } * * */ public List<Classifica> getClassifica() { if (classifica == null) { classifica = new ArrayList<Classifica>(); } return this.classifica; } /** * Gets the value of the note property. * * @return * possible object is * {@link String } * */ public String getNote() { return note; } /** * Sets the value of the note property. * * @param value * allowed object is * {@link String } * */ public void setNote(String value) { this.note = value; } /** * Gets the value of the piuInfo property. * * @return * possible object is * {@link PiuInfo } * */ public PiuInfo getPiuInfo() { return piuInfo; } /** * Sets the value of the piuInfo property. * * @param value * allowed object is * {@link PiuInfo } * */ public void setPiuInfo(PiuInfo value) { this.piuInfo = value; } /** * Gets the value of the documentoOrFascicolo 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 documentoOrFascicolo property. * * <p> * For example, to add a new item, do as follows: * <pre> * getDocumentoOrFascicolo().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Documento } * {@link Fascicolo } * * */ public List<Object> getDocumentoOrFascicolo() { if (documentoOrFascicolo == null) { documentoOrFascicolo = new ArrayList<Object>(); } return this.documentoOrFascicolo; } }