|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sforce.soap.partner.LeadConvertResult
public class LeadConvertResult
Java class for LeadConvertResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LeadConvertResult">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="accountId" type="{urn:partner.soap.sforce.com}ID"/>
<element name="contactId" type="{urn:partner.soap.sforce.com}ID"/>
<element name="errors" type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded" minOccurs="0"/>
<element name="leadId" type="{urn:partner.soap.sforce.com}ID"/>
<element name="opportunityId" type="{urn:partner.soap.sforce.com}ID"/>
<element name="success" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
accountId
|
protected String |
contactId
|
protected List<Error> |
errors
|
protected String |
leadId
|
protected String |
opportunityId
|
protected boolean |
success
|
| Constructor Summary | |
|---|---|
LeadConvertResult()
|
|
| Method Summary | |
|---|---|
String |
getAccountId()
Gets the value of the accountId property. |
String |
getContactId()
Gets the value of the contactId property. |
List<Error> |
getErrors()
Gets the value of the errors property. |
String |
getLeadId()
Gets the value of the leadId property. |
String |
getOpportunityId()
Gets the value of the opportunityId property. |
boolean |
isSuccess()
Gets the value of the success property. |
void |
setAccountId(String value)
Sets the value of the accountId property. |
void |
setContactId(String value)
Sets the value of the contactId property. |
void |
setLeadId(String value)
Sets the value of the leadId property. |
void |
setOpportunityId(String value)
Sets the value of the opportunityId 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 |
|---|
protected String accountId
protected String contactId
protected List<Error> errors
protected String leadId
protected String opportunityId
protected boolean success
| Constructor Detail |
|---|
public LeadConvertResult()
| Method Detail |
|---|
public String getAccountId()
Stringpublic void setAccountId(String value)
value - allowed object is
Stringpublic String getContactId()
Stringpublic void setContactId(String value)
value - allowed object is
Stringpublic List<Error> getErrors()
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
public String getLeadId()
Stringpublic void setLeadId(String value)
value - allowed object is
Stringpublic String getOpportunityId()
Stringpublic void setOpportunityId(String value)
value - allowed object is
Stringpublic boolean isSuccess()
public void setSuccess(boolean value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||