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;
/**
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"identificatore",
"motivo",
"provvedimento"
})
@XmlRootElement(name = "AnnullamentoProtocollazione")
public class AnnullamentoProtocollazione {
@XmlAttribute(name = "versione")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String versione;
@XmlAttribute(name = "xml:lang")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String xmlLang;
@XmlElement(name = "Identificatore", required = true)
protected Identificatore identificatore;
@XmlElement(name = "Motivo", required = true)
protected String motivo;
@XmlElement(name = "Provvedimento", required = true)
protected String provvedimento;
/**
* Gets the value of the versione property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersione() {
if (versione == null) {
return "aaaa-mm-gg";
} else {
return versione;
}
}
/**
* Sets the value of the versione property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersione(String value) {
this.versione = value;
}
/**
* Gets the value of the xmlLang property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXmlLang() {
if (xmlLang == null) {
return "it";
} else {
return xmlLang;
}
}
/**
* Sets the value of the xmlLang property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setXmlLang(String value) {
this.xmlLang = value;
}
/**
* Gets the value of the identificatore property.
*
* @return
* possible object is
* {@link Identificatore }
*
*/
public Identificatore getIdentificatore() {
return identificatore;
}
/**
* Sets the value of the identificatore property.
*
* @param value
* allowed object is
* {@link Identificatore }
*
*/
public void setIdentificatore(Identificatore value) {
this.identificatore = value;
}
/**
* Gets the value of the motivo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMotivo() {
return motivo;
}
/**
* Sets the value of the motivo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMotivo(String value) {
this.motivo = value;
}
/**
* Gets the value of the provvedimento property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProvvedimento() {
return provvedimento;
}
/**
* Sets the value of the provvedimento property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProvvedimento(String value) {
this.provvedimento = value;
}
}