| Revision 3083,
1.2 KB
checked in by bastiK, 2 years ago
(diff) |
|
added svn:eol-style=native to source files
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 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 | |
|---|
| 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.