Package com.sforce.soap.partner
Class EmailFileAttachment
- java.lang.Object
-
- com.sforce.soap.partner.EmailFileAttachment
-
- All Implemented Interfaces:
IEmailFileAttachment,XMLizable
public class EmailFileAttachment extends Object implements XMLizable, IEmailFileAttachment
This is a generated class for the SObject Enterprise API. Do not edit this file, as your changes will be lost.
-
-
Constructor Summary
Constructors Constructor Description EmailFileAttachment()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBody()element : body of type {http://www.w3.org/2001/XMLSchema}base64Binary java type: byte[]StringgetContentType()element : contentType of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringStringgetFileName()element : fileName of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringStringgetId()element : id of type {urn:partner.soap.sforce.com}ID java type: java.lang.StringbooleangetInline()element : inline of type {http://www.w3.org/2001/XMLSchema}boolean java type: booleanbooleanisInline()voidload(XmlInputStream __in, TypeMapper __typeMapper)protected voidloadFields(XmlInputStream __in, TypeMapper __typeMapper)voidsetBody(byte[] body)protected voidsetBody(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetContentType(XmlInputStream __in, TypeMapper __typeMapper)voidsetContentType(String contentType)protected voidsetFileName(XmlInputStream __in, TypeMapper __typeMapper)voidsetFileName(String fileName)protected voidsetId(XmlInputStream __in, TypeMapper __typeMapper)voidsetId(String id)voidsetInline(boolean inline)protected voidsetInline(XmlInputStream __in, TypeMapper __typeMapper)StringtoString()voidwrite(QName __element, XmlOutputStream __out, TypeMapper __typeMapper)protected voidwriteFields(XmlOutputStream __out, TypeMapper __typeMapper)
-
-
-
Method Detail
-
getBody
public byte[] getBody()
Description copied from interface:IEmailFileAttachmentelement : body of type {http://www.w3.org/2001/XMLSchema}base64Binary java type: byte[]- Specified by:
getBodyin interfaceIEmailFileAttachment
-
setBody
public void setBody(byte[] body)
- Specified by:
setBodyin interfaceIEmailFileAttachment
-
setBody
protected void setBody(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getContentType
public String getContentType()
Description copied from interface:IEmailFileAttachmentelement : contentType of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getContentTypein interfaceIEmailFileAttachment
-
setContentType
public void setContentType(String contentType)
- Specified by:
setContentTypein interfaceIEmailFileAttachment
-
setContentType
protected void setContentType(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getFileName
public String getFileName()
Description copied from interface:IEmailFileAttachmentelement : fileName of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getFileNamein interfaceIEmailFileAttachment
-
setFileName
public void setFileName(String fileName)
- Specified by:
setFileNamein interfaceIEmailFileAttachment
-
setFileName
protected void setFileName(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getId
public String getId()
Description copied from interface:IEmailFileAttachmentelement : id of type {urn:partner.soap.sforce.com}ID java type: java.lang.String- Specified by:
getIdin interfaceIEmailFileAttachment
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceIEmailFileAttachment
-
setId
protected void setId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getInline
public boolean getInline()
Description copied from interface:IEmailFileAttachmentelement : inline of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean- Specified by:
getInlinein interfaceIEmailFileAttachment
-
isInline
public boolean isInline()
- Specified by:
isInlinein interfaceIEmailFileAttachment
-
setInline
public void setInline(boolean inline)
- Specified by:
setInlinein interfaceIEmailFileAttachment
-
setInline
protected void setInline(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
write
public void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Specified by:
writein interfaceXMLizable- Throws:
IOException
-
writeFields
protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Throws:
IOException
-
load
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Specified by:
loadin interfaceXMLizable- Throws:
IOExceptionConnectionException
-
loadFields
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
-