CommunicationUserIdentifier Class

public final class CommunicationUserIdentifier
extends CommunicationIdentifier

Communication identifier for Communication Services Users

Constructor Summary

Constructor Description
CommunicationUserIdentifier(String id)

Creates a CommunicationUserIdentifier object

Method Summary

Modifier and Type Method and Description
boolean equals(Object that)
String getId()

Get id of the communication user.

int hashCode()
protected CommunicationUserIdentifier setRawId(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.

Methods inherited from CommunicationIdentifier

Methods inherited from java.lang.Object

Constructor Details

CommunicationUserIdentifier

public CommunicationUserIdentifier(String id)

Creates a CommunicationUserIdentifier object

Parameters:

id - id of the communication user.

Method Details

equals

public boolean equals(Object that)

Overrides:

CommunicationUserIdentifier.equals(Object that)

Parameters:

that

getId

public String getId()

Get id of the communication user.

Returns:

id of the communication user.

hashCode

public int hashCode()

Overrides:

CommunicationUserIdentifier.hashCode()

setRawId

protected CommunicationUserIdentifier setRawId(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.

Overrides:

CommunicationUserIdentifier.setRawId(String rawId)

Parameters:

rawId - full id of the identifier

Returns:

CommunicationUserIdentifier object itself

Applies to