1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.oauth;
|
---|
3 |
|
---|
4 | public class OsmPrivileges {
|
---|
5 | private boolean allowWriteApi;
|
---|
6 | private boolean allowWriteGpx;
|
---|
7 | private boolean allowReadGpx;
|
---|
8 | private boolean allowReadPrefs;
|
---|
9 | private boolean allowWritePrefs;
|
---|
10 | private boolean allowModifyNotes;
|
---|
11 |
|
---|
12 | public boolean isAllowWriteApi() {
|
---|
13 | return allowWriteApi;
|
---|
14 | }
|
---|
15 |
|
---|
16 | public void setAllowWriteApi(boolean allowWriteApi) {
|
---|
17 | this.allowWriteApi = allowWriteApi;
|
---|
18 | }
|
---|
19 |
|
---|
20 | public boolean isAllowWriteGpx() {
|
---|
21 | return allowWriteGpx;
|
---|
22 | }
|
---|
23 |
|
---|
24 | public void setAllowWriteGpx(boolean allowWriteGpx) {
|
---|
25 | this.allowWriteGpx = allowWriteGpx;
|
---|
26 | }
|
---|
27 |
|
---|
28 | public boolean isAllowReadGpx() {
|
---|
29 | return allowReadGpx;
|
---|
30 | }
|
---|
31 |
|
---|
32 | public void setAllowReadGpx(boolean allowReadGpx) {
|
---|
33 | this.allowReadGpx = allowReadGpx;
|
---|
34 | }
|
---|
35 |
|
---|
36 | public boolean isAllowReadPrefs() {
|
---|
37 | return allowReadPrefs;
|
---|
38 | }
|
---|
39 |
|
---|
40 | public void setAllowReadPrefs(boolean allowReadPrefs) {
|
---|
41 | this.allowReadPrefs = allowReadPrefs;
|
---|
42 | }
|
---|
43 |
|
---|
44 | public boolean isAllowWritePrefs() {
|
---|
45 | return allowWritePrefs;
|
---|
46 | }
|
---|
47 |
|
---|
48 | public void setAllowWritePrefs(boolean allowWritePrefs) {
|
---|
49 | this.allowWritePrefs = allowWritePrefs;
|
---|
50 | }
|
---|
51 |
|
---|
52 | public boolean isAllowModifyNotes() {
|
---|
53 | return allowModifyNotes;
|
---|
54 | }
|
---|
55 |
|
---|
56 | public void setAllowModifyNotes(boolean allowModifyNotes) {
|
---|
57 | this.allowModifyNotes = allowModifyNotes;
|
---|
58 | }
|
---|
59 | }
|
---|