public final class Identity
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
IDENTITY_REG_EXP |
| Modifier and Type | Method and Description |
|---|---|
static Identity |
createEmailIdentity(java.lang.String email) |
static Identity |
createExternalIdentity(java.lang.String extId) |
static Identity |
createIdentity(java.lang.String identityString) |
static Identity |
createIdentity(java.lang.String identity,
IdentityType type) |
static Identity |
createMachineIdentity(java.lang.String machineName) |
static Identity |
createMsisdnIdentity(java.lang.String msisdn) |
static Identity |
createUidIdentity(java.lang.String id) |
static Identity |
createUsernameIdentity(java.lang.String username) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId() |
IdentityType |
getIdentityType() |
int |
hashCode() |
java.lang.String |
toString() |
public static final java.lang.String IDENTITY_REG_EXP
public static Identity createIdentity(java.lang.String identity, IdentityType type)
public static Identity createMsisdnIdentity(java.lang.String msisdn)
public static Identity createUidIdentity(java.lang.String id)
public static Identity createEmailIdentity(java.lang.String email)
public static Identity createExternalIdentity(java.lang.String extId)
public static Identity createUsernameIdentity(java.lang.String username)
public static Identity createMachineIdentity(java.lang.String machineName)
public static Identity createIdentity(java.lang.String identityString)
public java.lang.String getId()
public IdentityType getIdentityType()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object