com.sforce.soap.tooling.DescribeSObjectResponse_element Maven / Gradle / Ivy
package com.sforce.soap.tooling;
/**
* Generated by ComplexTypeCodeGenerator.java. Please do not edit.
*/
public class DescribeSObjectResponse_element implements com.sforce.ws.bind.XMLizable {
/**
* Constructor
*/
public DescribeSObjectResponse_element() {}
/**
* element : result of type {urn:tooling.soap.sforce.com}DescribeSObjectResult
* java type: com.sforce.soap.tooling.DescribeSObjectResult
*/
private static final com.sforce.ws.bind.TypeInfo result__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","result","urn:tooling.soap.sforce.com","DescribeSObjectResult",1,1,true);
private boolean result__is_set = false;
private com.sforce.soap.tooling.DescribeSObjectResult result;
public com.sforce.soap.tooling.DescribeSObjectResult getResult() {
return result;
}
public void setResult(com.sforce.soap.tooling.DescribeSObjectResult result) {
this.result = result;
result__is_set = true;
}
/**
*/
@Override
public void write(javax.xml.namespace.QName __element,
com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
throws java.io.IOException {
__out.writeStartTag(__element.getNamespaceURI(), __element.getLocalPart());
writeFields(__out, __typeMapper);
__out.writeEndTag(__element.getNamespaceURI(), __element.getLocalPart());
}
protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out,
com.sforce.ws.bind.TypeMapper __typeMapper)
throws java.io.IOException {
__typeMapper.writeObject(__out, result__typeInfo, result, result__is_set);
}
@Override
public void load(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__typeMapper.consumeStartTag(__in);
loadFields(__in, __typeMapper);
__typeMapper.consumeEndTag(__in);
}
protected void loadFields(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, result__typeInfo)) {
setResult((com.sforce.soap.tooling.DescribeSObjectResult)__typeMapper.readObject(__in, result__typeInfo, com.sforce.soap.tooling.DescribeSObjectResult.class));
}
}
@Override
public String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("[DescribeSObjectResponse_element ");
sb.append(" result=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(result)+"'\n");
sb.append("]\n");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy