java.lang.Object
ch.tocco.nice2.rest.core.spi.beans.HalBean
ch.tocco.nice2.messaging.greenmail.impl.rest.MessageBean
All Implemented Interfaces:
Serializable

public class MessageBean extends HalBean
See Also:
  • Constructor Details

    • MessageBean

      public MessageBean()
  • Method Details

    • getId

      public String getId()
    • setId

      public MessageBean setId(String id)
    • getSubject

      public String getSubject()
    • setSubject

      public MessageBean setSubject(String subject)
    • getSentDate

      public Date getSentDate()
    • setSentDate

      public MessageBean setSentDate(Date sentDate)
    • getFrom

      public jakarta.mail.Address[] getFrom()
    • setFrom

      public MessageBean setFrom(jakarta.mail.Address[] from)
    • getTo

      public jakarta.mail.Address[] getTo()
    • setTo

      public MessageBean setTo(jakarta.mail.Address[] to)
    • getCc

      public jakarta.mail.Address[] getCc()
    • setCc

      public MessageBean setCc(jakarta.mail.Address[] cc)
    • getBcc

      public jakarta.mail.Address[] getBcc()
    • setBcc

      public MessageBean setBcc(jakarta.mail.Address[] bcc)
    • getHeaders

      public Map<String,String> getHeaders()
    • setHeaders

      public MessageBean setHeaders(Map<String,String> headers)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object