com.sforce.soap.tooling.Coverage Maven / Gradle / Ivy
package com.sforce.soap.tooling;
/**
* Generated by ComplexTypeCodeGenerator.java. Please do not edit.
*/
public class Coverage implements com.sforce.ws.bind.XMLizable {
/**
* Constructor
*/
public Coverage() {}
/**
* element : coveredLines of type {http://www.w3.org/2001/XMLSchema}int
* java type: int[]
*/
private static final com.sforce.ws.bind.TypeInfo coveredLines__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","coveredLines","http://www.w3.org/2001/XMLSchema","int",0,-1,true);
private boolean coveredLines__is_set = false;
private int[] coveredLines = new int[0];
public int[] getCoveredLines() {
return coveredLines;
}
public void setCoveredLines(int[] coveredLines) {
this.coveredLines = coveredLines;
coveredLines__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;
}
/**
* element : uncoveredLines of type {http://www.w3.org/2001/XMLSchema}int
* java type: int[]
*/
private static final com.sforce.ws.bind.TypeInfo uncoveredLines__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","uncoveredLines","http://www.w3.org/2001/XMLSchema","int",0,-1,true);
private boolean uncoveredLines__is_set = false;
private int[] uncoveredLines = new int[0];
public int[] getUncoveredLines() {
return uncoveredLines;
}
public void setUncoveredLines(int[] uncoveredLines) {
this.uncoveredLines = uncoveredLines;
uncoveredLines__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, coveredLines__typeInfo, coveredLines, coveredLines__is_set);
__typeMapper.writeString(__out, namespace__typeInfo, namespace, namespace__is_set);
__typeMapper.writeObject(__out, uncoveredLines__typeInfo, uncoveredLines, uncoveredLines__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.isElement(__in, coveredLines__typeInfo)) {
setCoveredLines((int[])__typeMapper.readObject(__in, coveredLines__typeInfo, int[].class));
}
__in.peekTag();
if (__typeMapper.verifyElement(__in, namespace__typeInfo)) {
setNamespace(__typeMapper.readString(__in, namespace__typeInfo, java.lang.String.class));
}
__in.peekTag();
if (__typeMapper.isElement(__in, uncoveredLines__typeInfo)) {
setUncoveredLines((int[])__typeMapper.readObject(__in, uncoveredLines__typeInfo, int[].class));
}
}
@Override
public String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("[Coverage ");
sb.append(" coveredLines=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(coveredLines)+"'\n");
sb.append(" namespace=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(namespace)+"'\n");
sb.append(" uncoveredLines=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(uncoveredLines)+"'\n");
sb.append("]\n");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy