Added setUsername().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2612 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -58,6 +58,15 @@ public class User
|
|||||||
* affiliation, if you will.) */
|
* affiliation, if you will.) */
|
||||||
public int siteId;
|
public int siteId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Updates the user's username.
|
||||||
|
*/
|
||||||
|
public void setUsername (Username username)
|
||||||
|
{
|
||||||
|
this.username = username.getUsername();
|
||||||
|
setModified("username");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the user's real name.
|
* Updates the user's real name.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user