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>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
created |
protected List<ResultError> |
errors |
protected String |
id |
protected boolean |
success |
| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and 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.
|
protected List<ResultError> errors
protected String id
protected boolean success
protected boolean created
public List<ResultError> getErrors()
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
ResultErrorpublic void setId(String value)
value - allowed object is
Stringpublic boolean isSuccess()
public void setSuccess(boolean value)
public boolean isCreated()
public void setCreated(boolean value)
Apache Camel