-
Notifications
You must be signed in to change notification settings - Fork 0
/
SingleRoundScoringTable.java
79 lines (54 loc) · 1.56 KB
/
SingleRoundScoringTable.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package com.scoresheet.discgolf;
/**
* Created by Joe Post on 4/12/2017.
*/
public class SingleRoundScoringTable {
//this class will be created for every round scoring table
//user will add holes to the single round scoring table until they are done with the course
String id;
String course_table_ID;
String hole;
String par;
String score;
String done;
String name;
// constructors
public SingleRoundScoringTable(){
}
public SingleRoundScoringTable(String hole, String par, String score) {
this.course_table_ID = course_table_ID;
this.hole = hole;
this.par = par;
this.score = score;
}
//setters
public void setID(String id){
this.id = id;
}
public void setCourseID(String course_id){
this.course_table_ID = course_id;
}
public void setName(String name) { this.name = name; }
public void setHoleNumber(String hole){
this.hole = hole;
}
public void setParNumber(String par){
this.par = par;
}
public void setScoreNumber(String score){
this.score = score;
}
public void setDone(String done) { this.done = done; }
// getters
public String getHole() {
return this.hole;
}
public String getPar() {
return this.par;
}
public String getScore() {
return this.score;
}
public String getDone() { return this.done; }
public String getName() { return this.name; }
}