Package com.sforce.async
Class SObject
java.lang.Object
com.sforce.async.SObject
SObject
- Since:
- 160
- Author:
- mcheenath
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidvoidsetFieldReference(String name, SObject ref) voidsetMaxDepth(int maxDepth) voidwrite(XmlOutputStream out) Example: <?xml version="1.0" encoding="UTF-8"?>XYZ BLAH 123456 ParentEntityType foo@bar.com voidwrite(XmlOutputStream out, int depth)
-
Constructor Details
-
SObject
public SObject() -
SObject
public SObject(int maxDepth) Create an SObject with a customized max depth- Parameters:
maxDepth- Allows to configure the max depth of foreign key references
-
-
Method Details
-
getMaxDepth
public int getMaxDepth() -
setMaxDepth
public void setMaxDepth(int maxDepth) -
getFieldNames
-
getField
-
setField
-
setFieldReference
-
getFieldReferences
-
write
Example: <?xml version="1.0" encoding="UTF-8"?>XYZ BLAH 123456 ParentEntityType foo@bar.com - Parameters:
out-- Throws:
IOException
-
write
- Throws:
IOException
-