com.sforce.soap.partner
Class MergeRequest

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

public class MergeRequest
extends java.lang.Object

Java class for MergeRequest complex type.

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

 <complexType name="MergeRequest">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="masterRecord" type="{urn:sobject.partner.soap.sforce.com}sObject"/>
         <element name="recordToMergeIds" type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  SObject masterRecord
           
protected  java.util.List<java.lang.String> recordToMergeIds
           
 
Constructor Summary
MergeRequest()
           
 
Method Summary
 SObject getMasterRecord()
          Gets the value of the masterRecord property.
 java.util.List<java.lang.String> getRecordToMergeIds()
          Gets the value of the recordToMergeIds property.
 void setMasterRecord(SObject value)
          Sets the value of the masterRecord property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

masterRecord

protected SObject masterRecord

recordToMergeIds

protected java.util.List<java.lang.String> recordToMergeIds
Constructor Detail

MergeRequest

public MergeRequest()
Method Detail

getMasterRecord

public SObject getMasterRecord()
Gets the value of the masterRecord property.

Returns:
possible object is SObject

setMasterRecord

public void setMasterRecord(SObject value)
Sets the value of the masterRecord property.

Parameters:
value - allowed object is SObject

getRecordToMergeIds

public java.util.List<java.lang.String> getRecordToMergeIds()
Gets the value of the recordToMergeIds 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 recordToMergeIds property.

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

    getRecordToMergeIds().add(newItem);
 

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



Copyright © 2010. All Rights Reserved.