Changeset 11349 in josm for trunk/src/org/openstreetmap/josm/data/osm/UserInfo.java
- Timestamp:
- 2016-11-30T01:57:13+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/UserInfo.java
r8510 r11349 7 7 import org.openstreetmap.josm.data.coor.LatLon; 8 8 9 /** 10 * Public user information. 11 * @since 2115 12 */ 9 13 public class UserInfo { 10 14 /** the user id */ … … 32 36 } 33 37 38 /** 39 * Returns the user identifier. 40 * @return the user identifier 41 */ 34 42 public int getId() { 35 43 return id; 36 44 } 37 45 46 /** 47 * Sets the user identifier. 48 * @param id the user identifier 49 */ 38 50 public void setId(int id) { 39 51 this.id = id; 40 52 } 41 53 54 /** 55 * Returns the display name. 56 * @return the display name 57 */ 42 58 public String getDisplayName() { 43 59 return displayName; 44 60 } 45 61 62 /** 63 * Sets the display name. 64 * @param displayName display name 65 */ 46 66 public void setDisplayName(String displayName) { 47 67 this.displayName = displayName; 48 68 } 49 69 70 /** 71 * Returns the date at which the account has been created. 72 * @return the user account creation date 73 */ 50 74 public Date getAccountCreated() { 51 75 return accountCreated; 52 76 } 53 77 78 /** 79 * Sets the date at which the account has been created. 80 * @param accountCreated user account creation date 81 */ 54 82 public void setAccountCreated(Date accountCreated) { 55 83 this.accountCreated = accountCreated; 56 84 } 57 85 86 /** 87 * Returns the user home coordinates, if set. 88 * @return the user home lat/lon or null 89 */ 58 90 public LatLon getHome() { 59 91 return home; 60 92 } 61 93 94 /** 95 * Sets the user home coordinates. 96 * @param home user home lat/lon or null 97 */ 62 98 public void setHome(LatLon home) { 63 99 this.home = home; 64 100 } 65 101 102 /** 103 * Returns the public account description. 104 * @return the public account description 105 */ 66 106 public String getDescription() { 67 107 return description; 68 108 } 69 109 110 /** 111 * Sets the public account description. 112 * @param description public account description 113 */ 70 114 public void setDescription(String description) { 71 115 this.description = description; 72 116 } 73 117 118 /** 119 * Returns the list of preferred languages. 120 * @return the list of preferred languages 121 */ 74 122 public List<String> getLanguages() { 75 123 return languages; 76 124 } 77 125 126 /** 127 * Sets the list of preferred languages. 128 * @param languages list of preferred languages 129 */ 78 130 public void setLanguages(List<String> languages) { 79 131 this.languages = languages; 80 132 } 81 133 134 /** 135 * Returns the user home zoom level. 136 * @return the user home zoom level 137 */ 82 138 public int getHomeZoom() { 83 139 return homeZoom; 84 140 } 85 141 142 /** 143 * Sets the user home zoom level. 144 * @param homeZoom user home zoom level 145 */ 86 146 public void setHomeZoom(int homeZoom) { 87 147 this.homeZoom = homeZoom;
Note:
See TracChangeset
for help on using the changeset viewer.