Skip to content

Commit

Permalink
set and get language added
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Apr 11, 2017
1 parent f3fe72f commit b5f8653
Showing 1 changed file with 19 additions and 0 deletions.
Expand Up @@ -18,6 +18,7 @@ public class UserRegistrationBean {
private String zip;
private String city;
private String phone;
private String language; // INFO: For example 'de' or 'en'

private boolean preAuthenticated = false;
private String preAuthUsername = null;
Expand All @@ -36,6 +37,8 @@ public UserRegistrationBean(String gender, String firstname, String lastname, St
this.password = password;
this.city = city;
this.phone = phone;

this.language = null;
}

/**
Expand Down Expand Up @@ -118,6 +121,22 @@ public String getGender() {
return gender;
}

/**
* Get language
* @return language
*/
public String getLanguage() {
return language;
}

/**
* Set language
* @param language Language
*/
public void setLanguage(String language) {
this.language = language;
}

/**
* Get first name
*/
Expand Down

0 comments on commit b5f8653

Please sign in to comment.