Partial support for locale in spanish.

This commit is contained in:
Paulo Gustavo Veiga
2012-06-30 02:26:21 -03:00
parent 36c34b6962
commit dd74a7a63d
46 changed files with 394 additions and 270 deletions

View File

@@ -18,6 +18,8 @@
package com.wisemapping.model;
import org.jetbrains.annotations.NotNull;
import java.io.Serializable;
import java.util.*;
@@ -33,6 +35,8 @@ public class User
private String username;
private Set<String> tags = new HashSet<String>();
private boolean allowSendEmail = false;
private String locale;
public User() {
}
@@ -119,6 +123,7 @@ public class User
}
public int hashCode() {
int result;
result = (firstname != null ? firstname.hashCode() : 0);
@@ -136,4 +141,11 @@ public class User
this.username = username;
}
public String getLocale() {
return locale;
}
public void setLocale(@NotNull String locale) {
this.locale = locale;
}
}