public class EmailFileAttachment extends java.lang.Object implements XMLizable, IEmailFileAttachment
| Constructor and Description |
|---|
EmailFileAttachment()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBody()
element : body of type {http://www.w3.org/2001/XMLSchema}base64Binary
java type: byte[]
|
java.lang.String |
getContentType()
element : contentType of type {http://www.w3.org/2001/XMLSchema}string
java type: java.lang.String
|
java.lang.String |
getFileName()
element : fileName of type {http://www.w3.org/2001/XMLSchema}string
java type: java.lang.String
|
java.lang.String |
getId()
element : id of type {urn:partner.soap.sforce.com}ID
java type: java.lang.String
|
boolean |
getInline()
element : inline of type {http://www.w3.org/2001/XMLSchema}boolean
java type: boolean
|
boolean |
isInline() |
void |
load(XmlInputStream __in,
TypeMapper __typeMapper) |
protected void |
loadFields(XmlInputStream __in,
TypeMapper __typeMapper) |
void |
setBody(byte[] body) |
protected void |
setBody(XmlInputStream __in,
TypeMapper __typeMapper) |
void |
setContentType(java.lang.String contentType) |
protected void |
setContentType(XmlInputStream __in,
TypeMapper __typeMapper) |
void |
setFileName(java.lang.String fileName) |
protected void |
setFileName(XmlInputStream __in,
TypeMapper __typeMapper) |
void |
setId(java.lang.String id) |
protected void |
setId(XmlInputStream __in,
TypeMapper __typeMapper) |
void |
setInline(boolean inline) |
protected void |
setInline(XmlInputStream __in,
TypeMapper __typeMapper) |
java.lang.String |
toString() |
void |
write(javax.xml.namespace.QName __element,
XmlOutputStream __out,
TypeMapper __typeMapper) |
protected void |
writeFields(XmlOutputStream __out,
TypeMapper __typeMapper) |
public byte[] getBody()
IEmailFileAttachmentgetBody in interface IEmailFileAttachmentpublic void setBody(byte[] body)
setBody in interface IEmailFileAttachmentprotected void setBody(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOExceptionConnectionExceptionpublic java.lang.String getContentType()
IEmailFileAttachmentgetContentType in interface IEmailFileAttachmentpublic void setContentType(java.lang.String contentType)
setContentType in interface IEmailFileAttachmentprotected void setContentType(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOExceptionConnectionExceptionpublic java.lang.String getFileName()
IEmailFileAttachmentgetFileName in interface IEmailFileAttachmentpublic void setFileName(java.lang.String fileName)
setFileName in interface IEmailFileAttachmentprotected void setFileName(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOExceptionConnectionExceptionpublic java.lang.String getId()
IEmailFileAttachmentgetId in interface IEmailFileAttachmentpublic void setId(java.lang.String id)
setId in interface IEmailFileAttachmentprotected void setId(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOExceptionConnectionExceptionpublic boolean getInline()
IEmailFileAttachmentgetInline in interface IEmailFileAttachmentpublic boolean isInline()
isInline in interface IEmailFileAttachmentpublic void setInline(boolean inline)
setInline in interface IEmailFileAttachmentprotected void setInline(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOExceptionConnectionExceptionpublic void write(javax.xml.namespace.QName __element,
XmlOutputStream __out,
TypeMapper __typeMapper)
throws java.io.IOException
protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws java.io.IOException
java.io.IOExceptionpublic void load(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
load in interface XMLizablejava.io.IOExceptionConnectionExceptionprotected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOExceptionConnectionExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2020. All Rights Reserved.