Class UnknownIdentifier


  • public final class UnknownIdentifier
    extends CommunicationIdentifier
    Catch-all for all other Communication identifiers for Communication Services
    • Constructor Summary

      Constructors 
      Constructor Description
      UnknownIdentifier​(java.lang.String id)
      Creates an UnknownIdentifier 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 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.
      • Methods inherited from class java.lang.Object

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

      • UnknownIdentifier

        public UnknownIdentifier​(java.lang.String id)
        Creates an UnknownIdentifier object
        Parameters:
        id - the string identifier representing the identity
        Throws:
        java.lang.IllegalArgumentException - thrown if id parameter fail the validation.
    • Method Detail

      • getId

        public java.lang.String getId()
        Get id of this identifier
        Returns:
        id of this identifier
      • setRawId

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