com.sforce.soap.tooling.ExternalSymbol Maven / Gradle / Ivy
package com.sforce.soap.tooling;
/**
* Generated by ComplexTypeCodeGenerator.java. Please do not edit.
*/
public class ExternalSymbol implements com.sforce.ws.bind.XMLizable {
/**
* Constructor
*/
public ExternalSymbol() {}
/**
* element : name of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private static final com.sforce.ws.bind.TypeInfo name__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","name","http://www.w3.org/2001/XMLSchema","string",1,1,true);
private boolean name__is_set = false;
private java.lang.String name;
public java.lang.String getName() {
return name;
}
public void setName(java.lang.String name) {
this.name = name;
name__is_set = true;
}
/**
* element : references of type {urn:tooling.soap.sforce.com}Position
* java type: com.sforce.soap.tooling.Position[]
*/
private static final com.sforce.ws.bind.TypeInfo references__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","references","urn:tooling.soap.sforce.com","Position",0,-1,true);
private boolean references__is_set = false;
private com.sforce.soap.tooling.Position[] references = new com.sforce.soap.tooling.Position[0];
public com.sforce.soap.tooling.Position[] getReferences() {
return references;
}
public void setReferences(com.sforce.soap.tooling.Position[] references) {
this.references = references;
references__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.writeString(__out, name__typeInfo, name, name__is_set);
__typeMapper.writeObject(__out, references__typeInfo, references, references__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, name__typeInfo)) {
setName(__typeMapper.readString(__in, name__typeInfo, java.lang.String.class));
}
__in.peekTag();
if (__typeMapper.isElement(__in, references__typeInfo)) {
setReferences((com.sforce.soap.tooling.Position[])__typeMapper.readObject(__in, references__typeInfo, com.sforce.soap.tooling.Position[].class));
}
}
@Override
public String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("[ExternalSymbol ");
sb.append(" name=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(name)+"'\n");
sb.append(" references=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(references)+"'\n");
sb.append("]\n");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy