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 OmniStudioSettings extends com.sforce.soap.metadata.Metadata { /** * Constructor */ public OmniStudioSettings() {} /* Cache the typeInfo instead of declaring static fields throughout*/ private transient java.util.Map typeInfoCache = new java.util.HashMap(); 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 : disableRollbackFlagsPref of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean disableRollbackFlagsPref__is_set = false; private boolean disableRollbackFlagsPref; public boolean getDisableRollbackFlagsPref() { return disableRollbackFlagsPref; } public boolean isDisableRollbackFlagsPref() { return disableRollbackFlagsPref; } public void setDisableRollbackFlagsPref(boolean disableRollbackFlagsPref) { this.disableRollbackFlagsPref = disableRollbackFlagsPref; disableRollbackFlagsPref__is_set = true; } protected void setDisableRollbackFlagsPref(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("disableRollbackFlagsPref", "http://soap.sforce.com/2006/04/metadata","disableRollbackFlagsPref","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setDisableRollbackFlagsPref(__typeMapper.readBoolean(__in, _lookupTypeInfo("disableRollbackFlagsPref", "http://soap.sforce.com/2006/04/metadata","disableRollbackFlagsPref","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldDisableRollbackFlagsPref(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("disableRollbackFlagsPref", "http://soap.sforce.com/2006/04/metadata","disableRollbackFlagsPref","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), disableRollbackFlagsPref, disableRollbackFlagsPref__is_set); } /** * element : enableOaEventInternalWrites of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableOaEventInternalWrites__is_set = false; private boolean enableOaEventInternalWrites; public boolean getEnableOaEventInternalWrites() { return enableOaEventInternalWrites; } public boolean isEnableOaEventInternalWrites() { return enableOaEventInternalWrites; } public void setEnableOaEventInternalWrites(boolean enableOaEventInternalWrites) { this.enableOaEventInternalWrites = enableOaEventInternalWrites; enableOaEventInternalWrites__is_set = true; } protected void setEnableOaEventInternalWrites(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("enableOaEventInternalWrites", "http://soap.sforce.com/2006/04/metadata","enableOaEventInternalWrites","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableOaEventInternalWrites(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableOaEventInternalWrites", "http://soap.sforce.com/2006/04/metadata","enableOaEventInternalWrites","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableOaEventInternalWrites(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableOaEventInternalWrites", "http://soap.sforce.com/2006/04/metadata","enableOaEventInternalWrites","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableOaEventInternalWrites, enableOaEventInternalWrites__is_set); } /** * element : enableOaEventNotifications of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableOaEventNotifications__is_set = false; private boolean enableOaEventNotifications; public boolean getEnableOaEventNotifications() { return enableOaEventNotifications; } public boolean isEnableOaEventNotifications() { return enableOaEventNotifications; } public void setEnableOaEventNotifications(boolean enableOaEventNotifications) { this.enableOaEventNotifications = enableOaEventNotifications; enableOaEventNotifications__is_set = true; } protected void setEnableOaEventNotifications(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("enableOaEventNotifications", "http://soap.sforce.com/2006/04/metadata","enableOaEventNotifications","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableOaEventNotifications(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableOaEventNotifications", "http://soap.sforce.com/2006/04/metadata","enableOaEventNotifications","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableOaEventNotifications(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableOaEventNotifications", "http://soap.sforce.com/2006/04/metadata","enableOaEventNotifications","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableOaEventNotifications, enableOaEventNotifications__is_set); } /** * element : enableOaForCore of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableOaForCore__is_set = false; private boolean enableOaForCore; public boolean getEnableOaForCore() { return enableOaForCore; } public boolean isEnableOaForCore() { return enableOaForCore; } public void setEnableOaForCore(boolean enableOaForCore) { this.enableOaForCore = enableOaForCore; enableOaForCore__is_set = true; } protected void setEnableOaForCore(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("enableOaForCore", "http://soap.sforce.com/2006/04/metadata","enableOaForCore","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableOaForCore(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableOaForCore", "http://soap.sforce.com/2006/04/metadata","enableOaForCore","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableOaForCore(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableOaForCore", "http://soap.sforce.com/2006/04/metadata","enableOaForCore","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableOaForCore, enableOaForCore__is_set); } /** * element : enableOmniGlobalAutoNumberPref of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableOmniGlobalAutoNumberPref__is_set = false; private boolean enableOmniGlobalAutoNumberPref; public boolean getEnableOmniGlobalAutoNumberPref() { return enableOmniGlobalAutoNumberPref; } public boolean isEnableOmniGlobalAutoNumberPref() { return enableOmniGlobalAutoNumberPref; } public void setEnableOmniGlobalAutoNumberPref(boolean enableOmniGlobalAutoNumberPref) { this.enableOmniGlobalAutoNumberPref = enableOmniGlobalAutoNumberPref; enableOmniGlobalAutoNumberPref__is_set = true; } protected void setEnableOmniGlobalAutoNumberPref(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("enableOmniGlobalAutoNumberPref", "http://soap.sforce.com/2006/04/metadata","enableOmniGlobalAutoNumberPref","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableOmniGlobalAutoNumberPref(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableOmniGlobalAutoNumberPref", "http://soap.sforce.com/2006/04/metadata","enableOmniGlobalAutoNumberPref","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableOmniGlobalAutoNumberPref(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableOmniGlobalAutoNumberPref", "http://soap.sforce.com/2006/04/metadata","enableOmniGlobalAutoNumberPref","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableOmniGlobalAutoNumberPref, enableOmniGlobalAutoNumberPref__is_set); } /** * element : enableOmniStudioContentTest of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableOmniStudioContentTest__is_set = false; private boolean enableOmniStudioContentTest; public boolean getEnableOmniStudioContentTest() { return enableOmniStudioContentTest; } public boolean isEnableOmniStudioContentTest() { return enableOmniStudioContentTest; } public void setEnableOmniStudioContentTest(boolean enableOmniStudioContentTest) { this.enableOmniStudioContentTest = enableOmniStudioContentTest; enableOmniStudioContentTest__is_set = true; } protected void setEnableOmniStudioContentTest(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("enableOmniStudioContentTest", "http://soap.sforce.com/2006/04/metadata","enableOmniStudioContentTest","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableOmniStudioContentTest(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableOmniStudioContentTest", "http://soap.sforce.com/2006/04/metadata","enableOmniStudioContentTest","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableOmniStudioContentTest(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableOmniStudioContentTest", "http://soap.sforce.com/2006/04/metadata","enableOmniStudioContentTest","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableOmniStudioContentTest, enableOmniStudioContentTest__is_set); } /** * element : enableOmniStudioDrVersion of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableOmniStudioDrVersion__is_set = false; private boolean enableOmniStudioDrVersion; public boolean getEnableOmniStudioDrVersion() { return enableOmniStudioDrVersion; } public boolean isEnableOmniStudioDrVersion() { return enableOmniStudioDrVersion; } public void setEnableOmniStudioDrVersion(boolean enableOmniStudioDrVersion) { this.enableOmniStudioDrVersion = enableOmniStudioDrVersion; enableOmniStudioDrVersion__is_set = true; } protected void setEnableOmniStudioDrVersion(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("enableOmniStudioDrVersion", "http://soap.sforce.com/2006/04/metadata","enableOmniStudioDrVersion","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableOmniStudioDrVersion(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableOmniStudioDrVersion", "http://soap.sforce.com/2006/04/metadata","enableOmniStudioDrVersion","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableOmniStudioDrVersion(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableOmniStudioDrVersion", "http://soap.sforce.com/2006/04/metadata","enableOmniStudioDrVersion","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableOmniStudioDrVersion, enableOmniStudioDrVersion__is_set); } /** * element : enableOmniStudioMetadata of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableOmniStudioMetadata__is_set = false; private boolean enableOmniStudioMetadata; public boolean getEnableOmniStudioMetadata() { return enableOmniStudioMetadata; } public boolean isEnableOmniStudioMetadata() { return enableOmniStudioMetadata; } public void setEnableOmniStudioMetadata(boolean enableOmniStudioMetadata) { this.enableOmniStudioMetadata = enableOmniStudioMetadata; enableOmniStudioMetadata__is_set = true; } protected void setEnableOmniStudioMetadata(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("enableOmniStudioMetadata", "http://soap.sforce.com/2006/04/metadata","enableOmniStudioMetadata","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableOmniStudioMetadata(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableOmniStudioMetadata", "http://soap.sforce.com/2006/04/metadata","enableOmniStudioMetadata","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableOmniStudioMetadata(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableOmniStudioMetadata", "http://soap.sforce.com/2006/04/metadata","enableOmniStudioMetadata","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableOmniStudioMetadata, enableOmniStudioMetadata__is_set); } /** * element : enableStandardOmniStudioRuntime of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableStandardOmniStudioRuntime__is_set = false; private boolean enableStandardOmniStudioRuntime; public boolean getEnableStandardOmniStudioRuntime() { return enableStandardOmniStudioRuntime; } public boolean isEnableStandardOmniStudioRuntime() { return enableStandardOmniStudioRuntime; } public void setEnableStandardOmniStudioRuntime(boolean enableStandardOmniStudioRuntime) { this.enableStandardOmniStudioRuntime = enableStandardOmniStudioRuntime; enableStandardOmniStudioRuntime__is_set = true; } protected void setEnableStandardOmniStudioRuntime(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("enableStandardOmniStudioRuntime", "http://soap.sforce.com/2006/04/metadata","enableStandardOmniStudioRuntime","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableStandardOmniStudioRuntime(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableStandardOmniStudioRuntime", "http://soap.sforce.com/2006/04/metadata","enableStandardOmniStudioRuntime","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableStandardOmniStudioRuntime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableStandardOmniStudioRuntime", "http://soap.sforce.com/2006/04/metadata","enableStandardOmniStudioRuntime","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableStandardOmniStudioRuntime, enableStandardOmniStudioRuntime__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", "OmniStudioSettings"); 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("[OmniStudioSettings "); 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 { writeFieldDisableRollbackFlagsPref(__out, __typeMapper); writeFieldEnableOaEventInternalWrites(__out, __typeMapper); writeFieldEnableOaEventNotifications(__out, __typeMapper); writeFieldEnableOaForCore(__out, __typeMapper); writeFieldEnableOmniGlobalAutoNumberPref(__out, __typeMapper); writeFieldEnableOmniStudioContentTest(__out, __typeMapper); writeFieldEnableOmniStudioDrVersion(__out, __typeMapper); writeFieldEnableOmniStudioMetadata(__out, __typeMapper); writeFieldEnableStandardOmniStudioRuntime(__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 { setDisableRollbackFlagsPref(__in, __typeMapper); setEnableOaEventInternalWrites(__in, __typeMapper); setEnableOaEventNotifications(__in, __typeMapper); setEnableOaForCore(__in, __typeMapper); setEnableOmniGlobalAutoNumberPref(__in, __typeMapper); setEnableOmniStudioContentTest(__in, __typeMapper); setEnableOmniStudioDrVersion(__in, __typeMapper); setEnableOmniStudioMetadata(__in, __typeMapper); setEnableStandardOmniStudioRuntime(__in, __typeMapper); } private void toString1(StringBuilder sb) { toStringHelper(sb, "disableRollbackFlagsPref", disableRollbackFlagsPref); toStringHelper(sb, "enableOaEventInternalWrites", enableOaEventInternalWrites); toStringHelper(sb, "enableOaEventNotifications", enableOaEventNotifications); toStringHelper(sb, "enableOaForCore", enableOaForCore); toStringHelper(sb, "enableOmniGlobalAutoNumberPref", enableOmniGlobalAutoNumberPref); toStringHelper(sb, "enableOmniStudioContentTest", enableOmniStudioContentTest); toStringHelper(sb, "enableOmniStudioDrVersion", enableOmniStudioDrVersion); toStringHelper(sb, "enableOmniStudioMetadata", enableOmniStudioMetadata); toStringHelper(sb, "enableStandardOmniStudioRuntime", enableStandardOmniStudioRuntime); } }