com.sforce.soap.partner
Class MergeResult

java.lang.Object
  extended by com.sforce.soap.partner.MergeResult

public class MergeResult
extends Object

Java class for MergeResult complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="MergeResult">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="errors" type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded" minOccurs="0"/>
         <element name="id" type="{urn:partner.soap.sforce.com}ID"/>
         <element name="mergedRecordIds" type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded" minOccurs="0"/>
         <element name="success" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="updatedRelatedIds" type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Error> errors
           
protected  String id
           
protected  List<String> mergedRecordIds
           
protected  boolean success
           
protected  List<String> updatedRelatedIds
           
 
Constructor Summary
MergeResult()
           
 
Method Summary
 List<Error> getErrors()
          Gets the value of the errors property.
 String getId()
          Gets the value of the id property.
 List<String> getMergedRecordIds()
          Gets the value of the mergedRecordIds property.
 List<String> getUpdatedRelatedIds()
          Gets the value of the updatedRelatedIds property.
 boolean isSuccess()
          Gets the value of the success property.
 void setId(String value)
          Sets the value of the id property.
 void setSuccess(boolean value)
          Sets the value of the success property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errors

protected List<Error> errors

id

protected String id

mergedRecordIds

protected List<String> mergedRecordIds

success

protected boolean success

updatedRelatedIds

protected List<String> updatedRelatedIds
Constructor Detail

MergeResult

public MergeResult()
Method Detail

getErrors

public List<Error> getErrors()
Gets the value of the errors property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the errors property.

For example, to add a new item, do as follows:

    getErrors().add(newItem);
 

Objects of the following type(s) are allowed in the list Error


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getMergedRecordIds

public List<String> getMergedRecordIds()
Gets the value of the mergedRecordIds property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the mergedRecordIds property.

For example, to add a new item, do as follows:

    getMergedRecordIds().add(newItem);
 

Objects of the following type(s) are allowed in the list String


isSuccess

public boolean isSuccess()
Gets the value of the success property.


setSuccess

public void setSuccess(boolean value)
Sets the value of the success property.


getUpdatedRelatedIds

public List<String> getUpdatedRelatedIds()
Gets the value of the updatedRelatedIds property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the updatedRelatedIds property.

For example, to add a new item, do as follows:

    getUpdatedRelatedIds().add(newItem);
 

Objects of the following type(s) are allowed in the list String



Copyright © 2012. All Rights Reserved.