maia/.svn/pristine/50/508637007952bdbcd97717cdc47...

254 lines
4.9 KiB
Plaintext
Executable File

/**
*
*/
package com.fp.frontend.webservices.snap.modelo;
import java.io.Serializable;
import java.util.List;
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 elementos de la respuesta de la salida del WS
* @author Manuel Cepeda
*
*/
@XmlRootElement(name="Resultado")
@XmlAccessorType(XmlAccessType.FIELD)
public class ResultadoXml implements Serializable {
/**
*
*/
private static final long serialVersionUID = -431606681146448613L;
@XmlElement(name="RazonSocial")
private String razonSocial;
@XmlElement(name="Direccion")
private String direccion;
@XmlElement(name="Email")
private String email;
@XmlElement(name="TelefonoFijo")
private String telefonoFijo;
@XmlElement(name="TelefonoCelular")
private String telefonoCelular;
@XmlElement(name="Empresa")
private String empresa;
@XmlElement(name="Estado")
private String estado;
@XmlElement(name="TestPsicologico")
private ImagenXml testPsicologico;
@XmlElement(name="ListaTramites")
private List<TramiteXml> listaTramites;
@XmlElement(name="ListaGuardias")
private List<GuardiaXml> listaGuardias;
@XmlElement(name="ListaDatosArma")
private List<DatosArmaXml> listaDatosArma;
// @XmlElement(name="Tramite")
// private String tramite;
// @XmlElement(name="FechaEmision")
// private String fechaEmision;
// @XmlElement(name="FechaExpiracion")
// private String fechaExpiracion;
// @XmlElement(name="NumeroDocumento")
// private String numeroDocumento;
@XmlElement(name="TipoPermiso")
private String tipoPermiso;
/**
*
*/
public ResultadoXml() {
}
public ResultadoXml(String razonSocial, String direccion, String email, String telefonoFijo, String telefonoCelular) {
super();
this.razonSocial = razonSocial;
this.direccion = direccion;
this.email = email;
this.telefonoFijo = telefonoFijo;
this.telefonoCelular = telefonoCelular;
}
/**
* @return the razonSocial
*/
public String getRazonSocial() {
return razonSocial;
}
/**
* @param razonSocial the razonSocial to set
*/
public void setRazonSocial(String razonSocial) {
this.razonSocial = razonSocial;
}
/**
* @return the direccion
*/
public String getDireccion() {
return direccion;
}
/**
* @return the email
*/
public String getEmail() {
return email;
}
/**
* @param email the email to set
*/
public void setEmail(String email) {
this.email = email;
}
/**
* @param direccion the direccion to set
*/
public void setDireccion(String direccion) {
this.direccion = direccion;
}
/**
* @return the telefonoFijo
*/
public String getTelefonoFijo() {
return telefonoFijo;
}
/**
* @param telefonoFijo the telefonoFijo to set
*/
public void setTelefonoFijo(String telefonoFijo) {
this.telefonoFijo = telefonoFijo;
}
/**
* @return the telefonoCelular
*/
public String getTelefonoCelular() {
return telefonoCelular;
}
/**
* @param telefonoCelular the telefonoCelular to set
*/
public void setTelefonoCelular(String telefonoCelular) {
this.telefonoCelular = telefonoCelular;
}
/**
* @return the empresa
*/
public String getEmpresa() {
return empresa;
}
/**
* @param empresa the empresa to set
*/
public void setEmpresa(String empresa) {
this.empresa = empresa;
}
/**
* @return the estado
*/
public String getEstado() {
return estado;
}
/**
* @param estado the estado to set
*/
public void setEstado(String estado) {
this.estado = estado;
}
/**
* @return the tipoPermiso
*/
public String getTipoPermiso() {
return tipoPermiso;
}
/**
* @param tipoPermiso the tipoPermiso to set
*/
public void setTipoPermiso(String tipoPermiso) {
this.tipoPermiso = tipoPermiso;
}
/**
* @return the listaTramites
*/
public List<TramiteXml> getListaTramites() {
return listaTramites;
}
/**
* @param listaTramites the listaTramites to set
*/
public void setListaTramites(List<TramiteXml> listaTramites) {
this.listaTramites = listaTramites;
}
/**
* @return the listaGuardias
*/
public List<GuardiaXml> getListaGuardias() {
return listaGuardias;
}
/**
* @param listaGuardias the listaGuardias to set
*/
public void setListaGuardias(List<GuardiaXml> listaGuardias) {
this.listaGuardias = listaGuardias;
}
/**
* @return the listaDatosArma
*/
public List<DatosArmaXml> getListaDatosArma() {
return listaDatosArma;
}
/**
* @param listaDatosArma the listaDatosArma to set
*/
public void setListaDatosArma(List<DatosArmaXml> listaDatosArma) {
this.listaDatosArma = listaDatosArma;
}
/**
* @return the testPsicologico
*/
public ImagenXml getTestPsicologico() {
return testPsicologico;
}
/**
* @param testPsicologico the testPsicologico to set
*/
public void setTestPsicologico(ImagenXml testPsicologico) {
this.testPsicologico = testPsicologico;
}
}