public void setUserName ( String userName ) { SystemAssert . requireArgument ( userName != null && ! userName . isEmpty ( ) , "Username cannot be null or empty." ) ; this . userName = userName ; }
Updates the user name for the user .