Class EmailRecipient

java.lang.Object
io.goobi.viewer.model.misc.EmailRecipient

public class EmailRecipient extends Object
Represents a named email recipient with an identifier, a display label, an email address, and a flag indicating whether it is the default recipient.
  • Constructor Details

    • EmailRecipient

      public EmailRecipient(String id, String label, String emailAddress, boolean defaultRecipient)
      Parameters:
      id - unique identifier for this recipient
      label - display name of the recipient
      emailAddress - email address of the recipient
      defaultRecipient - true if this is the default recipient
  • Method Details

    • getLabel

      public String getLabel()
    • getEmailAddress

      public String getEmailAddress()
    • isDefaultRecipient

      public boolean isDefaultRecipient()
    • getId

      public String getId()
    • toString

      public String toString()
      Overrides:
      toString in class Object