|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sforce.soap.partner.sobject.SObject
public class SObject
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="fieldsToNull" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="Id" type="{urn:partner.soap.sforce.com}ID"/> <any processContents='lax' namespace='urn:sobject.partner.soap.sforce.com' maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected List<Object> |
any
|
protected List<String> |
fieldsToNull
|
protected String |
id
|
protected String |
type
|
Constructor Summary | |
---|---|
SObject()
|
Method Summary | |
---|---|
List<Object> |
getAny()
Gets the value of the any property. |
List<String> |
getFieldsToNull()
Gets the value of the fieldsToNull 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String type
protected List<String> fieldsToNull
protected String id
protected List<Object> any
Constructor Detail |
---|
public SObject()
Method Detail |
---|
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public List<String> getFieldsToNull()
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 fieldsToNull property.
For example, to add a new item, do as follows:
getFieldsToNull().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getId()
String
public void setId(String value)
value
- allowed object is
String
public List<Object> getAny()
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 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
Element
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |