package de.lukasniemeier.mensa.model;
import java.io.Serializable;
import java.util.Collection;
/**
* Created on 17.09.13.
*/
public class Meal implements Serializable {
private final Menu menu;
private final String name;
private final String description;
private final Collection<MealType> types;
private final Collection<String> additives;
private final String price;
public Meal(Menu menu, String name, String description, Collection<MealType> types,
Collection<String> additives, String price) {
this.menu = menu;
this.name = name;
this.description = description;
this.types = types;
this.additives = additives;
this.price = price;
}
public Menu getMenu() {
return menu;
}
public String getName() {
return name;
}
public String getDescription() {
return description;
}
public Collection<MealType> getTypes() {
return types;
}
public Collection<String> getAdditives() {
return additives;
}
public String getPrice() {
return price;
}
@Override
public String toString() {
return "Meal{" +
"name='" + name + '\'' +
", description='" + description + '\'' +
", types='" + types + '\'' +
", additives='" + additives + '\'' +
", price='" + price + '\'' +
'}';
}
}