package com.axiastudio.suite.interoperabilita.entities;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "TestoDelMessaggio")
public class TestoDelMessaggio {
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String id;
@XmlAttribute(name = "tipoMIME")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String tipoMIME;
@XmlAttribute(name = "tipoRiferimento")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String tipoRiferimento;
/**
* 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 tipoMIME property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTipoMIME() {
return tipoMIME;
}
/**
* Sets the value of the tipoMIME property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTipoMIME(String value) {
this.tipoMIME = value;
}
/**
* Gets the value of the tipoRiferimento property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTipoRiferimento() {
if (tipoRiferimento == null) {
return "MIME";
} else {
return tipoRiferimento;
}
}
/**
* Sets the value of the tipoRiferimento property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTipoRiferimento(String value) {
this.tipoRiferimento = value;
}
}