public class Reservation { private String name; private int seats; /** * Constructs a new Reservation, * with the name set to lower case * @param name * @param seats */ public Reservation(String name, int seats) { this.name = name.toLowerCase(); this.seats = seats; } public String getName() { return name; } /** * getSeats() * @return the size of the party */ public int getSeats() { return seats; } public String toString() { return this.name + " party of: " + this.seats; } }