Class EmailDTO


  • public class EmailDTO
    extends java.lang.Object
    DTO to describe an email
    • Constructor Summary

      Constructors 
      Constructor Description
      EmailDTO​(java.lang.String strSubject, java.lang.String strContent)
      Creates a new initialized EmailDTO
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContent()
      Get the content of the email
      java.lang.String getSubject()
      Get the subject of the email
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EmailDTO

        public EmailDTO​(java.lang.String strSubject,
                        java.lang.String strContent)
        Creates a new initialized EmailDTO
        Parameters:
        strSubject - The subject of the email
        strContent - The content of the email
    • Method Detail

      • getSubject

        public java.lang.String getSubject()
        Get the subject of the email
        Returns:
        The subject of the email
      • getContent

        public java.lang.String getContent()
        Get the content of the email
        Returns:
        the content of the email