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()
IEmailFileAttachment
getBody
in interface IEmailFileAttachment
public void setBody(byte[] body)
setBody
in interface IEmailFileAttachment
protected void setBody(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOException
ConnectionException
public java.lang.String getContentType()
IEmailFileAttachment
getContentType
in interface IEmailFileAttachment
public void setContentType(java.lang.String contentType)
setContentType
in interface IEmailFileAttachment
protected void setContentType(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOException
ConnectionException
public java.lang.String getFileName()
IEmailFileAttachment
getFileName
in interface IEmailFileAttachment
public void setFileName(java.lang.String fileName)
setFileName
in interface IEmailFileAttachment
protected void setFileName(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOException
ConnectionException
public java.lang.String getId()
IEmailFileAttachment
getId
in interface IEmailFileAttachment
public void setId(java.lang.String id)
setId
in interface IEmailFileAttachment
protected void setId(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOException
ConnectionException
public boolean getInline()
IEmailFileAttachment
getInline
in interface IEmailFileAttachment
public boolean isInline()
isInline
in interface IEmailFileAttachment
public void setInline(boolean inline)
setInline
in interface IEmailFileAttachment
protected void setInline(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOException
ConnectionException
public 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.IOException
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
load
in interface XMLizable
java.io.IOException
ConnectionException
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOException
ConnectionException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019. All Rights Reserved.