com.sforce.soap.tooling.HeapDump Maven / Gradle / Ivy
package com.sforce.soap.tooling;
/**
* Generated by ComplexTypeCodeGenerator.java. Please do not edit.
*/
public class HeapDump implements com.sforce.ws.bind.XMLizable {
/**
* Constructor
*/
public HeapDump() {}
/**
* element : className of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private static final com.sforce.ws.bind.TypeInfo className__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","className","http://www.w3.org/2001/XMLSchema","string",1,1,true);
private boolean className__is_set = false;
private java.lang.String className;
public java.lang.String getClassName() {
return className;
}
public void setClassName(java.lang.String className) {
this.className = className;
className__is_set = true;
}
/**
* element : extents of type {urn:tooling.soap.sforce.com}TypeExtent
* java type: com.sforce.soap.tooling.TypeExtent[]
*/
private static final com.sforce.ws.bind.TypeInfo extents__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","extents","urn:tooling.soap.sforce.com","TypeExtent",0,-1,true);
private boolean extents__is_set = false;
private com.sforce.soap.tooling.TypeExtent[] extents = new com.sforce.soap.tooling.TypeExtent[0];
public com.sforce.soap.tooling.TypeExtent[] getExtents() {
return extents;
}
public void setExtents(com.sforce.soap.tooling.TypeExtent[] extents) {
this.extents = extents;
extents__is_set = true;
}
/**
* element : heapDumpDate of type {http://www.w3.org/2001/XMLSchema}dateTime
* java type: java.util.Calendar
*/
private static final com.sforce.ws.bind.TypeInfo heapDumpDate__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","heapDumpDate","http://www.w3.org/2001/XMLSchema","dateTime",1,1,true);
private boolean heapDumpDate__is_set = false;
private java.util.Calendar heapDumpDate;
public java.util.Calendar getHeapDumpDate() {
return heapDumpDate;
}
public void setHeapDumpDate(java.util.Calendar heapDumpDate) {
this.heapDumpDate = heapDumpDate;
heapDumpDate__is_set = true;
}
/**
* element : namespace of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private static final com.sforce.ws.bind.TypeInfo namespace__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","namespace","http://www.w3.org/2001/XMLSchema","string",1,1,true);
private boolean namespace__is_set = false;
private java.lang.String namespace;
public java.lang.String getNamespace() {
return namespace;
}
public void setNamespace(java.lang.String namespace) {
this.namespace = namespace;
namespace__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, className__typeInfo, className, className__is_set);
__typeMapper.writeObject(__out, extents__typeInfo, extents, extents__is_set);
__typeMapper.writeObject(__out, heapDumpDate__typeInfo, heapDumpDate, heapDumpDate__is_set);
__typeMapper.writeString(__out, namespace__typeInfo, namespace, namespace__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, className__typeInfo)) {
setClassName(__typeMapper.readString(__in, className__typeInfo, java.lang.String.class));
}
__in.peekTag();
if (__typeMapper.isElement(__in, extents__typeInfo)) {
setExtents((com.sforce.soap.tooling.TypeExtent[])__typeMapper.readObject(__in, extents__typeInfo, com.sforce.soap.tooling.TypeExtent[].class));
}
__in.peekTag();
if (__typeMapper.verifyElement(__in, heapDumpDate__typeInfo)) {
setHeapDumpDate((java.util.Calendar)__typeMapper.readObject(__in, heapDumpDate__typeInfo, java.util.Calendar.class));
}
__in.peekTag();
if (__typeMapper.verifyElement(__in, namespace__typeInfo)) {
setNamespace(__typeMapper.readString(__in, namespace__typeInfo, java.lang.String.class));
}
}
@Override
public String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("[HeapDump ");
sb.append(" className=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(className)+"'\n");
sb.append(" extents=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(extents)+"'\n");
sb.append(" heapDumpDate=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(heapDumpDate)+"'\n");
sb.append(" namespace=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(namespace)+"'\n");
sb.append("]\n");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy