ParseClassName TourCommit public class TourCommit extends ParseObject

 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
@ParseClassName("TourCommit")
public class TourCommit extends ParseObject {
public TourCommit() {
}
public Tour getTour() {
return (Tour) getParseObject(Columns.COLUMN_TOUR);
}
public void setTour(Tour tour) {
put(Columns.COLUMN_TOUR, tour);
}
public int getVersion() {
return getInt(Columns.COLUMN_VERSION);
}
public void setVersion(int version) {
put(Columns.COLUMN_VERSION, version);
}
public String getPayload() {
return getString(Columns.COLUMN_PAYLOAD);
}
public void setPayload(String payload) {
put(Columns.COLUMN_PAYLOAD, payload);
}
public static class Columns {
public static final String COLUMN_TOUR = "TOUR";
public static final String COLUMN_VERSION = "VERSION";
public static final String COLUMN_PAYLOAD = "PAYLOAD";
}
}