com.sforce.soap.partner.sobject
Class SObject

java.lang.Object
  extended by com.sforce.soap.partner.sobject.SObject

public class SObject
extends java.lang.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="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

type

protected java.lang.String type

fieldsToNull

protected java.util.List<java.lang.String> fieldsToNull

id

protected java.lang.String id

any

protected java.util.List<java.lang.Object> any
Constructor Detail

SObject

public SObject()
Method Detail

getType

public java.lang.String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(java.lang.String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getFieldsToNull

public java.util.List<java.lang.String> getFieldsToNull()
Gets the value of the fieldsToNull 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 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


getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getAny

public java.util.List<java.lang.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 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



Copyright © 2010. All Rights Reserved.