import java.util.Date;
import java.util.List;
public class Fiesta {
private List<String> invitados;
private List<Comida> comidas;
private List<Bebida> bebidas;
private List<Musica> musica;
private Date fecha;
private String direccion;
/**
* @return the invitados
*/
public List<String> getInvitados() {
return invitados;
}
/**
* @param invitados the invitados to set
*/
public void setInvitados(List<String> invitados) {
this.invitados = invitados;
}
/**
* @return the comidas
*/
public List<Comida> getComidas() {
return comidas;
}
/**
* @param comidas the comidas to set
*/
public void setComidas(List<Comida> comidas) {
this.comidas = comidas;
}
/**
* @return the bebidas
*/
public List<Bebida> getBebidas() {
return bebidas;
}
/**
* @param bebidas the bebidas to set
*/
public void setBebidas(List<Bebida> bebidas) {
this.bebidas = bebidas;
}
/**
* @return the musica
*/
public List<Musica> getMusica() {
return musica;
}
/**
* @param musica the musica to set
*/
public void setMusica(List<Musica> musica) {
this.musica = musica;
}
/**
* @return the fecha
*/
public Date getFecha() {
return fecha;
}
/**
* @param fecha the fecha to set
*/
public void setFecha(Date fecha) {
this.fecha = fecha;
}
/**
* @return the direccion
*/
public String getDireccion() {
return direccion;
}
/**
* @param direccion the direccion to set
*/
public void setDireccion(String direccion) {
this.direccion = direccion;
}
}
public class Comida {
private String nombre;
private Integer stock;
/**
* @return the nombre
*/
public String getNombre() {
return nombre;
}
/**
* @param nombre the nombre to set
*/
public void setNombre(String nombre) {
this.nombre = nombre;
}
/**
* @return the stock
*/
public Integer getStock() {
return stock;
}
/**
* @param stock the stock to set
*/
public void setStock(Integer stock) {
this.stock = stock;
}
}
public class Bebida {
private String nombre;
private boolean isAlcoholica;
private Integer stock;
private String tipoVaso;
/**
* @return the nombre
*/
public String getNombre() {
return nombre;
}
/**
* @param nombre the nombre to set
*/
public void setNombre(String nombre) {
this.nombre = nombre;
}
/**
* @return the isAlcoholica
*/
public boolean isIsAlcoholica() {
return isAlcoholica;
}
/**
* @param isAlcoholica the isAlcoholica to set
*/
public void setIsAlcoholica(boolean isAlcoholica) {
this.isAlcoholica = isAlcoholica;
}
/**
* @return the stock
*/
public Integer getStock() {
return stock;
}
/**
* @param stock the stock to set
*/
public void setStock(Integer stock) {
this.stock = stock;
}
/**
* @return the tipoVaso
*/
public String getTipoVaso() {
return tipoVaso;
}
/**
* @param tipoVaso the tipoVaso to set
*/
public void setTipoVaso(String tipoVaso) {
this.tipoVaso = tipoVaso;
}
}
public class Musica {
private String nombre;
private String artista;
private String tipo;
/**
* @return the nombre
*/
public String getNombre() {
return nombre;
}
/**
* @param nombre the nombre to set
*/
public void setNombre(String nombre) {
this.nombre = nombre;
}
/**
* @return the artista
*/
public String getArtista() {
return artista;
}
/**
* @param artista the artista to set
*/
public void setArtista(String artista) {
this.artista = artista;
}
/**
* @return the tipo
*/
public String getTipo() {
return tipo;
}
/**
* @param tipo the tipo to set
*/
public void setTipo(String tipo) {
this.tipo = tipo;
}
}