source: josm/trunk/src/org/openstreetmap/josm/data/osm/UserInfo.java @ 5241

Revision 3083, 1.8 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.
2package org.openstreetmap.josm.data.osm;
3
4import java.util.Date;
5import java.util.List;
6
7import org.openstreetmap.josm.data.coor.LatLon;
8
9public class UserInfo {
10    /** the user id */
11    private int id;
12    /** the display name */
13    private String displayName;
14    /** the date this user was created */
15    private Date accountCreated;
16    /** the home location */
17    private LatLon home;
18    /** the zoom level for the home location */
19    private int homeZoom;
20    /** the profile description */
21    private String description;
22    /** the list of preferred languages */
23    private List<String> languages;
24
25    public UserInfo() {
26        id = 0;
27    }
28
29    public int getId() {
30        return id;
31    }
32    public void setId(int id) {
33        this.id = id;
34    }
35    public String getDisplayName() {
36        return displayName;
37    }
38    public void setDisplayName(String displayName) {
39        this.displayName = displayName;
40    }
41    public Date getAccountCreated() {
42        return accountCreated;
43    }
44    public void setAccountCreated(Date accountCreated) {
45        this.accountCreated = accountCreated;
46    }
47    public LatLon getHome() {
48        return home;
49    }
50    public void setHome(LatLon home) {
51        this.home = home;
52    }
53    public String getDescription() {
54        return description;
55    }
56    public void setDescription(String description) {
57        this.description = description;
58    }
59    public List<String> getLanguages() {
60        return languages;
61    }
62    public void setLanguages(List<String> languages) {
63        this.languages = languages;
64    }
65
66    public int getHomeZoom() {
67        return homeZoom;
68    }
69
70    public void setHomeZoom(int homeZoom) {
71        this.homeZoom = homeZoom;
72    }
73}
Note: See TracBrowser for help on using the repository browser.