source: josm/trunk/src/org/openstreetmap/josm/data/oauth/OsmPrivileges.java@ 2747

Last change on this file since 2747 was 2747, checked in by Gubaer, 15 years ago

Partial commit due to #4137. Comment to follow in another commit.

File size: 1.2 KB
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.oauth;
3
4public class OsmPrivileges {
5 private boolean allowWriteApi;
6 private boolean allowWriteGpx;
7 private boolean allowReadGpx;
8 private boolean allowReadPrefs;
9 private boolean allowWritePrefs;
10
11 public boolean isAllowWriteApi() {
12 return allowWriteApi;
13 }
14 public void setAllowWriteApi(boolean allowWriteApi) {
15 this.allowWriteApi = allowWriteApi;
16 }
17 public boolean isAllowWriteGpx() {
18 return allowWriteGpx;
19 }
20 public void setAllowWriteGpx(boolean allowWriteGpx) {
21 this.allowWriteGpx = allowWriteGpx;
22 }
23 public boolean isAllowReadGpx() {
24 return allowReadGpx;
25 }
26 public void setAllowReadGpx(boolean allowReadGpx) {
27 this.allowReadGpx = allowReadGpx;
28 }
29 public boolean isAllowReadPrefs() {
30 return allowReadPrefs;
31 }
32 public void setAllowReadPrefs(boolean allowReadPrefs) {
33 this.allowReadPrefs = allowReadPrefs;
34 }
35 public boolean isAllowWritePrefs() {
36 return allowWritePrefs;
37 }
38 public void setAllowWritePrefs(boolean allowWritePrefs) {
39 this.allowWritePrefs = allowWritePrefs;
40 }
41}
Note: See TracBrowser for help on using the repository browser.