com.sforce.async
Class BatchInfo

java.lang.Object
  extended by com.sforce.async.BatchInfo
All Implemented Interfaces:
XMLizable

public class BatchInfo
extends Object
implements XMLizable

Async Api BatchInfo


Constructor Summary
BatchInfo()
          Constructor
 
Method Summary
 long getApexProcessingTime()
           
 long getApiActiveProcessingTime()
           
 Calendar getCreatedDate()
           
 String getId()
           
 String getJobId()
           
 int getNumberRecordsFailed()
           
 int getNumberRecordsProcessed()
           
 BatchStateEnum getState()
           
 String getStateMessage()
           
 Calendar getSystemModstamp()
           
 long getTotalProcessingTime()
           
 void load(XmlInputStream __in, TypeMapper __typeMapper)
          load the fileds/children from the specified xml stream
protected  void loadFields(XmlInputStream __in, TypeMapper __typeMapper)
           
 void setApexProcessingTime(long apexProcessingTime)
           
 void setApiActiveProcessingTime(long apiActiveProcessingTime)
           
 void setCreatedDate(Calendar createdDate)
           
 void setId(String id)
           
 void setJobId(String jobId)
           
 void setNumberRecordsFailed(int numberRecordsFailed)
           
 void setNumberRecordsProcessed(int numberRecordsProcessed)
           
 void setState(BatchStateEnum state)
           
 void setStateMessage(String stateMessage)
           
 void setSystemModstamp(Calendar systemModstamp)
           
 void setTotalProcessingTime(long totalProcessingTime)
           
 String toString()
           
 void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper)
          write this instace as xml.
protected  void writeFields(XmlOutputStream __out, TypeMapper __typeMapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BatchInfo

public BatchInfo()
Constructor

Method Detail

getId

public String getId()

setId

public void setId(String id)

getJobId

public String getJobId()

setJobId

public void setJobId(String jobId)

getState

public BatchStateEnum getState()

setState

public void setState(BatchStateEnum state)

getStateMessage

public String getStateMessage()

setStateMessage

public void setStateMessage(String stateMessage)

getCreatedDate

public Calendar getCreatedDate()

setCreatedDate

public void setCreatedDate(Calendar createdDate)

getSystemModstamp

public Calendar getSystemModstamp()

setSystemModstamp

public void setSystemModstamp(Calendar systemModstamp)

getNumberRecordsProcessed

public int getNumberRecordsProcessed()

setNumberRecordsProcessed

public void setNumberRecordsProcessed(int numberRecordsProcessed)

getNumberRecordsFailed

public int getNumberRecordsFailed()

setNumberRecordsFailed

public void setNumberRecordsFailed(int numberRecordsFailed)

getTotalProcessingTime

public long getTotalProcessingTime()

setTotalProcessingTime

public void setTotalProcessingTime(long totalProcessingTime)

getApiActiveProcessingTime

public long getApiActiveProcessingTime()

setApiActiveProcessingTime

public void setApiActiveProcessingTime(long apiActiveProcessingTime)

getApexProcessingTime

public long getApexProcessingTime()

setApexProcessingTime

public void setApexProcessingTime(long apexProcessingTime)

write

public void write(QName __element,
                  XmlOutputStream __out,
                  TypeMapper __typeMapper)
           throws IOException
Description copied from interface: XMLizable
write this instace as xml.

Specified by:
write in interface XMLizable
Parameters:
__element - xml element name
__out - xml output stream
__typeMapper - type mapper to be used
Throws:
IOException - failed to write xml

writeFields

protected void writeFields(XmlOutputStream __out,
                           TypeMapper __typeMapper)
                    throws IOException
Throws:
IOException

load

public void load(XmlInputStream __in,
                 TypeMapper __typeMapper)
          throws IOException,
                 ConnectionException
Description copied from interface: XMLizable
load the fileds/children from the specified xml stream

Specified by:
load in interface XMLizable
Parameters:
__in - xml input stream from which the data is read
__typeMapper - type mapper to be used
Throws:
IOException - failed to read xml
ConnectionException - failed to read/parser/bind xml

loadFields

protected void loadFields(XmlInputStream __in,
                          TypeMapper __typeMapper)
                   throws IOException,
                          ConnectionException
Throws:
IOException
ConnectionException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.