482 lines
27 KiB
Java
482 lines
27 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 KnowledgeCaseSettings implements com.sforce.ws.bind.XMLizable {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Constructor
|
||
|
|
*/
|
||
|
|
public KnowledgeCaseSettings() {}
|
||
|
|
|
||
|
|
/* 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 : articlePDFCreationProfile of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean articlePDFCreationProfile__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String articlePDFCreationProfile;
|
||
|
|
|
||
|
|
public java.lang.String getArticlePDFCreationProfile() {
|
||
|
|
return articlePDFCreationProfile;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setArticlePDFCreationProfile(java.lang.String articlePDFCreationProfile) {
|
||
|
|
this.articlePDFCreationProfile = articlePDFCreationProfile;
|
||
|
|
articlePDFCreationProfile__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setArticlePDFCreationProfile(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("articlePDFCreationProfile", "http://soap.sforce.com/2006/04/metadata","articlePDFCreationProfile","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setArticlePDFCreationProfile(__typeMapper.readString(__in, _lookupTypeInfo("articlePDFCreationProfile", "http://soap.sforce.com/2006/04/metadata","articlePDFCreationProfile","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldArticlePDFCreationProfile(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("articlePDFCreationProfile", "http://soap.sforce.com/2006/04/metadata","articlePDFCreationProfile","http://www.w3.org/2001/XMLSchema","string",0,1,true), articlePDFCreationProfile, articlePDFCreationProfile__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : articlePublicSharingCommunities of type {http://soap.sforce.com/2006/04/metadata}KnowledgeCommunitiesSettings
|
||
|
|
* java type: com.sforce.soap.metadata.KnowledgeCommunitiesSettings
|
||
|
|
*/
|
||
|
|
private boolean articlePublicSharingCommunities__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.metadata.KnowledgeCommunitiesSettings articlePublicSharingCommunities;
|
||
|
|
|
||
|
|
public com.sforce.soap.metadata.KnowledgeCommunitiesSettings getArticlePublicSharingCommunities() {
|
||
|
|
return articlePublicSharingCommunities;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setArticlePublicSharingCommunities(com.sforce.soap.metadata.KnowledgeCommunitiesSettings articlePublicSharingCommunities) {
|
||
|
|
this.articlePublicSharingCommunities = articlePublicSharingCommunities;
|
||
|
|
articlePublicSharingCommunities__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setArticlePublicSharingCommunities(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("articlePublicSharingCommunities", "http://soap.sforce.com/2006/04/metadata","articlePublicSharingCommunities","http://soap.sforce.com/2006/04/metadata","KnowledgeCommunitiesSettings",0,1,true))) {
|
||
|
|
setArticlePublicSharingCommunities((com.sforce.soap.metadata.KnowledgeCommunitiesSettings)__typeMapper.readObject(__in, _lookupTypeInfo("articlePublicSharingCommunities", "http://soap.sforce.com/2006/04/metadata","articlePublicSharingCommunities","http://soap.sforce.com/2006/04/metadata","KnowledgeCommunitiesSettings",0,1,true), com.sforce.soap.metadata.KnowledgeCommunitiesSettings.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldArticlePublicSharingCommunities(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("articlePublicSharingCommunities", "http://soap.sforce.com/2006/04/metadata","articlePublicSharingCommunities","http://soap.sforce.com/2006/04/metadata","KnowledgeCommunitiesSettings",0,1,true), articlePublicSharingCommunities, articlePublicSharingCommunities__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : articlePublicSharingSites of type {http://soap.sforce.com/2006/04/metadata}KnowledgeSitesSettings
|
||
|
|
* java type: com.sforce.soap.metadata.KnowledgeSitesSettings
|
||
|
|
*/
|
||
|
|
private boolean articlePublicSharingSites__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.metadata.KnowledgeSitesSettings articlePublicSharingSites;
|
||
|
|
|
||
|
|
public com.sforce.soap.metadata.KnowledgeSitesSettings getArticlePublicSharingSites() {
|
||
|
|
return articlePublicSharingSites;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setArticlePublicSharingSites(com.sforce.soap.metadata.KnowledgeSitesSettings articlePublicSharingSites) {
|
||
|
|
this.articlePublicSharingSites = articlePublicSharingSites;
|
||
|
|
articlePublicSharingSites__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setArticlePublicSharingSites(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("articlePublicSharingSites", "http://soap.sforce.com/2006/04/metadata","articlePublicSharingSites","http://soap.sforce.com/2006/04/metadata","KnowledgeSitesSettings",0,1,true))) {
|
||
|
|
setArticlePublicSharingSites((com.sforce.soap.metadata.KnowledgeSitesSettings)__typeMapper.readObject(__in, _lookupTypeInfo("articlePublicSharingSites", "http://soap.sforce.com/2006/04/metadata","articlePublicSharingSites","http://soap.sforce.com/2006/04/metadata","KnowledgeSitesSettings",0,1,true), com.sforce.soap.metadata.KnowledgeSitesSettings.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldArticlePublicSharingSites(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("articlePublicSharingSites", "http://soap.sforce.com/2006/04/metadata","articlePublicSharingSites","http://soap.sforce.com/2006/04/metadata","KnowledgeSitesSettings",0,1,true), articlePublicSharingSites, articlePublicSharingSites__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : articlePublicSharingSitesChatterAnswers of type {http://soap.sforce.com/2006/04/metadata}KnowledgeSitesSettings
|
||
|
|
* java type: com.sforce.soap.metadata.KnowledgeSitesSettings
|
||
|
|
*/
|
||
|
|
private boolean articlePublicSharingSitesChatterAnswers__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.metadata.KnowledgeSitesSettings articlePublicSharingSitesChatterAnswers;
|
||
|
|
|
||
|
|
public com.sforce.soap.metadata.KnowledgeSitesSettings getArticlePublicSharingSitesChatterAnswers() {
|
||
|
|
return articlePublicSharingSitesChatterAnswers;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setArticlePublicSharingSitesChatterAnswers(com.sforce.soap.metadata.KnowledgeSitesSettings articlePublicSharingSitesChatterAnswers) {
|
||
|
|
this.articlePublicSharingSitesChatterAnswers = articlePublicSharingSitesChatterAnswers;
|
||
|
|
articlePublicSharingSitesChatterAnswers__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setArticlePublicSharingSitesChatterAnswers(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("articlePublicSharingSitesChatterAnswers", "http://soap.sforce.com/2006/04/metadata","articlePublicSharingSitesChatterAnswers","http://soap.sforce.com/2006/04/metadata","KnowledgeSitesSettings",0,1,true))) {
|
||
|
|
setArticlePublicSharingSitesChatterAnswers((com.sforce.soap.metadata.KnowledgeSitesSettings)__typeMapper.readObject(__in, _lookupTypeInfo("articlePublicSharingSitesChatterAnswers", "http://soap.sforce.com/2006/04/metadata","articlePublicSharingSitesChatterAnswers","http://soap.sforce.com/2006/04/metadata","KnowledgeSitesSettings",0,1,true), com.sforce.soap.metadata.KnowledgeSitesSettings.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldArticlePublicSharingSitesChatterAnswers(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("articlePublicSharingSitesChatterAnswers", "http://soap.sforce.com/2006/04/metadata","articlePublicSharingSitesChatterAnswers","http://soap.sforce.com/2006/04/metadata","KnowledgeSitesSettings",0,1,true), articlePublicSharingSitesChatterAnswers, articlePublicSharingSitesChatterAnswers__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : assignTo of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean assignTo__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String assignTo;
|
||
|
|
|
||
|
|
public java.lang.String getAssignTo() {
|
||
|
|
return assignTo;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setAssignTo(java.lang.String assignTo) {
|
||
|
|
this.assignTo = assignTo;
|
||
|
|
assignTo__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setAssignTo(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("assignTo", "http://soap.sforce.com/2006/04/metadata","assignTo","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setAssignTo(__typeMapper.readString(__in, _lookupTypeInfo("assignTo", "http://soap.sforce.com/2006/04/metadata","assignTo","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldAssignTo(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("assignTo", "http://soap.sforce.com/2006/04/metadata","assignTo","http://www.w3.org/2001/XMLSchema","string",0,1,true), assignTo, assignTo__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : customizationClass of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean customizationClass__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String customizationClass;
|
||
|
|
|
||
|
|
public java.lang.String getCustomizationClass() {
|
||
|
|
return customizationClass;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCustomizationClass(java.lang.String customizationClass) {
|
||
|
|
this.customizationClass = customizationClass;
|
||
|
|
customizationClass__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setCustomizationClass(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("customizationClass", "http://soap.sforce.com/2006/04/metadata","customizationClass","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setCustomizationClass(__typeMapper.readString(__in, _lookupTypeInfo("customizationClass", "http://soap.sforce.com/2006/04/metadata","customizationClass","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldCustomizationClass(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("customizationClass", "http://soap.sforce.com/2006/04/metadata","customizationClass","http://www.w3.org/2001/XMLSchema","string",0,1,true), customizationClass, customizationClass__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : defaultContributionArticleType of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean defaultContributionArticleType__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String defaultContributionArticleType;
|
||
|
|
|
||
|
|
public java.lang.String getDefaultContributionArticleType() {
|
||
|
|
return defaultContributionArticleType;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setDefaultContributionArticleType(java.lang.String defaultContributionArticleType) {
|
||
|
|
this.defaultContributionArticleType = defaultContributionArticleType;
|
||
|
|
defaultContributionArticleType__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setDefaultContributionArticleType(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("defaultContributionArticleType", "http://soap.sforce.com/2006/04/metadata","defaultContributionArticleType","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setDefaultContributionArticleType(__typeMapper.readString(__in, _lookupTypeInfo("defaultContributionArticleType", "http://soap.sforce.com/2006/04/metadata","defaultContributionArticleType","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldDefaultContributionArticleType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("defaultContributionArticleType", "http://soap.sforce.com/2006/04/metadata","defaultContributionArticleType","http://www.w3.org/2001/XMLSchema","string",0,1,true), defaultContributionArticleType, defaultContributionArticleType__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : editor of type {http://soap.sforce.com/2006/04/metadata}KnowledgeCaseEditor
|
||
|
|
* java type: com.sforce.soap.metadata.KnowledgeCaseEditor
|
||
|
|
*/
|
||
|
|
private boolean editor__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.metadata.KnowledgeCaseEditor editor;
|
||
|
|
|
||
|
|
public com.sforce.soap.metadata.KnowledgeCaseEditor getEditor() {
|
||
|
|
return editor;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEditor(com.sforce.soap.metadata.KnowledgeCaseEditor editor) {
|
||
|
|
this.editor = editor;
|
||
|
|
editor__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEditor(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("editor", "http://soap.sforce.com/2006/04/metadata","editor","http://soap.sforce.com/2006/04/metadata","KnowledgeCaseEditor",0,1,true))) {
|
||
|
|
setEditor((com.sforce.soap.metadata.KnowledgeCaseEditor)__typeMapper.readObject(__in, _lookupTypeInfo("editor", "http://soap.sforce.com/2006/04/metadata","editor","http://soap.sforce.com/2006/04/metadata","KnowledgeCaseEditor",0,1,true), com.sforce.soap.metadata.KnowledgeCaseEditor.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEditor(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("editor", "http://soap.sforce.com/2006/04/metadata","editor","http://soap.sforce.com/2006/04/metadata","KnowledgeCaseEditor",0,1,true), editor, editor__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : enableArticleCreation of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean enableArticleCreation__is_set = false;
|
||
|
|
|
||
|
|
private boolean enableArticleCreation;
|
||
|
|
|
||
|
|
public boolean getEnableArticleCreation() {
|
||
|
|
return enableArticleCreation;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isEnableArticleCreation() {
|
||
|
|
return enableArticleCreation;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnableArticleCreation(boolean enableArticleCreation) {
|
||
|
|
this.enableArticleCreation = enableArticleCreation;
|
||
|
|
enableArticleCreation__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEnableArticleCreation(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("enableArticleCreation", "http://soap.sforce.com/2006/04/metadata","enableArticleCreation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setEnableArticleCreation(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableArticleCreation", "http://soap.sforce.com/2006/04/metadata","enableArticleCreation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEnableArticleCreation(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableArticleCreation", "http://soap.sforce.com/2006/04/metadata","enableArticleCreation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableArticleCreation, enableArticleCreation__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : enableArticlePublicSharingSites of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean enableArticlePublicSharingSites__is_set = false;
|
||
|
|
|
||
|
|
private boolean enableArticlePublicSharingSites;
|
||
|
|
|
||
|
|
public boolean getEnableArticlePublicSharingSites() {
|
||
|
|
return enableArticlePublicSharingSites;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isEnableArticlePublicSharingSites() {
|
||
|
|
return enableArticlePublicSharingSites;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnableArticlePublicSharingSites(boolean enableArticlePublicSharingSites) {
|
||
|
|
this.enableArticlePublicSharingSites = enableArticlePublicSharingSites;
|
||
|
|
enableArticlePublicSharingSites__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEnableArticlePublicSharingSites(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("enableArticlePublicSharingSites", "http://soap.sforce.com/2006/04/metadata","enableArticlePublicSharingSites","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setEnableArticlePublicSharingSites(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableArticlePublicSharingSites", "http://soap.sforce.com/2006/04/metadata","enableArticlePublicSharingSites","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEnableArticlePublicSharingSites(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableArticlePublicSharingSites", "http://soap.sforce.com/2006/04/metadata","enableArticlePublicSharingSites","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableArticlePublicSharingSites, enableArticlePublicSharingSites__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : enableCaseDataCategoryMapping of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean enableCaseDataCategoryMapping__is_set = false;
|
||
|
|
|
||
|
|
private boolean enableCaseDataCategoryMapping;
|
||
|
|
|
||
|
|
public boolean getEnableCaseDataCategoryMapping() {
|
||
|
|
return enableCaseDataCategoryMapping;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isEnableCaseDataCategoryMapping() {
|
||
|
|
return enableCaseDataCategoryMapping;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnableCaseDataCategoryMapping(boolean enableCaseDataCategoryMapping) {
|
||
|
|
this.enableCaseDataCategoryMapping = enableCaseDataCategoryMapping;
|
||
|
|
enableCaseDataCategoryMapping__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEnableCaseDataCategoryMapping(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("enableCaseDataCategoryMapping", "http://soap.sforce.com/2006/04/metadata","enableCaseDataCategoryMapping","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setEnableCaseDataCategoryMapping(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableCaseDataCategoryMapping", "http://soap.sforce.com/2006/04/metadata","enableCaseDataCategoryMapping","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEnableCaseDataCategoryMapping(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableCaseDataCategoryMapping", "http://soap.sforce.com/2006/04/metadata","enableCaseDataCategoryMapping","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableCaseDataCategoryMapping, enableCaseDataCategoryMapping__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : useProfileForPDFCreation of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean useProfileForPDFCreation__is_set = false;
|
||
|
|
|
||
|
|
private boolean useProfileForPDFCreation;
|
||
|
|
|
||
|
|
public boolean getUseProfileForPDFCreation() {
|
||
|
|
return useProfileForPDFCreation;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isUseProfileForPDFCreation() {
|
||
|
|
return useProfileForPDFCreation;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setUseProfileForPDFCreation(boolean useProfileForPDFCreation) {
|
||
|
|
this.useProfileForPDFCreation = useProfileForPDFCreation;
|
||
|
|
useProfileForPDFCreation__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setUseProfileForPDFCreation(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("useProfileForPDFCreation", "http://soap.sforce.com/2006/04/metadata","useProfileForPDFCreation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setUseProfileForPDFCreation(__typeMapper.readBoolean(__in, _lookupTypeInfo("useProfileForPDFCreation", "http://soap.sforce.com/2006/04/metadata","useProfileForPDFCreation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldUseProfileForPDFCreation(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("useProfileForPDFCreation", "http://soap.sforce.com/2006/04/metadata","useProfileForPDFCreation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), useProfileForPDFCreation, useProfileForPDFCreation__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());
|
||
|
|
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 {
|
||
|
|
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 {
|
||
|
|
loadFields1(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String toString() {
|
||
|
|
java.lang.StringBuilder sb = new java.lang.StringBuilder();
|
||
|
|
sb.append("[KnowledgeCaseSettings ");
|
||
|
|
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 {
|
||
|
|
writeFieldArticlePDFCreationProfile(__out, __typeMapper);
|
||
|
|
writeFieldArticlePublicSharingCommunities(__out, __typeMapper);
|
||
|
|
writeFieldArticlePublicSharingSites(__out, __typeMapper);
|
||
|
|
writeFieldArticlePublicSharingSitesChatterAnswers(__out, __typeMapper);
|
||
|
|
writeFieldAssignTo(__out, __typeMapper);
|
||
|
|
writeFieldCustomizationClass(__out, __typeMapper);
|
||
|
|
writeFieldDefaultContributionArticleType(__out, __typeMapper);
|
||
|
|
writeFieldEditor(__out, __typeMapper);
|
||
|
|
writeFieldEnableArticleCreation(__out, __typeMapper);
|
||
|
|
writeFieldEnableArticlePublicSharingSites(__out, __typeMapper);
|
||
|
|
writeFieldEnableCaseDataCategoryMapping(__out, __typeMapper);
|
||
|
|
writeFieldUseProfileForPDFCreation(__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 {
|
||
|
|
setArticlePDFCreationProfile(__in, __typeMapper);
|
||
|
|
setArticlePublicSharingCommunities(__in, __typeMapper);
|
||
|
|
setArticlePublicSharingSites(__in, __typeMapper);
|
||
|
|
setArticlePublicSharingSitesChatterAnswers(__in, __typeMapper);
|
||
|
|
setAssignTo(__in, __typeMapper);
|
||
|
|
setCustomizationClass(__in, __typeMapper);
|
||
|
|
setDefaultContributionArticleType(__in, __typeMapper);
|
||
|
|
setEditor(__in, __typeMapper);
|
||
|
|
setEnableArticleCreation(__in, __typeMapper);
|
||
|
|
setEnableArticlePublicSharingSites(__in, __typeMapper);
|
||
|
|
setEnableCaseDataCategoryMapping(__in, __typeMapper);
|
||
|
|
setUseProfileForPDFCreation(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void toString1(StringBuilder sb) {
|
||
|
|
toStringHelper(sb, "articlePDFCreationProfile", articlePDFCreationProfile);
|
||
|
|
toStringHelper(sb, "articlePublicSharingCommunities", articlePublicSharingCommunities);
|
||
|
|
toStringHelper(sb, "articlePublicSharingSites", articlePublicSharingSites);
|
||
|
|
toStringHelper(sb, "articlePublicSharingSitesChatterAnswers", articlePublicSharingSitesChatterAnswers);
|
||
|
|
toStringHelper(sb, "assignTo", assignTo);
|
||
|
|
toStringHelper(sb, "customizationClass", customizationClass);
|
||
|
|
toStringHelper(sb, "defaultContributionArticleType", defaultContributionArticleType);
|
||
|
|
toStringHelper(sb, "editor", editor);
|
||
|
|
toStringHelper(sb, "enableArticleCreation", enableArticleCreation);
|
||
|
|
toStringHelper(sb, "enableArticlePublicSharingSites", enableArticlePublicSharingSites);
|
||
|
|
toStringHelper(sb, "enableCaseDataCategoryMapping", enableCaseDataCategoryMapping);
|
||
|
|
toStringHelper(sb, "useProfileForPDFCreation", useProfileForPDFCreation);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|