Package com.sforce.soap.partner
Class EmailFileAttachment
java.lang.Object
com.sforce.soap.partner.EmailFileAttachment
- All Implemented Interfaces:
IEmailFileAttachment,com.sforce.ws.bind.XMLizable
public class EmailFileAttachment
extends Object
implements com.sforce.ws.bind.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 -
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(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)protected voidloadFields(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)voidsetBody(byte[] body)protected voidsetBody(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)protected voidsetContentType(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)voidsetContentType(String contentType)protected voidsetFileName(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)voidsetFileName(String fileName)protected voidsetId(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)voidvoidsetInline(boolean inline)protected voidsetInline(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)toString()voidwrite(QName __element, com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)protected voidwriteFields(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.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(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException- Throws:
IOExceptioncom.sforce.ws.ConnectionException
-
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(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException- Throws:
IOExceptioncom.sforce.ws.ConnectionException
-
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(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException- Throws:
IOExceptioncom.sforce.ws.ConnectionException
-
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(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException- Throws:
IOExceptioncom.sforce.ws.ConnectionException
-
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(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException- Throws:
IOExceptioncom.sforce.ws.ConnectionException
-
write
public void write(QName __element, com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException- Specified by:
writein interfacecom.sforce.ws.bind.XMLizable- Throws:
IOException
-
writeFields
protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException- Throws:
IOException
-
load
public void load(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException- Specified by:
loadin interfacecom.sforce.ws.bind.XMLizable- Throws:
IOExceptioncom.sforce.ws.ConnectionException
-
loadFields
protected void loadFields(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException- Throws:
IOExceptioncom.sforce.ws.ConnectionException
-
toString
-