Package jadex.bridge.service.types.email
Class Email
- java.lang.Object
-
- jadex.bridge.service.types.email.Email
-
public class Email extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object[]
attachments
The attachments.protected java.lang.String[]
bccs
The bccs.protected java.lang.String[]
ccs
The ccs.protected java.lang.String
content
The plain content.protected java.lang.String
contenttype
The content type.protected java.lang.String[]
receivers
The receivers.protected java.lang.String
sender
The sender.protected java.lang.String
subject
The subject.
-
Constructor Summary
Constructors Constructor Description Email()
Create an email.Email(java.lang.String sender, java.lang.String content, java.lang.String subject, java.lang.String receiver)
Create an email.Email(java.lang.String sender, java.lang.String content, java.lang.String subject, java.lang.String[] receivers)
Create an email.Email(java.lang.String sender, java.lang.String content, java.lang.String contenttype, java.lang.String subject, java.lang.String[] receivers, java.lang.String[] ccs, java.lang.String[] bccs)
Create an email.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Test if is equal.java.lang.Object[]
getAttachments()
Get the attachments.java.lang.String[]
getBccs()
Get the bccs.java.lang.String[]
getCcs()
Get the ccs.java.lang.String
getContent()
Get the content.java.lang.String
getContentType()
Get the contenttype.java.lang.String[]
getReceivers()
Get the receivers.java.lang.String
getSender()
Get the sender.java.lang.String
getSubject()
Get the subject.int
hashCode()
Get the hashcode.void
setAttachments(java.lang.Object[] attachments)
Set the attachments.void
setBccs(java.lang.String[] bccs)
Set the bccs.void
setCcs(java.lang.String[] ccs)
Set the ccs.void
setContent(java.lang.String content)
Set the content.void
setContentType(java.lang.String contenttype)
Set the contenttype.void
setReceivers(java.lang.String[] receivers)
Set the receivers.void
setSender(java.lang.String sender)
Set the sender.void
setSubject(java.lang.String subject)
Set the subject.
-
-
-
Field Detail
-
content
protected java.lang.String content
The plain content.
-
contenttype
protected java.lang.String contenttype
The content type.
-
subject
protected java.lang.String subject
The subject.
-
sender
protected java.lang.String sender
The sender.
-
receivers
protected java.lang.String[] receivers
The receivers.
-
ccs
protected java.lang.String[] ccs
The ccs.
-
bccs
protected java.lang.String[] bccs
The bccs.
-
attachments
protected java.lang.Object[] attachments
The attachments.
-
-
Constructor Detail
-
Email
public Email()
Create an email.
-
Email
public Email(java.lang.String sender, java.lang.String content, java.lang.String subject, java.lang.String receiver)
Create an email.
-
Email
public Email(java.lang.String sender, java.lang.String content, java.lang.String subject, java.lang.String[] receivers)
Create an email.
-
Email
public Email(java.lang.String sender, java.lang.String content, java.lang.String contenttype, java.lang.String subject, java.lang.String[] receivers, java.lang.String[] ccs, java.lang.String[] bccs)
Create an email.
-
-
Method Detail
-
getContent
public java.lang.String getContent()
Get the content.- Returns:
- The content.
-
setContent
public void setContent(java.lang.String content)
Set the content.- Parameters:
content
- The content to set.
-
getSubject
public java.lang.String getSubject()
Get the subject.- Returns:
- The subject.
-
setSubject
public void setSubject(java.lang.String subject)
Set the subject.- Parameters:
subject
- The subject to set.
-
getReceivers
public java.lang.String[] getReceivers()
Get the receivers.- Returns:
- The receivers.
-
setReceivers
public void setReceivers(java.lang.String[] receivers)
Set the receivers.- Parameters:
receivers
- The receivers to set.
-
getCcs
public java.lang.String[] getCcs()
Get the ccs.- Returns:
- The ccs.
-
setCcs
public void setCcs(java.lang.String[] ccs)
Set the ccs.- Parameters:
ccs
- The ccs to set.
-
getBccs
public java.lang.String[] getBccs()
Get the bccs.- Returns:
- The bccs.
-
setBccs
public void setBccs(java.lang.String[] bccs)
Set the bccs.- Parameters:
bccs
- The bccs to set.
-
getSender
public java.lang.String getSender()
Get the sender.- Returns:
- The sender.
-
setSender
public void setSender(java.lang.String sender)
Set the sender.- Parameters:
sender
- The sender to set.
-
getAttachments
public java.lang.Object[] getAttachments()
Get the attachments.- Returns:
- The attachments.
-
setAttachments
public void setAttachments(java.lang.Object[] attachments)
Set the attachments.- Parameters:
attachments
- The attachments to set.
-
getContentType
public java.lang.String getContentType()
Get the contenttype. return The contenttype.
-
setContentType
public void setContentType(java.lang.String contenttype)
Set the contenttype.- Parameters:
contenttype
- The contenttype to set.
-
hashCode
public int hashCode()
Get the hashcode.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if is equal.- Overrides:
equals
in classjava.lang.Object
-
-