|
||||||||||
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 java.util.List<java.lang.Object> |
any
|
protected java.util.List<java.lang.String> |
fieldsToNull
|
protected java.lang.String |
id
|
protected java.lang.String |
type
|
Constructor Summary | |
---|---|
SObject()
|
Method Summary | |
---|---|
java.util.List<java.lang.Object> |
getAny()
Gets the value of the any property. |
java.util.List<java.lang.String> |
getFieldsToNull()
Gets the value of the fieldsToNull property. |
java.lang.String |
getId()
Gets the value of the id property. |
java.lang.String |
getType()
Gets the value of the type property. |
void |
setId(java.lang.String value)
Sets the value of the id property. |
void |
setType(java.lang.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 java.lang.String type
protected java.util.List<java.lang.String> fieldsToNull
protected java.lang.String id
protected java.util.List<java.lang.Object> any
Constructor Detail |
---|
public SObject()
Method Detail |
---|
public java.lang.String getType()
String
public void setType(java.lang.String value)
value
- allowed object is
String
public java.util.List<java.lang.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 java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String
public java.util.List<java.lang.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 |