/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package cafetest; /** * * @author jcmtiernan */ public class Cafe { private String cafeName; private int opensAt; private int closesAt; private double avgCostOfMeal; private Coffee avgCupCost; public Cafe(String cafeName, int opensAt, int closesAt) { this.cafeName = cafeName; this.opensAt = opensAt; this.closesAt = closesAt; } public Cafe(String cafeName, int opensAt, int closesAt, double avgCostOfMeal, Coffee avgCupCost) { this.cafeName = cafeName; this.opensAt = opensAt; this.closesAt = closesAt; this.avgCostOfMeal = avgCostOfMeal; this.avgCupCost = avgCupCost; } public Cafe(String cafeName, int opensAt) { this.cafeName = cafeName; this.opensAt = opensAt; } public String getCafeName() { return cafeName; } public void setCafeName(String cafeName) { this.cafeName = cafeName; } public int getOpensAt() { return opensAt; } public void setOpensAt(int opensAt) { this.opensAt = opensAt; } public int getClosesAt() { return closesAt; } public void setClosesAt(int closesAt) { this.closesAt = closesAt; } public double getAvgCostOfMeal() { return avgCostOfMeal; } public void setAvgCostOfMeal(double avgCostOfMeal) { this.avgCostOfMeal = avgCostOfMeal; } public Coffee getAvgCupCost() { return avgCupCost; } public void setAvgCupCost(Coffee avgCupCost) { this.avgCupCost = avgCupCost; } }