Class Result
- java.lang.Object
-
- org.apache.camel.component.salesforce.api.dto.bulk.Result
-
public class Result extends Object
Java class for Result complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Result"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="errors" type="{http://www.force.com/2009/06/asyncapi/dataload}ResultError" maxOccurs="unbounded" minOccurs="0"/> <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="success" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="created" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Result()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResultError>
getErrors()
Gets the value of the errors property.String
getId()
Gets the value of the id property.boolean
isCreated()
Gets the value of the created property.boolean
isSuccess()
Gets the value of the success property.void
setCreated(boolean value)
Sets the value of the created property.void
setId(String value)
Sets the value of the id property.void
setSuccess(boolean value)
Sets the value of the success property.
-
-
-
Field Detail
-
errors
protected List<ResultError> errors
-
id
protected String id
-
success
protected boolean success
-
created
protected boolean created
-
-
Method Detail
-
getErrors
public List<ResultError> 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 aset
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 listResultError
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
isSuccess
public boolean isSuccess()
Gets the value of the success property.
-
setSuccess
public void setSuccess(boolean value)
Sets the value of the success property.
-
isCreated
public boolean isCreated()
Gets the value of the created property.
-
setCreated
public void setCreated(boolean value)
Sets the value of the created property.
-
-