com.sforce.soap.partner
Class Error

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

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

See Also:
Serialized Form

Constructor Summary
Error()
           
Error(java.lang.String[] fields, java.lang.String message, StatusCode statusCode)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
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[] getFields()
          Gets the fields value for this Error.
 java.lang.String getFields(int i)
           
 java.lang.String getMessage()
          Gets the message value for this Error.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 StatusCode getStatusCode()
          Gets the statusCode value for this Error.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setFields(int i, java.lang.String _value)
           
 void setFields(java.lang.String[] fields)
          Sets the fields value for this Error.
 void setMessage(java.lang.String message)
          Sets the message value for this Error.
 void setStatusCode(StatusCode statusCode)
          Sets the statusCode value for this Error.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Error

public Error()

Error

public Error(java.lang.String[] fields,
             java.lang.String message,
             StatusCode statusCode)
Method Detail

getFields

public java.lang.String[] getFields()
Gets the fields value for this Error.

Returns:
fields

setFields

public void setFields(java.lang.String[] fields)
Sets the fields value for this Error.

Parameters:
fields -

getFields

public java.lang.String getFields(int i)

setFields

public void setFields(int i,
                      java.lang.String _value)

getMessage

public java.lang.String getMessage()
Gets the message value for this Error.

Returns:
message

setMessage

public void setMessage(java.lang.String message)
Sets the message value for this Error.

Parameters:
message -

getStatusCode

public StatusCode getStatusCode()
Gets the statusCode value for this Error.

Returns:
statusCode

setStatusCode

public void setStatusCode(StatusCode statusCode)
Sets the statusCode value for this Error.

Parameters:
statusCode -

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.