338 lines
18 KiB
Java
338 lines
18 KiB
Java
package com.sforce.soap.metadata;
|
|
|
|
/**
|
|
* This is a generated class for the SObject Enterprise API.
|
|
* Do not edit this file, as your changes will be lost.
|
|
*/
|
|
public class OrgSettings extends com.sforce.soap.metadata.Metadata {
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public OrgSettings() {}
|
|
|
|
/* 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 : enableCustomerSuccessPortal of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableCustomerSuccessPortal__is_set = false;
|
|
|
|
private boolean enableCustomerSuccessPortal;
|
|
|
|
public boolean getEnableCustomerSuccessPortal() {
|
|
return enableCustomerSuccessPortal;
|
|
}
|
|
|
|
public boolean isEnableCustomerSuccessPortal() {
|
|
return enableCustomerSuccessPortal;
|
|
}
|
|
|
|
public void setEnableCustomerSuccessPortal(boolean enableCustomerSuccessPortal) {
|
|
this.enableCustomerSuccessPortal = enableCustomerSuccessPortal;
|
|
enableCustomerSuccessPortal__is_set = true;
|
|
}
|
|
|
|
protected void setEnableCustomerSuccessPortal(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("enableCustomerSuccessPortal", "http://soap.sforce.com/2006/04/metadata","enableCustomerSuccessPortal","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableCustomerSuccessPortal(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableCustomerSuccessPortal", "http://soap.sforce.com/2006/04/metadata","enableCustomerSuccessPortal","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableCustomerSuccessPortal(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableCustomerSuccessPortal", "http://soap.sforce.com/2006/04/metadata","enableCustomerSuccessPortal","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableCustomerSuccessPortal, enableCustomerSuccessPortal__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableIncludeContractStatus of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableIncludeContractStatus__is_set = false;
|
|
|
|
private boolean enableIncludeContractStatus;
|
|
|
|
public boolean getEnableIncludeContractStatus() {
|
|
return enableIncludeContractStatus;
|
|
}
|
|
|
|
public boolean isEnableIncludeContractStatus() {
|
|
return enableIncludeContractStatus;
|
|
}
|
|
|
|
public void setEnableIncludeContractStatus(boolean enableIncludeContractStatus) {
|
|
this.enableIncludeContractStatus = enableIncludeContractStatus;
|
|
enableIncludeContractStatus__is_set = true;
|
|
}
|
|
|
|
protected void setEnableIncludeContractStatus(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("enableIncludeContractStatus", "http://soap.sforce.com/2006/04/metadata","enableIncludeContractStatus","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableIncludeContractStatus(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableIncludeContractStatus", "http://soap.sforce.com/2006/04/metadata","enableIncludeContractStatus","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableIncludeContractStatus(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableIncludeContractStatus", "http://soap.sforce.com/2006/04/metadata","enableIncludeContractStatus","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableIncludeContractStatus, enableIncludeContractStatus__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableMakeDeploymentsMandatory of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableMakeDeploymentsMandatory__is_set = false;
|
|
|
|
private boolean enableMakeDeploymentsMandatory;
|
|
|
|
public boolean getEnableMakeDeploymentsMandatory() {
|
|
return enableMakeDeploymentsMandatory;
|
|
}
|
|
|
|
public boolean isEnableMakeDeploymentsMandatory() {
|
|
return enableMakeDeploymentsMandatory;
|
|
}
|
|
|
|
public void setEnableMakeDeploymentsMandatory(boolean enableMakeDeploymentsMandatory) {
|
|
this.enableMakeDeploymentsMandatory = enableMakeDeploymentsMandatory;
|
|
enableMakeDeploymentsMandatory__is_set = true;
|
|
}
|
|
|
|
protected void setEnableMakeDeploymentsMandatory(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("enableMakeDeploymentsMandatory", "http://soap.sforce.com/2006/04/metadata","enableMakeDeploymentsMandatory","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableMakeDeploymentsMandatory(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableMakeDeploymentsMandatory", "http://soap.sforce.com/2006/04/metadata","enableMakeDeploymentsMandatory","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableMakeDeploymentsMandatory(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableMakeDeploymentsMandatory", "http://soap.sforce.com/2006/04/metadata","enableMakeDeploymentsMandatory","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableMakeDeploymentsMandatory, enableMakeDeploymentsMandatory__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableManageSelfServiceUsers of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableManageSelfServiceUsers__is_set = false;
|
|
|
|
private boolean enableManageSelfServiceUsers;
|
|
|
|
public boolean getEnableManageSelfServiceUsers() {
|
|
return enableManageSelfServiceUsers;
|
|
}
|
|
|
|
public boolean isEnableManageSelfServiceUsers() {
|
|
return enableManageSelfServiceUsers;
|
|
}
|
|
|
|
public void setEnableManageSelfServiceUsers(boolean enableManageSelfServiceUsers) {
|
|
this.enableManageSelfServiceUsers = enableManageSelfServiceUsers;
|
|
enableManageSelfServiceUsers__is_set = true;
|
|
}
|
|
|
|
protected void setEnableManageSelfServiceUsers(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("enableManageSelfServiceUsers", "http://soap.sforce.com/2006/04/metadata","enableManageSelfServiceUsers","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableManageSelfServiceUsers(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableManageSelfServiceUsers", "http://soap.sforce.com/2006/04/metadata","enableManageSelfServiceUsers","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableManageSelfServiceUsers(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableManageSelfServiceUsers", "http://soap.sforce.com/2006/04/metadata","enableManageSelfServiceUsers","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableManageSelfServiceUsers, enableManageSelfServiceUsers__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableOrgFeedSentimentAnalysis of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableOrgFeedSentimentAnalysis__is_set = false;
|
|
|
|
private boolean enableOrgFeedSentimentAnalysis;
|
|
|
|
public boolean getEnableOrgFeedSentimentAnalysis() {
|
|
return enableOrgFeedSentimentAnalysis;
|
|
}
|
|
|
|
public boolean isEnableOrgFeedSentimentAnalysis() {
|
|
return enableOrgFeedSentimentAnalysis;
|
|
}
|
|
|
|
public void setEnableOrgFeedSentimentAnalysis(boolean enableOrgFeedSentimentAnalysis) {
|
|
this.enableOrgFeedSentimentAnalysis = enableOrgFeedSentimentAnalysis;
|
|
enableOrgFeedSentimentAnalysis__is_set = true;
|
|
}
|
|
|
|
protected void setEnableOrgFeedSentimentAnalysis(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("enableOrgFeedSentimentAnalysis", "http://soap.sforce.com/2006/04/metadata","enableOrgFeedSentimentAnalysis","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableOrgFeedSentimentAnalysis(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableOrgFeedSentimentAnalysis", "http://soap.sforce.com/2006/04/metadata","enableOrgFeedSentimentAnalysis","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableOrgFeedSentimentAnalysis(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableOrgFeedSentimentAnalysis", "http://soap.sforce.com/2006/04/metadata","enableOrgFeedSentimentAnalysis","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableOrgFeedSentimentAnalysis, enableOrgFeedSentimentAnalysis__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableRADeploymentAttributeOnly of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableRADeploymentAttributeOnly__is_set = false;
|
|
|
|
private boolean enableRADeploymentAttributeOnly;
|
|
|
|
public boolean getEnableRADeploymentAttributeOnly() {
|
|
return enableRADeploymentAttributeOnly;
|
|
}
|
|
|
|
public boolean isEnableRADeploymentAttributeOnly() {
|
|
return enableRADeploymentAttributeOnly;
|
|
}
|
|
|
|
public void setEnableRADeploymentAttributeOnly(boolean enableRADeploymentAttributeOnly) {
|
|
this.enableRADeploymentAttributeOnly = enableRADeploymentAttributeOnly;
|
|
enableRADeploymentAttributeOnly__is_set = true;
|
|
}
|
|
|
|
protected void setEnableRADeploymentAttributeOnly(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("enableRADeploymentAttributeOnly", "http://soap.sforce.com/2006/04/metadata","enableRADeploymentAttributeOnly","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableRADeploymentAttributeOnly(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableRADeploymentAttributeOnly", "http://soap.sforce.com/2006/04/metadata","enableRADeploymentAttributeOnly","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableRADeploymentAttributeOnly(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableRADeploymentAttributeOnly", "http://soap.sforce.com/2006/04/metadata","enableRADeploymentAttributeOnly","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableRADeploymentAttributeOnly, enableRADeploymentAttributeOnly__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableResetDivisionOnLogin of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableResetDivisionOnLogin__is_set = false;
|
|
|
|
private boolean enableResetDivisionOnLogin;
|
|
|
|
public boolean getEnableResetDivisionOnLogin() {
|
|
return enableResetDivisionOnLogin;
|
|
}
|
|
|
|
public boolean isEnableResetDivisionOnLogin() {
|
|
return enableResetDivisionOnLogin;
|
|
}
|
|
|
|
public void setEnableResetDivisionOnLogin(boolean enableResetDivisionOnLogin) {
|
|
this.enableResetDivisionOnLogin = enableResetDivisionOnLogin;
|
|
enableResetDivisionOnLogin__is_set = true;
|
|
}
|
|
|
|
protected void setEnableResetDivisionOnLogin(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("enableResetDivisionOnLogin", "http://soap.sforce.com/2006/04/metadata","enableResetDivisionOnLogin","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableResetDivisionOnLogin(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableResetDivisionOnLogin", "http://soap.sforce.com/2006/04/metadata","enableResetDivisionOnLogin","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableResetDivisionOnLogin(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableResetDivisionOnLogin", "http://soap.sforce.com/2006/04/metadata","enableResetDivisionOnLogin","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableResetDivisionOnLogin, enableResetDivisionOnLogin__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, "http://soap.sforce.com/2006/04/metadata", "OrgSettings");
|
|
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("[OrgSettings ");
|
|
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 {
|
|
writeFieldEnableCustomerSuccessPortal(__out, __typeMapper);
|
|
writeFieldEnableIncludeContractStatus(__out, __typeMapper);
|
|
writeFieldEnableMakeDeploymentsMandatory(__out, __typeMapper);
|
|
writeFieldEnableManageSelfServiceUsers(__out, __typeMapper);
|
|
writeFieldEnableOrgFeedSentimentAnalysis(__out, __typeMapper);
|
|
writeFieldEnableRADeploymentAttributeOnly(__out, __typeMapper);
|
|
writeFieldEnableResetDivisionOnLogin(__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 {
|
|
setEnableCustomerSuccessPortal(__in, __typeMapper);
|
|
setEnableIncludeContractStatus(__in, __typeMapper);
|
|
setEnableMakeDeploymentsMandatory(__in, __typeMapper);
|
|
setEnableManageSelfServiceUsers(__in, __typeMapper);
|
|
setEnableOrgFeedSentimentAnalysis(__in, __typeMapper);
|
|
setEnableRADeploymentAttributeOnly(__in, __typeMapper);
|
|
setEnableResetDivisionOnLogin(__in, __typeMapper);
|
|
}
|
|
|
|
private void toString1(StringBuilder sb) {
|
|
toStringHelper(sb, "enableCustomerSuccessPortal", enableCustomerSuccessPortal);
|
|
toStringHelper(sb, "enableIncludeContractStatus", enableIncludeContractStatus);
|
|
toStringHelper(sb, "enableMakeDeploymentsMandatory", enableMakeDeploymentsMandatory);
|
|
toStringHelper(sb, "enableManageSelfServiceUsers", enableManageSelfServiceUsers);
|
|
toStringHelper(sb, "enableOrgFeedSentimentAnalysis", enableOrgFeedSentimentAnalysis);
|
|
toStringHelper(sb, "enableRADeploymentAttributeOnly", enableRADeploymentAttributeOnly);
|
|
toStringHelper(sb, "enableResetDivisionOnLogin", enableResetDivisionOnLogin);
|
|
}
|
|
|
|
|
|
}
|