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
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    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.String
    element : fileName of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
    element : id of type {urn:partner.soap.sforce.com}ID java type: java.lang.String
    boolean
    element : inline of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean
    boolean
     
    void
    load​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    protected void
    loadFields​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    void
    setBody​(byte[] body)
     
    protected void
    setBody​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    protected void
    setContentType​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    void
    setContentType​(String contentType)
     
    protected void
    setFileName​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    void
    setFileName​(String fileName)
     
    protected void
    setId​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    void
    setId​(String id)
     
    void
    setInline​(boolean inline)
     
    protected void
    setInline​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
     
    void
    write​(QName __element, com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    protected void
    writeFields​(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • EmailFileAttachment

      public EmailFileAttachment()
      Constructor
  • Method Details

    • getBody

      public byte[] getBody()
      Description copied from interface: IEmailFileAttachment
      element : body of type {http://www.w3.org/2001/XMLSchema}base64Binary java type: byte[]
      Specified by:
      getBody in interface IEmailFileAttachment
    • setBody

      public void setBody(byte[] body)
      Specified by:
      setBody in interface IEmailFileAttachment
    • setBody

      protected void setBody(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException
      Throws:
      IOException
      com.sforce.ws.ConnectionException
    • getContentType

      public String getContentType()
      Description copied from interface: IEmailFileAttachment
      element : contentType of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
      Specified by:
      getContentType in interface IEmailFileAttachment
    • setContentType

      public void setContentType(String contentType)
      Specified by:
      setContentType in interface IEmailFileAttachment
    • setContentType

      protected void setContentType(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException
      Throws:
      IOException
      com.sforce.ws.ConnectionException
    • getFileName

      public String getFileName()
      Description copied from interface: IEmailFileAttachment
      element : fileName of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
      Specified by:
      getFileName in interface IEmailFileAttachment
    • setFileName

      public void setFileName(String fileName)
      Specified by:
      setFileName in interface IEmailFileAttachment
    • setFileName

      protected void setFileName(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException
      Throws:
      IOException
      com.sforce.ws.ConnectionException
    • getId

      public String getId()
      Description copied from interface: IEmailFileAttachment
      element : id of type {urn:partner.soap.sforce.com}ID java type: java.lang.String
      Specified by:
      getId in interface IEmailFileAttachment
    • setId

      public void setId(String id)
      Specified by:
      setId in interface IEmailFileAttachment
    • setId

      protected void setId(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException
      Throws:
      IOException
      com.sforce.ws.ConnectionException
    • getInline

      public boolean getInline()
      Description copied from interface: IEmailFileAttachment
      element : inline of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean
      Specified by:
      getInline in interface IEmailFileAttachment
    • isInline

      public boolean isInline()
      Specified by:
      isInline in interface IEmailFileAttachment
    • setInline

      public void setInline(boolean inline)
      Specified by:
      setInline in interface IEmailFileAttachment
    • setInline

      protected void setInline(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException
      Throws:
      IOException
      com.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:
      write in interface com.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:
      load in interface com.sforce.ws.bind.XMLizable
      Throws:
      IOException
      com.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:
      IOException
      com.sforce.ws.ConnectionException
    • toString

      public String toString()
      Overrides:
      toString in class Object