Package com.sforce.soap.partner
Class EmailFileAttachment
java.lang.Object
com.sforce.soap.partner.EmailFileAttachment
- All Implemented Interfaces:
IEmailFileAttachment,XMLizable
This is a generated class for the SObject Enterprise API.
Do not edit this file, as your changes will be lost.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBody()element : body of type {http://www.w3.org/2001/XMLSchema}base64Binary java type: byte[]element : contentType of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.Stringelement : fileName of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringgetId()element : id of type {urn:partner.soap.sforce.com}ID java type: java.lang.Stringbooleanelement : 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) voidvoidsetInline(boolean inline) protected voidsetInline(XmlInputStream __in, TypeMapper __typeMapper) toString()voidwrite(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) protected voidwriteFields(XmlOutputStream __out, TypeMapper __typeMapper)
-
Constructor Details
-
EmailFileAttachment
public EmailFileAttachment()Constructor
-
-
Method Details
-
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
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
- Specified by:
setContentTypein interfaceIEmailFileAttachment
-
setContentType
protected void setContentType(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setFileNamein interfaceIEmailFileAttachment
-
setFileName
protected void setFileName(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- 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
- 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
-
toString
-