Class CommunicationUserIdentifier


  • public final class CommunicationUserIdentifier
    extends CommunicationIdentifier
    Communication identifier for Communication Services Users
    • Constructor Summary

      Constructors 
      Constructor Description
      CommunicationUserIdentifier​(java.lang.String id)
      Creates a CommunicationUserIdentifier object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CommunicationUserIdentifier

        public CommunicationUserIdentifier​(java.lang.String id)
        Creates a CommunicationUserIdentifier object
        Parameters:
        id - identifier of the communication user.
        Throws:
        java.lang.IllegalArgumentException - thrown if id parameter fail the validation.
    • Method Detail

      • getId

        public java.lang.String getId()
        Get id of the communication user.
        Returns:
        id of the communication user.
      • setRawId

        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.
        Overrides:
        setRawId in class CommunicationIdentifier
        Parameters:
        rawId - full id of the identifier
        Returns:
        CommunicationUserIdentifier object itself