Interface IEmailAddress

All Superinterfaces:
IHasDisplayName
All Known Implementing Classes:
EmailAddress

public interface IEmailAddress extends IHasDisplayName
Aggregation of a personal name and an email address.
Author:
Philip Helger
  • Method Details

    • getAddress

      @Nonnull String getAddress()
      Returns:
      The main email address. May not be null.
    • getPersonal

      @Nullable String getPersonal()
      Returns:
      The personal name. May be null.
    • hasPersonal

      default boolean hasPersonal()
      Returns:
      true if a personal name is present, false if not.
    • getDisplayName

      @Nonnull default String getDisplayName()
      Specified by:
      getDisplayName in interface IHasDisplayName
      Returns:
      The display name of this object. Should never be null.