blob: adb865d0f01da8e39a648a993b92dd38a77ac5ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package design.persistence;
import design.model.Golfer;
import java.io.IOException;
public interface PersonalDatabase {
static PersonalDatabase instance() {
return JSONPersonalDatabase.instance();
}
Golfer[] getGolfers();
Golfer getGolfer(String name);
void addGolfer(Golfer golfer) throws IOException;
void removeGolfer(Golfer golfer) throws IOException;
void updateGolfer(Golfer golfer) throws IOException;
}
|