001 // License: GPL. For details, see LICENSE file. 002 package org.openstreetmap.josm.data.osm; 003 004 import java.util.Date; 005 import java.util.List; 006 007 import org.openstreetmap.josm.data.coor.LatLon; 008 009 public class UserInfo { 010 /** the user id */ 011 private int id; 012 /** the display name */ 013 private String displayName; 014 /** the date this user was created */ 015 private Date accountCreated; 016 /** the home location */ 017 private LatLon home; 018 /** the zoom level for the home location */ 019 private int homeZoom; 020 /** the profile description */ 021 private String description; 022 /** the list of preferred languages */ 023 private List<String> languages; 024 025 public UserInfo() { 026 id = 0; 027 } 028 029 public int getId() { 030 return id; 031 } 032 public void setId(int id) { 033 this.id = id; 034 } 035 public String getDisplayName() { 036 return displayName; 037 } 038 public void setDisplayName(String displayName) { 039 this.displayName = displayName; 040 } 041 public Date getAccountCreated() { 042 return accountCreated; 043 } 044 public void setAccountCreated(Date accountCreated) { 045 this.accountCreated = accountCreated; 046 } 047 public LatLon getHome() { 048 return home; 049 } 050 public void setHome(LatLon home) { 051 this.home = home; 052 } 053 public String getDescription() { 054 return description; 055 } 056 public void setDescription(String description) { 057 this.description = description; 058 } 059 public List<String> getLanguages() { 060 return languages; 061 } 062 public void setLanguages(List<String> languages) { 063 this.languages = languages; 064 } 065 066 public int getHomeZoom() { 067 return homeZoom; 068 } 069 070 public void setHomeZoom(int homeZoom) { 071 this.homeZoom = homeZoom; 072 } 073 }