com.sforce.soap.partner
Class EmailFileAttachment

java.lang.Object
  extended by com.sforce.soap.partner.EmailFileAttachment
All Implemented Interfaces:
java.io.Serializable

public class EmailFileAttachment
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
EmailFileAttachment()
           
EmailFileAttachment(byte[] body, java.lang.String fileName)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 byte[] getBody()
          Gets the body value for this EmailFileAttachment.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getFileName()
          Gets the fileName value for this EmailFileAttachment.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setBody(byte[] body)
          Sets the body value for this EmailFileAttachment.
 void setFileName(java.lang.String fileName)
          Sets the fileName value for this EmailFileAttachment.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailFileAttachment

public EmailFileAttachment()

EmailFileAttachment

public EmailFileAttachment(byte[] body,
                           java.lang.String fileName)
Method Detail

getBody

public byte[] getBody()
Gets the body value for this EmailFileAttachment.

Returns:
body

setBody

public void setBody(byte[] body)
Sets the body value for this EmailFileAttachment.

Parameters:
body -

getFileName

public java.lang.String getFileName()
Gets the fileName value for this EmailFileAttachment.

Returns:
fileName

setFileName

public void setFileName(java.lang.String fileName)
Sets the fileName value for this EmailFileAttachment.

Parameters:
fileName -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer



Copyright © 2009. All Rights Reserved.