package design.persistence; import design.model.Golfer; import java.io.IOException; public interface PersonalDatabase { public static final PersonalDatabase INSTANCE = new JSONPersonalDatabase("data/personaldb.json"); Golfer[] getGolfers(); Golfer getGolfer(String name); void addGolfer(Golfer golfer) throws IOException; void removeGolfer(Golfer golfer) throws IOException; void updateGolfer(Golfer golfer) throws IOException; }