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 = {
"intestazione",
"riferimenti",
"descrizione",
"piuInfo"
})
@XmlRootElement(name = "Segnatura")
public class Segnatura {
@XmlAttribute(name = "versione")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String versione;
@XmlAttribute(name = "xml:lang")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String xmlLang;
@XmlElement(name = "Intestazione", required = true)
protected Intestazione intestazione;
@XmlElement(name = "Riferimenti")
protected Riferimenti riferimenti;
@XmlElement(name = "Descrizione", required = true)
protected Descrizione descrizione;
@XmlElement(name = "PiuInfo")
protected PiuInfo piuInfo;
/**
* 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 intestazione property.
*
* @return
* possible object is
* {@link Intestazione }
*
*/
public Intestazione getIntestazione() {
return intestazione;
}
/**
* Sets the value of the intestazione property.
*
* @param value
* allowed object is
* {@link Intestazione }
*
*/
public void setIntestazione(Intestazione value) {
this.intestazione = value;
}
/**
* Gets the value of the riferimenti property.
*
* @return
* possible object is
* {@link Riferimenti }
*
*/
public Riferimenti getRiferimenti() {
return riferimenti;
}
/**
* Sets the value of the riferimenti property.
*
* @param value
* allowed object is
* {@link Riferimenti }
*
*/
public void setRiferimenti(Riferimenti value) {
this.riferimenti = value;
}
/**
* Gets the value of the descrizione property.
*
* @return
* possible object is
* {@link Descrizione }
*
*/
public Descrizione getDescrizione() {
return descrizione;
}
/**
* Sets the value of the descrizione property.
*
* @param value
* allowed object is
* {@link Descrizione }
*
*/
public void setDescrizione(Descrizione value) {
this.descrizione = 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;
}
}