Last active
March 20, 2022 09:19
-
-
Save Gogetter/e7d93c306a19fe1070efcb6c3f21b169 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EmailData { | |
private final String recipient; | |
private final String subject; | |
private final String message; | |
private final Set<EmailAttachment> emailAttachments; | |
public EmailData() { | |
} | |
public String getRecipient() { | |
return recipient; | |
} | |
public void setRecipient(String recipient) { | |
this.recipient = recipient; | |
} | |
public String getSubject() { | |
return subject; | |
} | |
public void setSubject(String subject) { | |
this.subject = subject; | |
} | |
public String getMessage() { | |
return message; | |
} | |
public void setMessage(String message) { | |
this.message = message; | |
} | |
// with toString, hashcode and equals overridden | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment