92 lines
1.6 KiB
Plaintext
Executable File
92 lines
1.6 KiB
Plaintext
Executable File
/**
|
|
*
|
|
*/
|
|
package com.fp.frontend.webservices.snap.modelo;
|
|
|
|
import java.io.Serializable;
|
|
|
|
import javax.xml.bind.annotation.XmlAccessType;
|
|
import javax.xml.bind.annotation.XmlAccessorType;
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
|
|
|
/**
|
|
* Clase xml con los datos de un archivo imagenes o pdf
|
|
* @author Manuel Cepeda
|
|
*
|
|
*/
|
|
@XmlRootElement(name="Imagen")
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
public class ImagenXml implements Serializable {
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private static final long serialVersionUID = -431606681146448613L;
|
|
|
|
@XmlElement(name="Imagen")
|
|
private String imagen;
|
|
@XmlElement(name="Descripcion")
|
|
private String descripcion;
|
|
@XmlElement(name="Tipo")
|
|
private String tipo;
|
|
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public ImagenXml() {
|
|
}
|
|
|
|
public ImagenXml(String imagen, String descripcion, String tipo) {
|
|
super();
|
|
this.imagen = imagen;
|
|
this.descripcion = descripcion;
|
|
this.tipo = tipo;
|
|
}
|
|
|
|
/**
|
|
* @return the imagen
|
|
*/
|
|
public String getImagen() {
|
|
return imagen;
|
|
}
|
|
|
|
/**
|
|
* @param imagen the imagen to set
|
|
*/
|
|
public void setImagen(String imagen) {
|
|
this.imagen = imagen;
|
|
}
|
|
|
|
/**
|
|
* @return the descripcion
|
|
*/
|
|
public String getDescripcion() {
|
|
return descripcion;
|
|
}
|
|
|
|
/**
|
|
* @param descripcion the descripcion to set
|
|
*/
|
|
public void setDescripcion(String descripcion) {
|
|
this.descripcion = descripcion;
|
|
}
|
|
|
|
/**
|
|
* @return the tipo
|
|
*/
|
|
public String getTipo() {
|
|
return tipo;
|
|
}
|
|
|
|
/**
|
|
* @param tipo the tipo to set
|
|
*/
|
|
public void setTipo(String tipo) {
|
|
this.tipo = tipo;
|
|
}
|
|
|
|
|
|
}
|