com.sforce.soap.metadata.Layout Maven / Gradle / Ivy
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 Layout extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public Layout() {}
/* 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 : customButtons of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean customButtons__is_set = false;
private java.lang.String[] customButtons = new java.lang.String[0];
public java.lang.String[] getCustomButtons() {
return customButtons;
}
public void setCustomButtons(java.lang.String[] customButtons) {
this.customButtons = customButtons;
customButtons__is_set = true;
}
protected void setCustomButtons(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("customButtons", "http://soap.sforce.com/2006/04/metadata","customButtons","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setCustomButtons((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("customButtons", "http://soap.sforce.com/2006/04/metadata","customButtons","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldCustomButtons(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("customButtons", "http://soap.sforce.com/2006/04/metadata","customButtons","http://www.w3.org/2001/XMLSchema","string",0,-1,true), customButtons, customButtons__is_set);
}
/**
* element : customConsoleComponents of type {http://soap.sforce.com/2006/04/metadata}CustomConsoleComponents
* java type: com.sforce.soap.metadata.CustomConsoleComponents
*/
private boolean customConsoleComponents__is_set = false;
private com.sforce.soap.metadata.CustomConsoleComponents customConsoleComponents;
public com.sforce.soap.metadata.CustomConsoleComponents getCustomConsoleComponents() {
return customConsoleComponents;
}
public void setCustomConsoleComponents(com.sforce.soap.metadata.CustomConsoleComponents customConsoleComponents) {
this.customConsoleComponents = customConsoleComponents;
customConsoleComponents__is_set = true;
}
protected void setCustomConsoleComponents(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("customConsoleComponents", "http://soap.sforce.com/2006/04/metadata","customConsoleComponents","http://soap.sforce.com/2006/04/metadata","CustomConsoleComponents",0,1,true))) {
setCustomConsoleComponents((com.sforce.soap.metadata.CustomConsoleComponents)__typeMapper.readObject(__in, _lookupTypeInfo("customConsoleComponents", "http://soap.sforce.com/2006/04/metadata","customConsoleComponents","http://soap.sforce.com/2006/04/metadata","CustomConsoleComponents",0,1,true), com.sforce.soap.metadata.CustomConsoleComponents.class));
}
}
private void writeFieldCustomConsoleComponents(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("customConsoleComponents", "http://soap.sforce.com/2006/04/metadata","customConsoleComponents","http://soap.sforce.com/2006/04/metadata","CustomConsoleComponents",0,1,true), customConsoleComponents, customConsoleComponents__is_set);
}
/**
* element : emailDefault of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean emailDefault__is_set = false;
private boolean emailDefault;
public boolean getEmailDefault() {
return emailDefault;
}
public boolean isEmailDefault() {
return emailDefault;
}
public void setEmailDefault(boolean emailDefault) {
this.emailDefault = emailDefault;
emailDefault__is_set = true;
}
protected void setEmailDefault(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("emailDefault", "http://soap.sforce.com/2006/04/metadata","emailDefault","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEmailDefault(__typeMapper.readBoolean(__in, _lookupTypeInfo("emailDefault", "http://soap.sforce.com/2006/04/metadata","emailDefault","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEmailDefault(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("emailDefault", "http://soap.sforce.com/2006/04/metadata","emailDefault","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), emailDefault, emailDefault__is_set);
}
/**
* element : excludeButtons of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean excludeButtons__is_set = false;
private java.lang.String[] excludeButtons = new java.lang.String[0];
public java.lang.String[] getExcludeButtons() {
return excludeButtons;
}
public void setExcludeButtons(java.lang.String[] excludeButtons) {
this.excludeButtons = excludeButtons;
excludeButtons__is_set = true;
}
protected void setExcludeButtons(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("excludeButtons", "http://soap.sforce.com/2006/04/metadata","excludeButtons","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setExcludeButtons((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("excludeButtons", "http://soap.sforce.com/2006/04/metadata","excludeButtons","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldExcludeButtons(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("excludeButtons", "http://soap.sforce.com/2006/04/metadata","excludeButtons","http://www.w3.org/2001/XMLSchema","string",0,-1,true), excludeButtons, excludeButtons__is_set);
}
/**
* element : feedLayout of type {http://soap.sforce.com/2006/04/metadata}FeedLayout
* java type: com.sforce.soap.metadata.FeedLayout
*/
private boolean feedLayout__is_set = false;
private com.sforce.soap.metadata.FeedLayout feedLayout;
public com.sforce.soap.metadata.FeedLayout getFeedLayout() {
return feedLayout;
}
public void setFeedLayout(com.sforce.soap.metadata.FeedLayout feedLayout) {
this.feedLayout = feedLayout;
feedLayout__is_set = true;
}
protected void setFeedLayout(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("feedLayout", "http://soap.sforce.com/2006/04/metadata","feedLayout","http://soap.sforce.com/2006/04/metadata","FeedLayout",0,1,true))) {
setFeedLayout((com.sforce.soap.metadata.FeedLayout)__typeMapper.readObject(__in, _lookupTypeInfo("feedLayout", "http://soap.sforce.com/2006/04/metadata","feedLayout","http://soap.sforce.com/2006/04/metadata","FeedLayout",0,1,true), com.sforce.soap.metadata.FeedLayout.class));
}
}
private void writeFieldFeedLayout(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("feedLayout", "http://soap.sforce.com/2006/04/metadata","feedLayout","http://soap.sforce.com/2006/04/metadata","FeedLayout",0,1,true), feedLayout, feedLayout__is_set);
}
/**
* element : headers of type {http://soap.sforce.com/2006/04/metadata}LayoutHeader
* java type: com.sforce.soap.metadata.LayoutHeader[]
*/
private boolean headers__is_set = false;
private com.sforce.soap.metadata.LayoutHeader[] headers = new com.sforce.soap.metadata.LayoutHeader[0];
public com.sforce.soap.metadata.LayoutHeader[] getHeaders() {
return headers;
}
public void setHeaders(com.sforce.soap.metadata.LayoutHeader[] headers) {
this.headers = headers;
headers__is_set = true;
}
protected void setHeaders(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("headers", "http://soap.sforce.com/2006/04/metadata","headers","http://soap.sforce.com/2006/04/metadata","LayoutHeader",0,-1,true))) {
setHeaders((com.sforce.soap.metadata.LayoutHeader[])__typeMapper.readObject(__in, _lookupTypeInfo("headers", "http://soap.sforce.com/2006/04/metadata","headers","http://soap.sforce.com/2006/04/metadata","LayoutHeader",0,-1,true), com.sforce.soap.metadata.LayoutHeader[].class));
}
}
private void writeFieldHeaders(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("headers", "http://soap.sforce.com/2006/04/metadata","headers","http://soap.sforce.com/2006/04/metadata","LayoutHeader",0,-1,true), headers, headers__is_set);
}
/**
* element : layoutSections of type {http://soap.sforce.com/2006/04/metadata}LayoutSection
* java type: com.sforce.soap.metadata.LayoutSection[]
*/
private boolean layoutSections__is_set = false;
private com.sforce.soap.metadata.LayoutSection[] layoutSections = new com.sforce.soap.metadata.LayoutSection[0];
public com.sforce.soap.metadata.LayoutSection[] getLayoutSections() {
return layoutSections;
}
public void setLayoutSections(com.sforce.soap.metadata.LayoutSection[] layoutSections) {
this.layoutSections = layoutSections;
layoutSections__is_set = true;
}
protected void setLayoutSections(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("layoutSections", "http://soap.sforce.com/2006/04/metadata","layoutSections","http://soap.sforce.com/2006/04/metadata","LayoutSection",0,-1,true))) {
setLayoutSections((com.sforce.soap.metadata.LayoutSection[])__typeMapper.readObject(__in, _lookupTypeInfo("layoutSections", "http://soap.sforce.com/2006/04/metadata","layoutSections","http://soap.sforce.com/2006/04/metadata","LayoutSection",0,-1,true), com.sforce.soap.metadata.LayoutSection[].class));
}
}
private void writeFieldLayoutSections(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("layoutSections", "http://soap.sforce.com/2006/04/metadata","layoutSections","http://soap.sforce.com/2006/04/metadata","LayoutSection",0,-1,true), layoutSections, layoutSections__is_set);
}
/**
* element : miniLayout of type {http://soap.sforce.com/2006/04/metadata}MiniLayout
* java type: com.sforce.soap.metadata.MiniLayout
*/
private boolean miniLayout__is_set = false;
private com.sforce.soap.metadata.MiniLayout miniLayout;
public com.sforce.soap.metadata.MiniLayout getMiniLayout() {
return miniLayout;
}
public void setMiniLayout(com.sforce.soap.metadata.MiniLayout miniLayout) {
this.miniLayout = miniLayout;
miniLayout__is_set = true;
}
protected void setMiniLayout(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("miniLayout", "http://soap.sforce.com/2006/04/metadata","miniLayout","http://soap.sforce.com/2006/04/metadata","MiniLayout",0,1,true))) {
setMiniLayout((com.sforce.soap.metadata.MiniLayout)__typeMapper.readObject(__in, _lookupTypeInfo("miniLayout", "http://soap.sforce.com/2006/04/metadata","miniLayout","http://soap.sforce.com/2006/04/metadata","MiniLayout",0,1,true), com.sforce.soap.metadata.MiniLayout.class));
}
}
private void writeFieldMiniLayout(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("miniLayout", "http://soap.sforce.com/2006/04/metadata","miniLayout","http://soap.sforce.com/2006/04/metadata","MiniLayout",0,1,true), miniLayout, miniLayout__is_set);
}
/**
* element : multilineLayoutFields of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean multilineLayoutFields__is_set = false;
private java.lang.String[] multilineLayoutFields = new java.lang.String[0];
public java.lang.String[] getMultilineLayoutFields() {
return multilineLayoutFields;
}
public void setMultilineLayoutFields(java.lang.String[] multilineLayoutFields) {
this.multilineLayoutFields = multilineLayoutFields;
multilineLayoutFields__is_set = true;
}
protected void setMultilineLayoutFields(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("multilineLayoutFields", "http://soap.sforce.com/2006/04/metadata","multilineLayoutFields","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setMultilineLayoutFields((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("multilineLayoutFields", "http://soap.sforce.com/2006/04/metadata","multilineLayoutFields","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldMultilineLayoutFields(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("multilineLayoutFields", "http://soap.sforce.com/2006/04/metadata","multilineLayoutFields","http://www.w3.org/2001/XMLSchema","string",0,-1,true), multilineLayoutFields, multilineLayoutFields__is_set);
}
/**
* element : platformActionList of type {http://soap.sforce.com/2006/04/metadata}PlatformActionList
* java type: com.sforce.soap.metadata.PlatformActionList
*/
private boolean platformActionList__is_set = false;
private com.sforce.soap.metadata.PlatformActionList platformActionList;
public com.sforce.soap.metadata.PlatformActionList getPlatformActionList() {
return platformActionList;
}
public void setPlatformActionList(com.sforce.soap.metadata.PlatformActionList platformActionList) {
this.platformActionList = platformActionList;
platformActionList__is_set = true;
}
protected void setPlatformActionList(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("platformActionList", "http://soap.sforce.com/2006/04/metadata","platformActionList","http://soap.sforce.com/2006/04/metadata","PlatformActionList",0,1,true))) {
setPlatformActionList((com.sforce.soap.metadata.PlatformActionList)__typeMapper.readObject(__in, _lookupTypeInfo("platformActionList", "http://soap.sforce.com/2006/04/metadata","platformActionList","http://soap.sforce.com/2006/04/metadata","PlatformActionList",0,1,true), com.sforce.soap.metadata.PlatformActionList.class));
}
}
private void writeFieldPlatformActionList(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("platformActionList", "http://soap.sforce.com/2006/04/metadata","platformActionList","http://soap.sforce.com/2006/04/metadata","PlatformActionList",0,1,true), platformActionList, platformActionList__is_set);
}
/**
* element : quickActionList of type {http://soap.sforce.com/2006/04/metadata}QuickActionList
* java type: com.sforce.soap.metadata.QuickActionList
*/
private boolean quickActionList__is_set = false;
private com.sforce.soap.metadata.QuickActionList quickActionList;
public com.sforce.soap.metadata.QuickActionList getQuickActionList() {
return quickActionList;
}
public void setQuickActionList(com.sforce.soap.metadata.QuickActionList quickActionList) {
this.quickActionList = quickActionList;
quickActionList__is_set = true;
}
protected void setQuickActionList(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("quickActionList", "http://soap.sforce.com/2006/04/metadata","quickActionList","http://soap.sforce.com/2006/04/metadata","QuickActionList",0,1,true))) {
setQuickActionList((com.sforce.soap.metadata.QuickActionList)__typeMapper.readObject(__in, _lookupTypeInfo("quickActionList", "http://soap.sforce.com/2006/04/metadata","quickActionList","http://soap.sforce.com/2006/04/metadata","QuickActionList",0,1,true), com.sforce.soap.metadata.QuickActionList.class));
}
}
private void writeFieldQuickActionList(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("quickActionList", "http://soap.sforce.com/2006/04/metadata","quickActionList","http://soap.sforce.com/2006/04/metadata","QuickActionList",0,1,true), quickActionList, quickActionList__is_set);
}
/**
* element : relatedContent of type {http://soap.sforce.com/2006/04/metadata}RelatedContent
* java type: com.sforce.soap.metadata.RelatedContent
*/
private boolean relatedContent__is_set = false;
private com.sforce.soap.metadata.RelatedContent relatedContent;
public com.sforce.soap.metadata.RelatedContent getRelatedContent() {
return relatedContent;
}
public void setRelatedContent(com.sforce.soap.metadata.RelatedContent relatedContent) {
this.relatedContent = relatedContent;
relatedContent__is_set = true;
}
protected void setRelatedContent(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("relatedContent", "http://soap.sforce.com/2006/04/metadata","relatedContent","http://soap.sforce.com/2006/04/metadata","RelatedContent",0,1,true))) {
setRelatedContent((com.sforce.soap.metadata.RelatedContent)__typeMapper.readObject(__in, _lookupTypeInfo("relatedContent", "http://soap.sforce.com/2006/04/metadata","relatedContent","http://soap.sforce.com/2006/04/metadata","RelatedContent",0,1,true), com.sforce.soap.metadata.RelatedContent.class));
}
}
private void writeFieldRelatedContent(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("relatedContent", "http://soap.sforce.com/2006/04/metadata","relatedContent","http://soap.sforce.com/2006/04/metadata","RelatedContent",0,1,true), relatedContent, relatedContent__is_set);
}
/**
* element : relatedLists of type {http://soap.sforce.com/2006/04/metadata}RelatedListItem
* java type: com.sforce.soap.metadata.RelatedListItem[]
*/
private boolean relatedLists__is_set = false;
private com.sforce.soap.metadata.RelatedListItem[] relatedLists = new com.sforce.soap.metadata.RelatedListItem[0];
public com.sforce.soap.metadata.RelatedListItem[] getRelatedLists() {
return relatedLists;
}
public void setRelatedLists(com.sforce.soap.metadata.RelatedListItem[] relatedLists) {
this.relatedLists = relatedLists;
relatedLists__is_set = true;
}
protected void setRelatedLists(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("relatedLists", "http://soap.sforce.com/2006/04/metadata","relatedLists","http://soap.sforce.com/2006/04/metadata","RelatedListItem",0,-1,true))) {
setRelatedLists((com.sforce.soap.metadata.RelatedListItem[])__typeMapper.readObject(__in, _lookupTypeInfo("relatedLists", "http://soap.sforce.com/2006/04/metadata","relatedLists","http://soap.sforce.com/2006/04/metadata","RelatedListItem",0,-1,true), com.sforce.soap.metadata.RelatedListItem[].class));
}
}
private void writeFieldRelatedLists(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("relatedLists", "http://soap.sforce.com/2006/04/metadata","relatedLists","http://soap.sforce.com/2006/04/metadata","RelatedListItem",0,-1,true), relatedLists, relatedLists__is_set);
}
/**
* element : relatedObjects of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean relatedObjects__is_set = false;
private java.lang.String[] relatedObjects = new java.lang.String[0];
public java.lang.String[] getRelatedObjects() {
return relatedObjects;
}
public void setRelatedObjects(java.lang.String[] relatedObjects) {
this.relatedObjects = relatedObjects;
relatedObjects__is_set = true;
}
protected void setRelatedObjects(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("relatedObjects", "http://soap.sforce.com/2006/04/metadata","relatedObjects","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setRelatedObjects((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("relatedObjects", "http://soap.sforce.com/2006/04/metadata","relatedObjects","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldRelatedObjects(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("relatedObjects", "http://soap.sforce.com/2006/04/metadata","relatedObjects","http://www.w3.org/2001/XMLSchema","string",0,-1,true), relatedObjects, relatedObjects__is_set);
}
/**
* element : runAssignmentRulesDefault of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean runAssignmentRulesDefault__is_set = false;
private boolean runAssignmentRulesDefault;
public boolean getRunAssignmentRulesDefault() {
return runAssignmentRulesDefault;
}
public boolean isRunAssignmentRulesDefault() {
return runAssignmentRulesDefault;
}
public void setRunAssignmentRulesDefault(boolean runAssignmentRulesDefault) {
this.runAssignmentRulesDefault = runAssignmentRulesDefault;
runAssignmentRulesDefault__is_set = true;
}
protected void setRunAssignmentRulesDefault(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("runAssignmentRulesDefault", "http://soap.sforce.com/2006/04/metadata","runAssignmentRulesDefault","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setRunAssignmentRulesDefault(__typeMapper.readBoolean(__in, _lookupTypeInfo("runAssignmentRulesDefault", "http://soap.sforce.com/2006/04/metadata","runAssignmentRulesDefault","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldRunAssignmentRulesDefault(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("runAssignmentRulesDefault", "http://soap.sforce.com/2006/04/metadata","runAssignmentRulesDefault","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), runAssignmentRulesDefault, runAssignmentRulesDefault__is_set);
}
/**
* element : showEmailCheckbox of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean showEmailCheckbox__is_set = false;
private boolean showEmailCheckbox;
public boolean getShowEmailCheckbox() {
return showEmailCheckbox;
}
public boolean isShowEmailCheckbox() {
return showEmailCheckbox;
}
public void setShowEmailCheckbox(boolean showEmailCheckbox) {
this.showEmailCheckbox = showEmailCheckbox;
showEmailCheckbox__is_set = true;
}
protected void setShowEmailCheckbox(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("showEmailCheckbox", "http://soap.sforce.com/2006/04/metadata","showEmailCheckbox","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setShowEmailCheckbox(__typeMapper.readBoolean(__in, _lookupTypeInfo("showEmailCheckbox", "http://soap.sforce.com/2006/04/metadata","showEmailCheckbox","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldShowEmailCheckbox(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("showEmailCheckbox", "http://soap.sforce.com/2006/04/metadata","showEmailCheckbox","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showEmailCheckbox, showEmailCheckbox__is_set);
}
/**
* element : showHighlightsPanel of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean showHighlightsPanel__is_set = false;
private boolean showHighlightsPanel;
public boolean getShowHighlightsPanel() {
return showHighlightsPanel;
}
public boolean isShowHighlightsPanel() {
return showHighlightsPanel;
}
public void setShowHighlightsPanel(boolean showHighlightsPanel) {
this.showHighlightsPanel = showHighlightsPanel;
showHighlightsPanel__is_set = true;
}
protected void setShowHighlightsPanel(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("showHighlightsPanel", "http://soap.sforce.com/2006/04/metadata","showHighlightsPanel","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setShowHighlightsPanel(__typeMapper.readBoolean(__in, _lookupTypeInfo("showHighlightsPanel", "http://soap.sforce.com/2006/04/metadata","showHighlightsPanel","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldShowHighlightsPanel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("showHighlightsPanel", "http://soap.sforce.com/2006/04/metadata","showHighlightsPanel","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showHighlightsPanel, showHighlightsPanel__is_set);
}
/**
* element : showInteractionLogPanel of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean showInteractionLogPanel__is_set = false;
private boolean showInteractionLogPanel;
public boolean getShowInteractionLogPanel() {
return showInteractionLogPanel;
}
public boolean isShowInteractionLogPanel() {
return showInteractionLogPanel;
}
public void setShowInteractionLogPanel(boolean showInteractionLogPanel) {
this.showInteractionLogPanel = showInteractionLogPanel;
showInteractionLogPanel__is_set = true;
}
protected void setShowInteractionLogPanel(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("showInteractionLogPanel", "http://soap.sforce.com/2006/04/metadata","showInteractionLogPanel","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setShowInteractionLogPanel(__typeMapper.readBoolean(__in, _lookupTypeInfo("showInteractionLogPanel", "http://soap.sforce.com/2006/04/metadata","showInteractionLogPanel","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldShowInteractionLogPanel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("showInteractionLogPanel", "http://soap.sforce.com/2006/04/metadata","showInteractionLogPanel","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showInteractionLogPanel, showInteractionLogPanel__is_set);
}
/**
* element : showKnowledgeComponent of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean showKnowledgeComponent__is_set = false;
private boolean showKnowledgeComponent;
public boolean getShowKnowledgeComponent() {
return showKnowledgeComponent;
}
public boolean isShowKnowledgeComponent() {
return showKnowledgeComponent;
}
public void setShowKnowledgeComponent(boolean showKnowledgeComponent) {
this.showKnowledgeComponent = showKnowledgeComponent;
showKnowledgeComponent__is_set = true;
}
protected void setShowKnowledgeComponent(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("showKnowledgeComponent", "http://soap.sforce.com/2006/04/metadata","showKnowledgeComponent","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setShowKnowledgeComponent(__typeMapper.readBoolean(__in, _lookupTypeInfo("showKnowledgeComponent", "http://soap.sforce.com/2006/04/metadata","showKnowledgeComponent","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldShowKnowledgeComponent(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("showKnowledgeComponent", "http://soap.sforce.com/2006/04/metadata","showKnowledgeComponent","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showKnowledgeComponent, showKnowledgeComponent__is_set);
}
/**
* element : showRunAssignmentRulesCheckbox of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean showRunAssignmentRulesCheckbox__is_set = false;
private boolean showRunAssignmentRulesCheckbox;
public boolean getShowRunAssignmentRulesCheckbox() {
return showRunAssignmentRulesCheckbox;
}
public boolean isShowRunAssignmentRulesCheckbox() {
return showRunAssignmentRulesCheckbox;
}
public void setShowRunAssignmentRulesCheckbox(boolean showRunAssignmentRulesCheckbox) {
this.showRunAssignmentRulesCheckbox = showRunAssignmentRulesCheckbox;
showRunAssignmentRulesCheckbox__is_set = true;
}
protected void setShowRunAssignmentRulesCheckbox(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("showRunAssignmentRulesCheckbox", "http://soap.sforce.com/2006/04/metadata","showRunAssignmentRulesCheckbox","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setShowRunAssignmentRulesCheckbox(__typeMapper.readBoolean(__in, _lookupTypeInfo("showRunAssignmentRulesCheckbox", "http://soap.sforce.com/2006/04/metadata","showRunAssignmentRulesCheckbox","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldShowRunAssignmentRulesCheckbox(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("showRunAssignmentRulesCheckbox", "http://soap.sforce.com/2006/04/metadata","showRunAssignmentRulesCheckbox","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showRunAssignmentRulesCheckbox, showRunAssignmentRulesCheckbox__is_set);
}
/**
* element : showSolutionSection of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean showSolutionSection__is_set = false;
private boolean showSolutionSection;
public boolean getShowSolutionSection() {
return showSolutionSection;
}
public boolean isShowSolutionSection() {
return showSolutionSection;
}
public void setShowSolutionSection(boolean showSolutionSection) {
this.showSolutionSection = showSolutionSection;
showSolutionSection__is_set = true;
}
protected void setShowSolutionSection(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("showSolutionSection", "http://soap.sforce.com/2006/04/metadata","showSolutionSection","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setShowSolutionSection(__typeMapper.readBoolean(__in, _lookupTypeInfo("showSolutionSection", "http://soap.sforce.com/2006/04/metadata","showSolutionSection","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldShowSolutionSection(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("showSolutionSection", "http://soap.sforce.com/2006/04/metadata","showSolutionSection","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showSolutionSection, showSolutionSection__is_set);
}
/**
* element : showSubmitAndAttachButton of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean showSubmitAndAttachButton__is_set = false;
private boolean showSubmitAndAttachButton;
public boolean getShowSubmitAndAttachButton() {
return showSubmitAndAttachButton;
}
public boolean isShowSubmitAndAttachButton() {
return showSubmitAndAttachButton;
}
public void setShowSubmitAndAttachButton(boolean showSubmitAndAttachButton) {
this.showSubmitAndAttachButton = showSubmitAndAttachButton;
showSubmitAndAttachButton__is_set = true;
}
protected void setShowSubmitAndAttachButton(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("showSubmitAndAttachButton", "http://soap.sforce.com/2006/04/metadata","showSubmitAndAttachButton","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setShowSubmitAndAttachButton(__typeMapper.readBoolean(__in, _lookupTypeInfo("showSubmitAndAttachButton", "http://soap.sforce.com/2006/04/metadata","showSubmitAndAttachButton","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldShowSubmitAndAttachButton(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("showSubmitAndAttachButton", "http://soap.sforce.com/2006/04/metadata","showSubmitAndAttachButton","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showSubmitAndAttachButton, showSubmitAndAttachButton__is_set);
}
/**
* element : summaryLayout of type {http://soap.sforce.com/2006/04/metadata}SummaryLayout
* java type: com.sforce.soap.metadata.SummaryLayout
*/
private boolean summaryLayout__is_set = false;
private com.sforce.soap.metadata.SummaryLayout summaryLayout;
public com.sforce.soap.metadata.SummaryLayout getSummaryLayout() {
return summaryLayout;
}
public void setSummaryLayout(com.sforce.soap.metadata.SummaryLayout summaryLayout) {
this.summaryLayout = summaryLayout;
summaryLayout__is_set = true;
}
protected void setSummaryLayout(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("summaryLayout", "http://soap.sforce.com/2006/04/metadata","summaryLayout","http://soap.sforce.com/2006/04/metadata","SummaryLayout",0,1,true))) {
setSummaryLayout((com.sforce.soap.metadata.SummaryLayout)__typeMapper.readObject(__in, _lookupTypeInfo("summaryLayout", "http://soap.sforce.com/2006/04/metadata","summaryLayout","http://soap.sforce.com/2006/04/metadata","SummaryLayout",0,1,true), com.sforce.soap.metadata.SummaryLayout.class));
}
}
private void writeFieldSummaryLayout(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("summaryLayout", "http://soap.sforce.com/2006/04/metadata","summaryLayout","http://soap.sforce.com/2006/04/metadata","SummaryLayout",0,1,true), summaryLayout, summaryLayout__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", "Layout");
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("[Layout ");
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 {
writeFieldCustomButtons(__out, __typeMapper);
writeFieldCustomConsoleComponents(__out, __typeMapper);
writeFieldEmailDefault(__out, __typeMapper);
writeFieldExcludeButtons(__out, __typeMapper);
writeFieldFeedLayout(__out, __typeMapper);
writeFieldHeaders(__out, __typeMapper);
writeFieldLayoutSections(__out, __typeMapper);
writeFieldMiniLayout(__out, __typeMapper);
writeFieldMultilineLayoutFields(__out, __typeMapper);
writeFieldPlatformActionList(__out, __typeMapper);
writeFieldQuickActionList(__out, __typeMapper);
writeFieldRelatedContent(__out, __typeMapper);
writeFieldRelatedLists(__out, __typeMapper);
writeFieldRelatedObjects(__out, __typeMapper);
writeFieldRunAssignmentRulesDefault(__out, __typeMapper);
writeFieldShowEmailCheckbox(__out, __typeMapper);
writeFieldShowHighlightsPanel(__out, __typeMapper);
writeFieldShowInteractionLogPanel(__out, __typeMapper);
writeFieldShowKnowledgeComponent(__out, __typeMapper);
writeFieldShowRunAssignmentRulesCheckbox(__out, __typeMapper);
writeFieldShowSolutionSection(__out, __typeMapper);
writeFieldShowSubmitAndAttachButton(__out, __typeMapper);
writeFieldSummaryLayout(__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 {
setCustomButtons(__in, __typeMapper);
setCustomConsoleComponents(__in, __typeMapper);
setEmailDefault(__in, __typeMapper);
setExcludeButtons(__in, __typeMapper);
setFeedLayout(__in, __typeMapper);
setHeaders(__in, __typeMapper);
setLayoutSections(__in, __typeMapper);
setMiniLayout(__in, __typeMapper);
setMultilineLayoutFields(__in, __typeMapper);
setPlatformActionList(__in, __typeMapper);
setQuickActionList(__in, __typeMapper);
setRelatedContent(__in, __typeMapper);
setRelatedLists(__in, __typeMapper);
setRelatedObjects(__in, __typeMapper);
setRunAssignmentRulesDefault(__in, __typeMapper);
setShowEmailCheckbox(__in, __typeMapper);
setShowHighlightsPanel(__in, __typeMapper);
setShowInteractionLogPanel(__in, __typeMapper);
setShowKnowledgeComponent(__in, __typeMapper);
setShowRunAssignmentRulesCheckbox(__in, __typeMapper);
setShowSolutionSection(__in, __typeMapper);
setShowSubmitAndAttachButton(__in, __typeMapper);
setSummaryLayout(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "customButtons", customButtons);
toStringHelper(sb, "customConsoleComponents", customConsoleComponents);
toStringHelper(sb, "emailDefault", emailDefault);
toStringHelper(sb, "excludeButtons", excludeButtons);
toStringHelper(sb, "feedLayout", feedLayout);
toStringHelper(sb, "headers", headers);
toStringHelper(sb, "layoutSections", layoutSections);
toStringHelper(sb, "miniLayout", miniLayout);
toStringHelper(sb, "multilineLayoutFields", multilineLayoutFields);
toStringHelper(sb, "platformActionList", platformActionList);
toStringHelper(sb, "quickActionList", quickActionList);
toStringHelper(sb, "relatedContent", relatedContent);
toStringHelper(sb, "relatedLists", relatedLists);
toStringHelper(sb, "relatedObjects", relatedObjects);
toStringHelper(sb, "runAssignmentRulesDefault", runAssignmentRulesDefault);
toStringHelper(sb, "showEmailCheckbox", showEmailCheckbox);
toStringHelper(sb, "showHighlightsPanel", showHighlightsPanel);
toStringHelper(sb, "showInteractionLogPanel", showInteractionLogPanel);
toStringHelper(sb, "showKnowledgeComponent", showKnowledgeComponent);
toStringHelper(sb, "showRunAssignmentRulesCheckbox", showRunAssignmentRulesCheckbox);
toStringHelper(sb, "showSolutionSection", showSolutionSection);
toStringHelper(sb, "showSubmitAndAttachButton", showSubmitAndAttachButton);
toStringHelper(sb, "summaryLayout", summaryLayout);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy