public class UserIdentity extends Object
| Modifier and Type | Field and Description | 
|---|---|
private static String | 
__SEPARATOR
The separator between the login and the population id for the string representation of a user identity 
 | 
private String | 
_login
The login of the user 
 | 
private String | 
_populationId
The id of the user population the user belongs to 
 | 
| Constructor and Description | 
|---|
UserIdentity(String login,
            String populationId)
Constructs a user identity 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
String | 
getLogin()
Get the login of the user 
 | 
String | 
getPopulationId()
GetGet the user population the user belongs to 
 | 
int | 
hashCode()  | 
static UserIdentity | 
stringToUserIdentity(String string)
Returns the  
UserIdentity from its string representation | 
String | 
toString()  | 
static String | 
userIdentityToString(UserIdentity userIdentity)
Gets a string representation of a  
UserIdentity | 
private static final String __SEPARATOR
private String _populationId
public UserIdentity(String login, String populationId)
login - The login of the userpopulationId - The id of the user population the user belongs topublic static String userIdentityToString(UserIdentity userIdentity)
UserIdentityuserIdentity - The user identitypublic static UserIdentity stringToUserIdentity(String string)
UserIdentity from its string representationstring - The string representation of the user identitypublic String getPopulationId()