001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.data.oauth; 003 004public class OsmPrivileges { 005 private boolean allowWriteApi; 006 private boolean allowWriteGpx; 007 private boolean allowReadGpx; 008 private boolean allowReadPrefs; 009 private boolean allowWritePrefs; 010 private boolean allowModifyNotes; 011 012 public boolean isAllowWriteApi() { 013 return allowWriteApi; 014 } 015 016 public void setAllowWriteApi(boolean allowWriteApi) { 017 this.allowWriteApi = allowWriteApi; 018 } 019 020 public boolean isAllowWriteGpx() { 021 return allowWriteGpx; 022 } 023 024 public void setAllowWriteGpx(boolean allowWriteGpx) { 025 this.allowWriteGpx = allowWriteGpx; 026 } 027 028 public boolean isAllowReadGpx() { 029 return allowReadGpx; 030 } 031 032 public void setAllowReadGpx(boolean allowReadGpx) { 033 this.allowReadGpx = allowReadGpx; 034 } 035 036 public boolean isAllowReadPrefs() { 037 return allowReadPrefs; 038 } 039 040 public void setAllowReadPrefs(boolean allowReadPrefs) { 041 this.allowReadPrefs = allowReadPrefs; 042 } 043 044 public boolean isAllowWritePrefs() { 045 return allowWritePrefs; 046 } 047 048 public void setAllowWritePrefs(boolean allowWritePrefs) { 049 this.allowWritePrefs = allowWritePrefs; 050 } 051 052 public boolean isAllowModifyNotes() { 053 return allowModifyNotes; 054 } 055 056 public void setAllowModifyNotes(boolean allowModifyNotes) { 057 this.allowModifyNotes = allowModifyNotes; 058 } 059}