Class EMailAddress

  • All Implemented Interfaces:
    java.io.Serializable

    public final class EMailAddress
    extends java.lang.Object
    implements java.io.Serializable
    A class to represent an email address.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      EMailAddress​(java.lang.String emailAddressOrNull)  
      EMailAddress​(java.lang.String emailAddressOrNull, java.lang.String personalNameOrNull)  
    • Constructor Detail

      • EMailAddress

        public EMailAddress​(java.lang.String emailAddressOrNull)
      • EMailAddress

        public EMailAddress​(java.lang.String emailAddressOrNull,
                            java.lang.String personalNameOrNull)
    • Method Detail

      • tryGetEmailAddress

        public java.lang.String tryGetEmailAddress()
      • tryGetPersonalName

        public java.lang.String tryGetPersonalName()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object