Package com.sforce.async
Class Result
- java.lang.Object
-
- com.sforce.async.Result
-
-
Constructor Summary
Constructors Constructor Description Result()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetCreated()Error[]getErrors()java.lang.StringgetId()booleangetSuccess()booleanisCreated()booleanisSuccess()voidload(XmlInputStream __in, TypeMapper __typeMapper)load the fileds/children from the specified xml streamprotected voidloadFields(XmlInputStream __in, TypeMapper __typeMapper)voidsetCreated(boolean created)voidsetErrors(Error[] errors)voidsetId(java.lang.String id)voidsetSuccess(boolean success)java.lang.StringtoString()voidwrite(javax.xml.namespace.QName __element, XmlOutputStream __out, TypeMapper __typeMapper)write this instace as xml.protected voidwriteFields(XmlOutputStream __out, TypeMapper __typeMapper)
-
-
-
Method Detail
-
getErrors
public Error[] getErrors()
-
setErrors
public void setErrors(Error[] errors)
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getSuccess
public boolean getSuccess()
-
isSuccess
public boolean isSuccess()
-
setSuccess
public void setSuccess(boolean success)
-
getCreated
public boolean getCreated()
-
isCreated
public boolean isCreated()
-
setCreated
public void setCreated(boolean created)
-
write
public void write(javax.xml.namespace.QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws java.io.IOExceptionDescription copied from interface:XMLizablewrite this instace as xml.
-
writeFields
protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws java.io.IOException
- Throws:
java.io.IOException
-
load
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
Description copied from interface:XMLizableload the fileds/children from the specified xml stream- Specified by:
loadin interfaceXMLizable- Parameters:
__in- xml input stream from which the data is read__typeMapper- type mapper to be used- Throws:
java.io.IOException- failed to read xmlConnectionException- failed to read/parser/bind xml
-
loadFields
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
- Throws:
java.io.IOExceptionConnectionException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-