Class SObject
- java.lang.Object
-
- org.apache.camel.component.salesforce.api.dto.bulk.SObject
-
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>
-
-
Constructor Summary
Constructors Constructor Description SObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value
- allowed object isString
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getAny
public List<Object> getAny()
Gets the value of the any 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 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 listObject
Element
-
-