410 lines
21 KiB
Java
410 lines
21 KiB
Java
|
|
package com.sforce.soap.tooling.metadata;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* This is a generated class for the SObject Enterprise API.
|
||
|
|
* Do not edit this file, as your changes will be lost.
|
||
|
|
*/
|
||
|
|
public class AccountSettings extends com.sforce.soap.tooling.metadata.MetadataForSettings {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Constructor
|
||
|
|
*/
|
||
|
|
public AccountSettings() {}
|
||
|
|
|
||
|
|
/* Cache the typeInfo instead of declaring static fields throughout*/
|
||
|
|
private transient java.util.Map<String, com.sforce.ws.bind.TypeInfo> typeInfoCache = new java.util.HashMap<String, com.sforce.ws.bind.TypeInfo>();
|
||
|
|
private com.sforce.ws.bind.TypeInfo _lookupTypeInfo(String fieldName, String namespace, String name, String typeNS, String type, int minOcc, int maxOcc, boolean elementForm) {
|
||
|
|
com.sforce.ws.bind.TypeInfo typeInfo = typeInfoCache.get(fieldName);
|
||
|
|
if (typeInfo == null) {
|
||
|
|
typeInfo = new com.sforce.ws.bind.TypeInfo(namespace, name, typeNS, type, minOcc, maxOcc, elementForm);
|
||
|
|
typeInfoCache.put(fieldName, typeInfo);
|
||
|
|
}
|
||
|
|
return typeInfo;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : enableAccountDiscovery of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean enableAccountDiscovery__is_set = false;
|
||
|
|
|
||
|
|
private boolean enableAccountDiscovery;
|
||
|
|
|
||
|
|
public boolean getEnableAccountDiscovery() {
|
||
|
|
return enableAccountDiscovery;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isEnableAccountDiscovery() {
|
||
|
|
return enableAccountDiscovery;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnableAccountDiscovery(boolean enableAccountDiscovery) {
|
||
|
|
this.enableAccountDiscovery = enableAccountDiscovery;
|
||
|
|
enableAccountDiscovery__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEnableAccountDiscovery(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, _lookupTypeInfo("enableAccountDiscovery", "urn:metadata.tooling.soap.sforce.com","enableAccountDiscovery","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setEnableAccountDiscovery(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAccountDiscovery", "urn:metadata.tooling.soap.sforce.com","enableAccountDiscovery","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEnableAccountDiscovery(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableAccountDiscovery", "urn:metadata.tooling.soap.sforce.com","enableAccountDiscovery","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAccountDiscovery, enableAccountDiscovery__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : enableAccountHistoryTracking of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean enableAccountHistoryTracking__is_set = false;
|
||
|
|
|
||
|
|
private boolean enableAccountHistoryTracking;
|
||
|
|
|
||
|
|
public boolean getEnableAccountHistoryTracking() {
|
||
|
|
return enableAccountHistoryTracking;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isEnableAccountHistoryTracking() {
|
||
|
|
return enableAccountHistoryTracking;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnableAccountHistoryTracking(boolean enableAccountHistoryTracking) {
|
||
|
|
this.enableAccountHistoryTracking = enableAccountHistoryTracking;
|
||
|
|
enableAccountHistoryTracking__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEnableAccountHistoryTracking(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, _lookupTypeInfo("enableAccountHistoryTracking", "urn:metadata.tooling.soap.sforce.com","enableAccountHistoryTracking","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setEnableAccountHistoryTracking(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAccountHistoryTracking", "urn:metadata.tooling.soap.sforce.com","enableAccountHistoryTracking","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEnableAccountHistoryTracking(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableAccountHistoryTracking", "urn:metadata.tooling.soap.sforce.com","enableAccountHistoryTracking","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAccountHistoryTracking, enableAccountHistoryTracking__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : enableAccountInsightsInMobile of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean enableAccountInsightsInMobile__is_set = false;
|
||
|
|
|
||
|
|
private boolean enableAccountInsightsInMobile;
|
||
|
|
|
||
|
|
public boolean getEnableAccountInsightsInMobile() {
|
||
|
|
return enableAccountInsightsInMobile;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isEnableAccountInsightsInMobile() {
|
||
|
|
return enableAccountInsightsInMobile;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnableAccountInsightsInMobile(boolean enableAccountInsightsInMobile) {
|
||
|
|
this.enableAccountInsightsInMobile = enableAccountInsightsInMobile;
|
||
|
|
enableAccountInsightsInMobile__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEnableAccountInsightsInMobile(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, _lookupTypeInfo("enableAccountInsightsInMobile", "urn:metadata.tooling.soap.sforce.com","enableAccountInsightsInMobile","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setEnableAccountInsightsInMobile(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAccountInsightsInMobile", "urn:metadata.tooling.soap.sforce.com","enableAccountInsightsInMobile","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEnableAccountInsightsInMobile(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableAccountInsightsInMobile", "urn:metadata.tooling.soap.sforce.com","enableAccountInsightsInMobile","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAccountInsightsInMobile, enableAccountInsightsInMobile__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : enableAccountOwnerReport of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean enableAccountOwnerReport__is_set = false;
|
||
|
|
|
||
|
|
private boolean enableAccountOwnerReport;
|
||
|
|
|
||
|
|
public boolean getEnableAccountOwnerReport() {
|
||
|
|
return enableAccountOwnerReport;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isEnableAccountOwnerReport() {
|
||
|
|
return enableAccountOwnerReport;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnableAccountOwnerReport(boolean enableAccountOwnerReport) {
|
||
|
|
this.enableAccountOwnerReport = enableAccountOwnerReport;
|
||
|
|
enableAccountOwnerReport__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEnableAccountOwnerReport(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, _lookupTypeInfo("enableAccountOwnerReport", "urn:metadata.tooling.soap.sforce.com","enableAccountOwnerReport","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setEnableAccountOwnerReport(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAccountOwnerReport", "urn:metadata.tooling.soap.sforce.com","enableAccountOwnerReport","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEnableAccountOwnerReport(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableAccountOwnerReport", "urn:metadata.tooling.soap.sforce.com","enableAccountOwnerReport","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAccountOwnerReport, enableAccountOwnerReport__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : enableAccountTeams of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean enableAccountTeams__is_set = false;
|
||
|
|
|
||
|
|
private boolean enableAccountTeams;
|
||
|
|
|
||
|
|
public boolean getEnableAccountTeams() {
|
||
|
|
return enableAccountTeams;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isEnableAccountTeams() {
|
||
|
|
return enableAccountTeams;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnableAccountTeams(boolean enableAccountTeams) {
|
||
|
|
this.enableAccountTeams = enableAccountTeams;
|
||
|
|
enableAccountTeams__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEnableAccountTeams(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, _lookupTypeInfo("enableAccountTeams", "urn:metadata.tooling.soap.sforce.com","enableAccountTeams","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setEnableAccountTeams(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAccountTeams", "urn:metadata.tooling.soap.sforce.com","enableAccountTeams","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEnableAccountTeams(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableAccountTeams", "urn:metadata.tooling.soap.sforce.com","enableAccountTeams","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAccountTeams, enableAccountTeams__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : enableContactHistoryTracking of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean enableContactHistoryTracking__is_set = false;
|
||
|
|
|
||
|
|
private boolean enableContactHistoryTracking;
|
||
|
|
|
||
|
|
public boolean getEnableContactHistoryTracking() {
|
||
|
|
return enableContactHistoryTracking;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isEnableContactHistoryTracking() {
|
||
|
|
return enableContactHistoryTracking;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnableContactHistoryTracking(boolean enableContactHistoryTracking) {
|
||
|
|
this.enableContactHistoryTracking = enableContactHistoryTracking;
|
||
|
|
enableContactHistoryTracking__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEnableContactHistoryTracking(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, _lookupTypeInfo("enableContactHistoryTracking", "urn:metadata.tooling.soap.sforce.com","enableContactHistoryTracking","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setEnableContactHistoryTracking(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableContactHistoryTracking", "urn:metadata.tooling.soap.sforce.com","enableContactHistoryTracking","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEnableContactHistoryTracking(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableContactHistoryTracking", "urn:metadata.tooling.soap.sforce.com","enableContactHistoryTracking","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableContactHistoryTracking, enableContactHistoryTracking__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : enableRelateContactToMultipleAccounts of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean enableRelateContactToMultipleAccounts__is_set = false;
|
||
|
|
|
||
|
|
private boolean enableRelateContactToMultipleAccounts;
|
||
|
|
|
||
|
|
public boolean getEnableRelateContactToMultipleAccounts() {
|
||
|
|
return enableRelateContactToMultipleAccounts;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isEnableRelateContactToMultipleAccounts() {
|
||
|
|
return enableRelateContactToMultipleAccounts;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnableRelateContactToMultipleAccounts(boolean enableRelateContactToMultipleAccounts) {
|
||
|
|
this.enableRelateContactToMultipleAccounts = enableRelateContactToMultipleAccounts;
|
||
|
|
enableRelateContactToMultipleAccounts__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEnableRelateContactToMultipleAccounts(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, _lookupTypeInfo("enableRelateContactToMultipleAccounts", "urn:metadata.tooling.soap.sforce.com","enableRelateContactToMultipleAccounts","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setEnableRelateContactToMultipleAccounts(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableRelateContactToMultipleAccounts", "urn:metadata.tooling.soap.sforce.com","enableRelateContactToMultipleAccounts","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEnableRelateContactToMultipleAccounts(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableRelateContactToMultipleAccounts", "urn:metadata.tooling.soap.sforce.com","enableRelateContactToMultipleAccounts","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableRelateContactToMultipleAccounts, enableRelateContactToMultipleAccounts__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : enableReportsToOnPersonAccount of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean enableReportsToOnPersonAccount__is_set = false;
|
||
|
|
|
||
|
|
private boolean enableReportsToOnPersonAccount;
|
||
|
|
|
||
|
|
public boolean getEnableReportsToOnPersonAccount() {
|
||
|
|
return enableReportsToOnPersonAccount;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isEnableReportsToOnPersonAccount() {
|
||
|
|
return enableReportsToOnPersonAccount;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnableReportsToOnPersonAccount(boolean enableReportsToOnPersonAccount) {
|
||
|
|
this.enableReportsToOnPersonAccount = enableReportsToOnPersonAccount;
|
||
|
|
enableReportsToOnPersonAccount__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEnableReportsToOnPersonAccount(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, _lookupTypeInfo("enableReportsToOnPersonAccount", "urn:metadata.tooling.soap.sforce.com","enableReportsToOnPersonAccount","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setEnableReportsToOnPersonAccount(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableReportsToOnPersonAccount", "urn:metadata.tooling.soap.sforce.com","enableReportsToOnPersonAccount","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEnableReportsToOnPersonAccount(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableReportsToOnPersonAccount", "urn:metadata.tooling.soap.sforce.com","enableReportsToOnPersonAccount","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableReportsToOnPersonAccount, enableReportsToOnPersonAccount__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : showViewHierarchyLink of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean showViewHierarchyLink__is_set = false;
|
||
|
|
|
||
|
|
private boolean showViewHierarchyLink;
|
||
|
|
|
||
|
|
public boolean getShowViewHierarchyLink() {
|
||
|
|
return showViewHierarchyLink;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isShowViewHierarchyLink() {
|
||
|
|
return showViewHierarchyLink;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setShowViewHierarchyLink(boolean showViewHierarchyLink) {
|
||
|
|
this.showViewHierarchyLink = showViewHierarchyLink;
|
||
|
|
showViewHierarchyLink__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setShowViewHierarchyLink(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, _lookupTypeInfo("showViewHierarchyLink", "urn:metadata.tooling.soap.sforce.com","showViewHierarchyLink","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setShowViewHierarchyLink(__typeMapper.readBoolean(__in, _lookupTypeInfo("showViewHierarchyLink", "urn:metadata.tooling.soap.sforce.com","showViewHierarchyLink","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldShowViewHierarchyLink(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("showViewHierarchyLink", "urn:metadata.tooling.soap.sforce.com","showViewHierarchyLink","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showViewHierarchyLink, showViewHierarchyLink__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
*/
|
||
|
|
@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());
|
||
|
|
__typeMapper.writeXsiType(__out, "urn:metadata.tooling.soap.sforce.com", "AccountSettings");
|
||
|
|
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 {
|
||
|
|
super.writeFields(__out, __typeMapper);
|
||
|
|
writeFields1(__out, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
@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 {
|
||
|
|
super.loadFields(__in, __typeMapper);
|
||
|
|
loadFields1(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String toString() {
|
||
|
|
java.lang.StringBuilder sb = new java.lang.StringBuilder();
|
||
|
|
sb.append("[AccountSettings ");
|
||
|
|
sb.append(super.toString());
|
||
|
|
toString1(sb);
|
||
|
|
|
||
|
|
sb.append("]\n");
|
||
|
|
return sb.toString();
|
||
|
|
}
|
||
|
|
|
||
|
|
private void toStringHelper(StringBuilder sb, String name, Object value) {
|
||
|
|
sb.append(' ').append(name).append("='").append(com.sforce.ws.util.Verbose.toString(value)).append("'\n");
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFields1(com.sforce.ws.parser.XmlOutputStream __out,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
writeFieldEnableAccountDiscovery(__out, __typeMapper);
|
||
|
|
writeFieldEnableAccountHistoryTracking(__out, __typeMapper);
|
||
|
|
writeFieldEnableAccountInsightsInMobile(__out, __typeMapper);
|
||
|
|
writeFieldEnableAccountOwnerReport(__out, __typeMapper);
|
||
|
|
writeFieldEnableAccountTeams(__out, __typeMapper);
|
||
|
|
writeFieldEnableContactHistoryTracking(__out, __typeMapper);
|
||
|
|
writeFieldEnableRelateContactToMultipleAccounts(__out, __typeMapper);
|
||
|
|
writeFieldEnableReportsToOnPersonAccount(__out, __typeMapper);
|
||
|
|
writeFieldShowViewHierarchyLink(__out, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void loadFields1(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
setEnableAccountDiscovery(__in, __typeMapper);
|
||
|
|
setEnableAccountHistoryTracking(__in, __typeMapper);
|
||
|
|
setEnableAccountInsightsInMobile(__in, __typeMapper);
|
||
|
|
setEnableAccountOwnerReport(__in, __typeMapper);
|
||
|
|
setEnableAccountTeams(__in, __typeMapper);
|
||
|
|
setEnableContactHistoryTracking(__in, __typeMapper);
|
||
|
|
setEnableRelateContactToMultipleAccounts(__in, __typeMapper);
|
||
|
|
setEnableReportsToOnPersonAccount(__in, __typeMapper);
|
||
|
|
setShowViewHierarchyLink(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void toString1(StringBuilder sb) {
|
||
|
|
toStringHelper(sb, "enableAccountDiscovery", enableAccountDiscovery);
|
||
|
|
toStringHelper(sb, "enableAccountHistoryTracking", enableAccountHistoryTracking);
|
||
|
|
toStringHelper(sb, "enableAccountInsightsInMobile", enableAccountInsightsInMobile);
|
||
|
|
toStringHelper(sb, "enableAccountOwnerReport", enableAccountOwnerReport);
|
||
|
|
toStringHelper(sb, "enableAccountTeams", enableAccountTeams);
|
||
|
|
toStringHelper(sb, "enableContactHistoryTracking", enableContactHistoryTracking);
|
||
|
|
toStringHelper(sb, "enableRelateContactToMultipleAccounts", enableRelateContactToMultipleAccounts);
|
||
|
|
toStringHelper(sb, "enableReportsToOnPersonAccount", enableReportsToOnPersonAccount);
|
||
|
|
toStringHelper(sb, "showViewHierarchyLink", showViewHierarchyLink);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|