-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRecordModel.java
More file actions
49 lines (45 loc) · 1001 Bytes
/
RecordModel.java
File metadata and controls
49 lines (45 loc) · 1001 Bytes
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
import java.time.LocalDate;
public class RecordModel {
private LocalDate Date;
private int cases;
private int deaths;
private String count;
private String cont;
private int pop;
public LocalDate GetDate(){
return this.Date;
}
public int GetPop(){
return pop;
}
public int GetCases(){
return this.cases;
}
public int GetDeaths(){
return this.deaths;
}
public String GetCountry(){
return this.count;
}
public String GetCont(){
return this.cont;
}
public void SetDate(LocalDate Date){
this.Date = Date;
}
public void Setcases(int Cases){
this.cases = Cases;
}
public void SetDeaths(int deaths){
this.deaths = deaths;
}
public void SetCountry(String cntr){
this.count = cntr;
}
public void SetContinent(String cont){
this.cont = cont;
}
public void Setpop(int pop){
this.pop = pop;
}
}