com.sforce.soap.tooling.ApexPageMetadata Maven / Gradle / Ivy
package com.sforce.soap.tooling;
/**
* Generated by ComplexTypeCodeGenerator.java. Please do not edit.
*/
public class ApexPageMetadata implements com.sforce.ws.bind.XMLizable {
/**
* Constructor
*/
public ApexPageMetadata() {}
/**
* element : apiVersion of type {http://www.w3.org/2001/XMLSchema}double
* java type: double
*/
private static final com.sforce.ws.bind.TypeInfo apiVersion__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","apiVersion","http://www.w3.org/2001/XMLSchema","double",1,1,true);
private boolean apiVersion__is_set = false;
private double apiVersion;
public double getApiVersion() {
return apiVersion;
}
public void setApiVersion(double apiVersion) {
this.apiVersion = apiVersion;
apiVersion__is_set = true;
}
/**
* element : availableInTouch of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private static final com.sforce.ws.bind.TypeInfo availableInTouch__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","availableInTouch","http://www.w3.org/2001/XMLSchema","boolean",0,1,true);
private boolean availableInTouch__is_set = false;
private boolean availableInTouch;
public boolean getAvailableInTouch() {
return availableInTouch;
}
public boolean isAvailableInTouch() {
return availableInTouch;
}
public void setAvailableInTouch(boolean availableInTouch) {
this.availableInTouch = availableInTouch;
availableInTouch__is_set = true;
}
/**
* element : confirmationTokenRequired of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private static final com.sforce.ws.bind.TypeInfo confirmationTokenRequired__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","confirmationTokenRequired","http://www.w3.org/2001/XMLSchema","boolean",0,1,true);
private boolean confirmationTokenRequired__is_set = false;
private boolean confirmationTokenRequired;
public boolean getConfirmationTokenRequired() {
return confirmationTokenRequired;
}
public boolean isConfirmationTokenRequired() {
return confirmationTokenRequired;
}
public void setConfirmationTokenRequired(boolean confirmationTokenRequired) {
this.confirmationTokenRequired = confirmationTokenRequired;
confirmationTokenRequired__is_set = true;
}
/**
* element : description of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private static final com.sforce.ws.bind.TypeInfo description__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","description","http://www.w3.org/2001/XMLSchema","string",0,1,true);
private boolean description__is_set = false;
private java.lang.String description;
public java.lang.String getDescription() {
return description;
}
public void setDescription(java.lang.String description) {
this.description = description;
description__is_set = true;
}
/**
* element : label of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private static final com.sforce.ws.bind.TypeInfo label__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","label","http://www.w3.org/2001/XMLSchema","string",1,1,true);
private boolean label__is_set = false;
private java.lang.String label;
public java.lang.String getLabel() {
return label;
}
public void setLabel(java.lang.String label) {
this.label = label;
label__is_set = true;
}
/**
* element : packageVersions of type {urn:tooling.soap.sforce.com}PackageVersionMetadata
* java type: com.sforce.soap.tooling.PackageVersionMetadata[]
*/
private static final com.sforce.ws.bind.TypeInfo packageVersions__typeInfo =
new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","packageVersions","urn:tooling.soap.sforce.com","PackageVersionMetadata",0,-1,true);
private boolean packageVersions__is_set = false;
private com.sforce.soap.tooling.PackageVersionMetadata[] packageVersions = new com.sforce.soap.tooling.PackageVersionMetadata[0];
public com.sforce.soap.tooling.PackageVersionMetadata[] getPackageVersions() {
return packageVersions;
}
public void setPackageVersions(com.sforce.soap.tooling.PackageVersionMetadata[] packageVersions) {
this.packageVersions = packageVersions;
packageVersions__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.writeDouble(__out, apiVersion__typeInfo, apiVersion, apiVersion__is_set);
__typeMapper.writeBoolean(__out, availableInTouch__typeInfo, availableInTouch, availableInTouch__is_set);
__typeMapper.writeBoolean(__out, confirmationTokenRequired__typeInfo, confirmationTokenRequired, confirmationTokenRequired__is_set);
__typeMapper.writeString(__out, description__typeInfo, description, description__is_set);
__typeMapper.writeString(__out, label__typeInfo, label, label__is_set);
__typeMapper.writeObject(__out, packageVersions__typeInfo, packageVersions, packageVersions__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, apiVersion__typeInfo)) {
setApiVersion((double)__typeMapper.readDouble(__in, apiVersion__typeInfo, double.class));
}
__in.peekTag();
if (__typeMapper.isElement(__in, availableInTouch__typeInfo)) {
setAvailableInTouch(__typeMapper.readBoolean(__in, availableInTouch__typeInfo, boolean.class));
}
__in.peekTag();
if (__typeMapper.isElement(__in, confirmationTokenRequired__typeInfo)) {
setConfirmationTokenRequired(__typeMapper.readBoolean(__in, confirmationTokenRequired__typeInfo, boolean.class));
}
__in.peekTag();
if (__typeMapper.isElement(__in, description__typeInfo)) {
setDescription(__typeMapper.readString(__in, description__typeInfo, java.lang.String.class));
}
__in.peekTag();
if (__typeMapper.verifyElement(__in, label__typeInfo)) {
setLabel(__typeMapper.readString(__in, label__typeInfo, java.lang.String.class));
}
__in.peekTag();
if (__typeMapper.isElement(__in, packageVersions__typeInfo)) {
setPackageVersions((com.sforce.soap.tooling.PackageVersionMetadata[])__typeMapper.readObject(__in, packageVersions__typeInfo, com.sforce.soap.tooling.PackageVersionMetadata[].class));
}
}
@Override
public String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("[ApexPageMetadata ");
sb.append(" apiVersion=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(apiVersion)+"'\n");
sb.append(" availableInTouch=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(availableInTouch)+"'\n");
sb.append(" confirmationTokenRequired=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(confirmationTokenRequired)+"'\n");
sb.append(" description=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(description)+"'\n");
sb.append(" label=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(label)+"'\n");
sb.append(" packageVersions=");
sb.append("'"+com.sforce.ws.util.Verbose.toString(packageVersions)+"'\n");
sb.append("]\n");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy