001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.plugins.streetside.model; 003 004import java.io.Serializable; 005 006import javax.swing.ImageIcon; 007 008// not currently used but kept in case Microsoft wants to support user logins 009public class UserProfile extends KeyIndexedObject implements Serializable { 010 011 private static final long serialVersionUID = 7993340649510343946L; 012 013 private final String username; 014 private final ImageIcon avatar; 015 016 public UserProfile(String key, String username, ImageIcon avatar) { 017 super(key); 018 this.avatar = avatar; 019 this.username = username; 020 } 021 022 public String getUsername() { 023 return username; 024 } 025 026 public ImageIcon getAvatar() { 027 return avatar; 028 } 029}