public class SObject extends Object
Java class for sObject complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="sObject">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Id" type="{http://www.force.com/2009/06/asyncapi/dataload}ID"/>
<any processContents='lax' namespace='http://www.force.com/2009/06/asyncapi/dataload' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
any |
protected String |
id |
protected String |
type |
| Constructor and Description |
|---|
SObject() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
String |
getId()
Gets the value of the id property.
|
String |
getType()
Gets the value of the type property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setType(String value)
Sets the value of the type property.
|
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic void setId(String value)
value - allowed object is
Stringpublic List<Object> getAny()
set method for the any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
ElementApache Camel