fr.cnes.sitools.mail.model
Class Mail

java.lang.Object
  extended by fr.cnes.sitools.mail.model.Mail
All Implemented Interfaces:
java.io.Serializable

public final class Mail
extends java.lang.Object
implements java.io.Serializable

Class pojo for an email in SITools2 Alternative of XML format used by default in restlet extension org.restlet.ext.javamail

Author:
jp.boignard (AKKA Technologies)
See Also:
Serialized Form

Constructor Summary
Mail()
          Default constructor
 
Method Summary
 java.util.List<java.lang.String> getBccList()
          Gets the bccList value
 java.lang.String getBody()
          Gets the body value
 java.util.List<java.lang.String> getCcList()
          Gets the ccList value
 java.lang.String getFrom()
          Gets the from value
 java.util.Date getSentDate()
          Gets the sentDate value
 java.lang.String getSubject()
          Gets the subject value
 java.util.List<java.lang.String> getToList()
          Gets the toList value
 void setBccList(java.util.List<java.lang.String> bccList)
          Sets the value of bccList
 void setBody(java.lang.String body)
          Sets the value of body
 void setCcList(java.util.List<java.lang.String> ccList)
          Sets the value of ccList
 void setFrom(java.lang.String from)
          Sets the value of from
 void setSentDate(java.util.Date sentDate)
          Sets the value of sentDate
 void setSubject(java.lang.String subject)
          Sets the value of subject
 void setToList(java.util.List<java.lang.String> toList)
          Sets the value of toList
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mail

public Mail()
Default constructor

Method Detail

getSubject

public java.lang.String getSubject()
Gets the subject value

Returns:
the subject

setSubject

public void setSubject(java.lang.String subject)
Sets the value of subject

Parameters:
subject - the subject to set

getFrom

public java.lang.String getFrom()
Gets the from value

Returns:
the from

setFrom

public void setFrom(java.lang.String from)
Sets the value of from

Parameters:
from - the from to set

getBody

public java.lang.String getBody()
Gets the body value

Returns:
the body

setBody

public void setBody(java.lang.String body)
Sets the value of body

Parameters:
body - the body to set

getSentDate

public java.util.Date getSentDate()
Gets the sentDate value

Returns:
the sentDate

setSentDate

public void setSentDate(java.util.Date sentDate)
Sets the value of sentDate

Parameters:
sentDate - the sentDate to set

getToList

public java.util.List<java.lang.String> getToList()
Gets the toList value

Returns:
the toList

setToList

public void setToList(java.util.List<java.lang.String> toList)
Sets the value of toList

Parameters:
toList - the toList to set

getCcList

public java.util.List<java.lang.String> getCcList()
Gets the ccList value

Returns:
the ccList

setCcList

public void setCcList(java.util.List<java.lang.String> ccList)
Sets the value of ccList

Parameters:
ccList - the ccList to set

getBccList

public java.util.List<java.lang.String> getBccList()
Gets the bccList value

Returns:
the bccList

setBccList

public void setBccList(java.util.List<java.lang.String> bccList)
Sets the value of bccList

Parameters:
bccList - the bccList to set


Copyright © 2010-2013 CNES. All Rights Reserved.