com.sforce.soap.partner
Class QueryResult

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

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

See Also:
Serialized Form

Constructor Summary
QueryResult()
           
QueryResult(boolean done, java.lang.String queryLocator, SObject[] records, int size)
           
 
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 getQueryLocator()
          Gets the queryLocator value for this QueryResult.
 SObject[] getRecords()
          Gets the records value for this QueryResult.
 SObject getRecords(int i)
           
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 int getSize()
          Gets the size value for this QueryResult.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 boolean isDone()
          Gets the done value for this QueryResult.
 void setDone(boolean done)
          Sets the done value for this QueryResult.
 void setQueryLocator(java.lang.String queryLocator)
          Sets the queryLocator value for this QueryResult.
 void setRecords(int i, SObject _value)
           
 void setRecords(SObject[] records)
          Sets the records value for this QueryResult.
 void setSize(int size)
          Sets the size value for this QueryResult.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryResult

public QueryResult()

QueryResult

public QueryResult(boolean done,
                   java.lang.String queryLocator,
                   SObject[] records,
                   int size)
Method Detail

isDone

public boolean isDone()
Gets the done value for this QueryResult.

Returns:
done

setDone

public void setDone(boolean done)
Sets the done value for this QueryResult.

Parameters:
done -

getQueryLocator

public java.lang.String getQueryLocator()
Gets the queryLocator value for this QueryResult.

Returns:
queryLocator

setQueryLocator

public void setQueryLocator(java.lang.String queryLocator)
Sets the queryLocator value for this QueryResult.

Parameters:
queryLocator -

getRecords

public SObject[] getRecords()
Gets the records value for this QueryResult.

Returns:
records

setRecords

public void setRecords(SObject[] records)
Sets the records value for this QueryResult.

Parameters:
records -

getRecords

public SObject getRecords(int i)

setRecords

public void setRecords(int i,
                       SObject _value)

getSize

public int getSize()
Gets the size value for this QueryResult.

Returns:
size

setSize

public void setSize(int size)
Sets the size value for this QueryResult.

Parameters:
size -

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.