A lowercase username composed of the first_name and last_name joined with a '.'. Some examples are: (template) #firstName().#lastName() jim.jones jason.leigh tracy.jordan @return a ran
()
| 120 | * @see Name#lastName() |
| 121 | */ |
| 122 | public String username() { |
| 123 | |
| 124 | String username = StringUtils.join( |
| 125 | firstName().replaceAll("'", "").toLowerCase(), |
| 126 | ".", |
| 127 | lastName().replaceAll("'", "").toLowerCase() |
| 128 | ); |
| 129 | |
| 130 | return StringUtils.deleteWhitespace(username); |
| 131 | } |
| 132 | |
| 133 | /** |
| 134 | * <p>Returns a blood group such as O−, O+, A-, A+, B-, B+, AB-, AB+</p> |