Class BatchInfo

  • All Implemented Interfaces:
    XMLizable

    public class BatchInfo
    extends java.lang.Object
    implements XMLizable
    Async Api BatchInfo
    • Constructor Detail

      • BatchInfo

        public BatchInfo()
        Constructor
    • Method Detail

      • getId

        public java.lang.String getId()
      • setId

        public void setId​(java.lang.String id)
      • getJobId

        public java.lang.String getJobId()
      • setJobId

        public void setJobId​(java.lang.String jobId)
      • getStateMessage

        public java.lang.String getStateMessage()
      • setStateMessage

        public void setStateMessage​(java.lang.String stateMessage)
      • getCreatedDate

        public java.util.Calendar getCreatedDate()
      • setCreatedDate

        public void setCreatedDate​(java.util.Calendar createdDate)
      • getSystemModstamp

        public java.util.Calendar getSystemModstamp()
      • setSystemModstamp

        public void setSystemModstamp​(java.util.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​(javax.xml.namespace.QName __element,
                          XmlOutputStream __out,
                          TypeMapper __typeMapper)
                   throws java.io.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:
        java.io.IOException - failed to write xml
      • writeFields

        protected void writeFields​(XmlOutputStream __out,
                                   TypeMapper __typeMapper)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • load

        public void load​(XmlInputStream __in,
                         TypeMapper __typeMapper)
                  throws java.io.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:
        java.io.IOException - failed to read xml
        ConnectionException - failed to read/parser/bind xml
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object