public final class UnknownIdentifier extends CommunicationIdentifier
Constructor and Description |
---|
UnknownIdentifier(java.lang.String id)
Creates an UnknownIdentifier object
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
java.lang.String |
getId()
Get id of this identifier
|
int |
hashCode() |
protected UnknownIdentifier |
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 UnknownIdentifier(java.lang.String id)
id
- the string identifier representing the identityjava.lang.IllegalArgumentException
- thrown if id parameter fail the validation.public java.lang.String getId()
protected UnknownIdentifier 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