Class Evento

java.lang.Object
poo.javaevents.model.Evento
All Implemented Interfaces:
Serializable

public class Evento extends Object implements Serializable
Author:
Pablo García Hernández
See Also:
  • Constructor Details

    • Evento

      public Evento(String titulo, String tipo, Direccion direccion, List<LocalDateTime> fechaHora, double precioEntrada, String portada)
      Constructor
      Parameters:
      titulo -
      tipo -
      direccion -
      fechaHora -
      precioEntrada -
      portada -
  • Method Details

    • getDireccion

      public Direccion getDireccion()
      Get the value of direccion
      Returns:
      the value of direccion
    • setDireccion

      public void setDireccion(Direccion direccion)
      Set the value of direccion
      Parameters:
      direccion - new value of direccion
    • getValoracion

      public double getValoracion()
      Get the value of valoracion
      Returns:
      the value of valoracion
    • setValoracion

      public void setValoracion(double valoracion)
      Set the value of valoracion
      Parameters:
      valoracion - new value of valoracion
    • getPortada

      public String getPortada()
      Get the value of portada
      Returns:
      the value of portada
    • setPortada

      public void setPortada(String portada)
      Set the value of portada
      Parameters:
      portada - new value of portada
    • getPrecioEntrada

      public double getPrecioEntrada()
      Get the value of precioEntrada
      Returns:
      the value of precioEntrada
    • setPrecioEntrada

      public void setPrecioEntrada(double precioEntrada)
      Set the value of precioEntrada
      Parameters:
      precioEntrada - new value of precioEntrada
    • getFechaHora

      public List<LocalDateTime> getFechaHora()
      Get the value of fechaHora
      Returns:
      the value of fechaHora
    • setFechaHora

      public void setFechaHora(List<LocalDateTime> fechaHora)
      Set the value of fechaHora
      Parameters:
      fechaHora - new value of fechaHora
    • getTipo

      public String getTipo()
      Get the value of tipo
      Returns:
      the value of tipo
    • setTipo

      public void setTipo(String tipo)
      Set the value of tipo
      Parameters:
      tipo - new value of tipo
    • getTitulo

      public String getTitulo()
      Get the value of titulo
      Returns:
      the value of titulo
    • setTitulo

      public void setTitulo(String titulo)
      Set the value of titulo
      Parameters:
      titulo - new value of titulo
    • toString

      public String toString()
      Overrides:
      toString in class Object