public abstract class CommunicationIdentifier
extends java.lang.Object
| Constructor and Description |
|---|
CommunicationIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object that) |
static CommunicationIdentifier |
fromRawId(java.lang.String rawId)
When storing rawIds, use this function to restore the identifier that was encoded in the rawId.
|
java.lang.String |
getRawId()
Returns the rawId for a given CommunicationIdentifier.
|
int |
hashCode() |
protected CommunicationIdentifier |
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.
|
public static CommunicationIdentifier fromRawId(java.lang.String rawId)
rawId - raw id.java.lang.IllegalArgumentException - raw id is null or empty.public java.lang.String getRawId()
protected CommunicationIdentifier setRawId(java.lang.String rawId)
rawId - full id of the identifierpublic boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object