public final class CommunicationUserIdentifier extends CommunicationIdentifier
Constructor and Description |
---|
CommunicationUserIdentifier(java.lang.String id)
Creates a CommunicationUserIdentifier object
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
java.lang.String |
getId()
Get id of the communication user.
|
int |
hashCode() |
protected CommunicationUserIdentifier |
setRawId(java.lang.String rawId)
Set full id of the identifier
RawId is the encoded format for identifiers to store in databases or as stable keys in general.
|
fromRawId, getRawId
public CommunicationUserIdentifier(java.lang.String id)
id
- identifier of the communication user.java.lang.IllegalArgumentException
- thrown if id parameter fail the validation.public java.lang.String getId()
protected CommunicationUserIdentifier setRawId(java.lang.String rawId)
setRawId
in class CommunicationIdentifier
rawId
- full id of the identifierpublic boolean equals(java.lang.Object that)
equals
in class CommunicationIdentifier
public int hashCode()
hashCode
in class CommunicationIdentifier