com.sforce.async
Class Result
java.lang.Object
com.sforce.async.Result
- All Implemented Interfaces:
- XMLizable
public class Result
- extends java.lang.Object
- implements XMLizable
- Since:
- 164
- Author:
- mcheenath,vmehra
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Result
public Result()
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.IOException
- Description copied from interface:
XMLizable
- write this instace as xml.
- Specified by:
write in interface XMLizable
- Parameters:
__element - xml element name__out - xml output stream__typeMapper - type mapper to be used
- Throws:
java.io.IOException - failed to write 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:
XMLizable
- load the fileds/children from the specified xml stream
- Specified by:
load in interface XMLizable
- Parameters:
__in - xml input stream from which the data is read__typeMapper - type mapper to be used
- Throws:
java.io.IOException - failed to read xml
ConnectionException - failed to read/parser/bind xml
loadFields
protected void loadFields(XmlInputStream __in,
TypeMapper __typeMapper)
throws java.io.IOException,
ConnectionException
- Throws:
java.io.IOException
ConnectionException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011. All Rights Reserved.