package ar.publiquest.lufthansa.entity.texto;

import java.util.Collection;
import java.util.Date;
import java.util.Vector;
import java.math.BigDecimal;

import ar.publiquest.lufthansa.entity.nota.InterfaceNota;
import ar.publiquest.lufthansa.entity.opciones.InterfaceOpcionTexto;
import ar.publiquest.lufthansa.entity.usuario.InterfaceHistorialUsuario;
public class Texto implements InterfaceTexto , java.io.Serializable{
	private Collection allHistorial;
	private int textoId;
    private String descripcion;
    private String texto;
    private String respuesta;
    private String flash;
    private Collection allOpcionesTexto;
    
    
    public synchronized void add(InterfaceOpcionTexto opcionTxt)
    {
        if (allOpcionesTexto == null)
        {
            allOpcionesTexto = new Vector();
        }
        allOpcionesTexto.add(opcionTxt);
    }
    
    public synchronized void add(InterfaceHistorialUsuario hist)
    {
        if (allHistorial == null)
        {
            allHistorial = new Vector();
        }
        allHistorial.add(hist);
    }
    
    

	/**
	 * Gets the texto.
	 * @return Returns a String
	 */
	public String getTexto() {
		return texto;
	}

	/**
	 * Sets the texto.
	 * @param texto The texto to set
	 */
	public void setTexto(String texto) {
		this.texto = texto;
	}

	/**
	 * Gets the descripcion.
	 * @return Returns a String
	 */
	public String getDescripcion() {
		return descripcion;
	}

	/**
	 * Sets the descripcion.
	 * @param descripcion The descripcion to set
	 */
	public void setDescripcion(String descripcion) {
		this.descripcion = descripcion;
	}

	/**
	 * Gets the id.
	 * @return Returns a int
	 */
	public int getTextoId() {
		return textoId;
	}

	/**
	 * Sets the id.
	 * @param id The id to set
	 */
	public void setTextoId(int id) {
		this.textoId = id;
	}

	
	
	/**
	 * Gets the allOpcionesTexto.
	 * @return Returns a Collection
	 */
	public Collection getAllOpcionesTexto() {
		return allOpcionesTexto;
	}

	/**
	 * Sets the allOpcionesTexto.
	 * @param allOpcionesTexto The allOpcionesTexto to set
	 */
	public void setAllOpcionesTexto(Collection allOpcionesTexto) {
		this.allOpcionesTexto = allOpcionesTexto;
	}

	/**
	 * Gets the flash.
	 * @return Returns a String
	 */
	public String getFlash() {
		return flash;
	}

	/**
	 * Sets the flash.
	 * @param flash The flash to set
	 */
	public void setFlash(String flash) {
		this.flash = flash;
	}

	/**
	 * Gets the respuesta.
	 * @return Returns a String
	 */
	public String getRespuesta() {
		return respuesta;
	}

	/**
	 * Sets the respuesta.
	 * @param respuesta The respuesta to set
	 */
	public void setRespuesta(String respuesta) {
		this.respuesta = respuesta;
	}
	
	/**
	 * Gets the allHistorial.
	 * @return Returns a Collection
	 */
	public Collection getAllHistorial() {
		return allHistorial;
	}

	/**
	 * Sets the allHistorial.
	 * @param allHistorial The allHistorial to set
	 */
	public void setAllHistorial(Collection allHistorial) {
		this.allHistorial = allHistorial;
	}

	
	
}
