com.sforce.soap.metadata.ChatterSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of force-metadata-api Show documentation
Show all versions of force-metadata-api Show documentation
Force.com Web Service Connector
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 ChatterSettings extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public ChatterSettings() {}
/* 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 : allowChatterGroupArchiving of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean allowChatterGroupArchiving__is_set = false;
private boolean allowChatterGroupArchiving;
public boolean getAllowChatterGroupArchiving() {
return allowChatterGroupArchiving;
}
public boolean isAllowChatterGroupArchiving() {
return allowChatterGroupArchiving;
}
public void setAllowChatterGroupArchiving(boolean allowChatterGroupArchiving) {
this.allowChatterGroupArchiving = allowChatterGroupArchiving;
allowChatterGroupArchiving__is_set = true;
}
protected void setAllowChatterGroupArchiving(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("allowChatterGroupArchiving", "http://soap.sforce.com/2006/04/metadata","allowChatterGroupArchiving","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setAllowChatterGroupArchiving(__typeMapper.readBoolean(__in, _lookupTypeInfo("allowChatterGroupArchiving", "http://soap.sforce.com/2006/04/metadata","allowChatterGroupArchiving","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldAllowChatterGroupArchiving(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("allowChatterGroupArchiving", "http://soap.sforce.com/2006/04/metadata","allowChatterGroupArchiving","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), allowChatterGroupArchiving, allowChatterGroupArchiving__is_set);
}
/**
* element : allowRecordsInChatterGroup of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean allowRecordsInChatterGroup__is_set = false;
private boolean allowRecordsInChatterGroup;
public boolean getAllowRecordsInChatterGroup() {
return allowRecordsInChatterGroup;
}
public boolean isAllowRecordsInChatterGroup() {
return allowRecordsInChatterGroup;
}
public void setAllowRecordsInChatterGroup(boolean allowRecordsInChatterGroup) {
this.allowRecordsInChatterGroup = allowRecordsInChatterGroup;
allowRecordsInChatterGroup__is_set = true;
}
protected void setAllowRecordsInChatterGroup(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("allowRecordsInChatterGroup", "http://soap.sforce.com/2006/04/metadata","allowRecordsInChatterGroup","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setAllowRecordsInChatterGroup(__typeMapper.readBoolean(__in, _lookupTypeInfo("allowRecordsInChatterGroup", "http://soap.sforce.com/2006/04/metadata","allowRecordsInChatterGroup","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldAllowRecordsInChatterGroup(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("allowRecordsInChatterGroup", "http://soap.sforce.com/2006/04/metadata","allowRecordsInChatterGroup","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), allowRecordsInChatterGroup, allowRecordsInChatterGroup__is_set);
}
/**
* element : enableApprovalRequest of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableApprovalRequest__is_set = false;
private boolean enableApprovalRequest;
public boolean getEnableApprovalRequest() {
return enableApprovalRequest;
}
public boolean isEnableApprovalRequest() {
return enableApprovalRequest;
}
public void setEnableApprovalRequest(boolean enableApprovalRequest) {
this.enableApprovalRequest = enableApprovalRequest;
enableApprovalRequest__is_set = true;
}
protected void setEnableApprovalRequest(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("enableApprovalRequest", "http://soap.sforce.com/2006/04/metadata","enableApprovalRequest","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableApprovalRequest(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableApprovalRequest", "http://soap.sforce.com/2006/04/metadata","enableApprovalRequest","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableApprovalRequest(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableApprovalRequest", "http://soap.sforce.com/2006/04/metadata","enableApprovalRequest","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableApprovalRequest, enableApprovalRequest__is_set);
}
/**
* element : enableCaseFeedRelativeTimestamps of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableCaseFeedRelativeTimestamps__is_set = false;
private boolean enableCaseFeedRelativeTimestamps;
public boolean getEnableCaseFeedRelativeTimestamps() {
return enableCaseFeedRelativeTimestamps;
}
public boolean isEnableCaseFeedRelativeTimestamps() {
return enableCaseFeedRelativeTimestamps;
}
public void setEnableCaseFeedRelativeTimestamps(boolean enableCaseFeedRelativeTimestamps) {
this.enableCaseFeedRelativeTimestamps = enableCaseFeedRelativeTimestamps;
enableCaseFeedRelativeTimestamps__is_set = true;
}
protected void setEnableCaseFeedRelativeTimestamps(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("enableCaseFeedRelativeTimestamps", "http://soap.sforce.com/2006/04/metadata","enableCaseFeedRelativeTimestamps","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableCaseFeedRelativeTimestamps(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableCaseFeedRelativeTimestamps", "http://soap.sforce.com/2006/04/metadata","enableCaseFeedRelativeTimestamps","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableCaseFeedRelativeTimestamps(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableCaseFeedRelativeTimestamps", "http://soap.sforce.com/2006/04/metadata","enableCaseFeedRelativeTimestamps","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableCaseFeedRelativeTimestamps, enableCaseFeedRelativeTimestamps__is_set);
}
/**
* element : enableChatter of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableChatter__is_set = false;
private boolean enableChatter;
public boolean getEnableChatter() {
return enableChatter;
}
public boolean isEnableChatter() {
return enableChatter;
}
public void setEnableChatter(boolean enableChatter) {
this.enableChatter = enableChatter;
enableChatter__is_set = true;
}
protected void setEnableChatter(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("enableChatter", "http://soap.sforce.com/2006/04/metadata","enableChatter","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableChatter(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableChatter", "http://soap.sforce.com/2006/04/metadata","enableChatter","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableChatter(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableChatter", "http://soap.sforce.com/2006/04/metadata","enableChatter","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableChatter, enableChatter__is_set);
}
/**
* element : enableChatterEmoticons of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableChatterEmoticons__is_set = false;
private boolean enableChatterEmoticons;
public boolean getEnableChatterEmoticons() {
return enableChatterEmoticons;
}
public boolean isEnableChatterEmoticons() {
return enableChatterEmoticons;
}
public void setEnableChatterEmoticons(boolean enableChatterEmoticons) {
this.enableChatterEmoticons = enableChatterEmoticons;
enableChatterEmoticons__is_set = true;
}
protected void setEnableChatterEmoticons(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("enableChatterEmoticons", "http://soap.sforce.com/2006/04/metadata","enableChatterEmoticons","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableChatterEmoticons(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableChatterEmoticons", "http://soap.sforce.com/2006/04/metadata","enableChatterEmoticons","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableChatterEmoticons(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableChatterEmoticons", "http://soap.sforce.com/2006/04/metadata","enableChatterEmoticons","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableChatterEmoticons, enableChatterEmoticons__is_set);
}
/**
* element : enableFeedEdit of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableFeedEdit__is_set = false;
private boolean enableFeedEdit;
public boolean getEnableFeedEdit() {
return enableFeedEdit;
}
public boolean isEnableFeedEdit() {
return enableFeedEdit;
}
public void setEnableFeedEdit(boolean enableFeedEdit) {
this.enableFeedEdit = enableFeedEdit;
enableFeedEdit__is_set = true;
}
protected void setEnableFeedEdit(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("enableFeedEdit", "http://soap.sforce.com/2006/04/metadata","enableFeedEdit","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableFeedEdit(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableFeedEdit", "http://soap.sforce.com/2006/04/metadata","enableFeedEdit","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableFeedEdit(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableFeedEdit", "http://soap.sforce.com/2006/04/metadata","enableFeedEdit","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableFeedEdit, enableFeedEdit__is_set);
}
/**
* element : enableFeedPinning of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableFeedPinning__is_set = false;
private boolean enableFeedPinning;
public boolean getEnableFeedPinning() {
return enableFeedPinning;
}
public boolean isEnableFeedPinning() {
return enableFeedPinning;
}
public void setEnableFeedPinning(boolean enableFeedPinning) {
this.enableFeedPinning = enableFeedPinning;
enableFeedPinning__is_set = true;
}
protected void setEnableFeedPinning(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("enableFeedPinning", "http://soap.sforce.com/2006/04/metadata","enableFeedPinning","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableFeedPinning(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableFeedPinning", "http://soap.sforce.com/2006/04/metadata","enableFeedPinning","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableFeedPinning(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableFeedPinning", "http://soap.sforce.com/2006/04/metadata","enableFeedPinning","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableFeedPinning, enableFeedPinning__is_set);
}
/**
* element : enableFeedsDraftPosts of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableFeedsDraftPosts__is_set = false;
private boolean enableFeedsDraftPosts;
public boolean getEnableFeedsDraftPosts() {
return enableFeedsDraftPosts;
}
public boolean isEnableFeedsDraftPosts() {
return enableFeedsDraftPosts;
}
public void setEnableFeedsDraftPosts(boolean enableFeedsDraftPosts) {
this.enableFeedsDraftPosts = enableFeedsDraftPosts;
enableFeedsDraftPosts__is_set = true;
}
protected void setEnableFeedsDraftPosts(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("enableFeedsDraftPosts", "http://soap.sforce.com/2006/04/metadata","enableFeedsDraftPosts","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableFeedsDraftPosts(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableFeedsDraftPosts", "http://soap.sforce.com/2006/04/metadata","enableFeedsDraftPosts","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableFeedsDraftPosts(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableFeedsDraftPosts", "http://soap.sforce.com/2006/04/metadata","enableFeedsDraftPosts","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableFeedsDraftPosts, enableFeedsDraftPosts__is_set);
}
/**
* element : enableFeedsRichText of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableFeedsRichText__is_set = false;
private boolean enableFeedsRichText;
public boolean getEnableFeedsRichText() {
return enableFeedsRichText;
}
public boolean isEnableFeedsRichText() {
return enableFeedsRichText;
}
public void setEnableFeedsRichText(boolean enableFeedsRichText) {
this.enableFeedsRichText = enableFeedsRichText;
enableFeedsRichText__is_set = true;
}
protected void setEnableFeedsRichText(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("enableFeedsRichText", "http://soap.sforce.com/2006/04/metadata","enableFeedsRichText","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableFeedsRichText(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableFeedsRichText", "http://soap.sforce.com/2006/04/metadata","enableFeedsRichText","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableFeedsRichText(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableFeedsRichText", "http://soap.sforce.com/2006/04/metadata","enableFeedsRichText","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableFeedsRichText, enableFeedsRichText__is_set);
}
/**
* element : enableInviteCsnUsers of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableInviteCsnUsers__is_set = false;
private boolean enableInviteCsnUsers;
public boolean getEnableInviteCsnUsers() {
return enableInviteCsnUsers;
}
public boolean isEnableInviteCsnUsers() {
return enableInviteCsnUsers;
}
public void setEnableInviteCsnUsers(boolean enableInviteCsnUsers) {
this.enableInviteCsnUsers = enableInviteCsnUsers;
enableInviteCsnUsers__is_set = true;
}
protected void setEnableInviteCsnUsers(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("enableInviteCsnUsers", "http://soap.sforce.com/2006/04/metadata","enableInviteCsnUsers","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableInviteCsnUsers(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableInviteCsnUsers", "http://soap.sforce.com/2006/04/metadata","enableInviteCsnUsers","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableInviteCsnUsers(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableInviteCsnUsers", "http://soap.sforce.com/2006/04/metadata","enableInviteCsnUsers","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableInviteCsnUsers, enableInviteCsnUsers__is_set);
}
/**
* element : enableOutOfOfficeEnabledPref of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableOutOfOfficeEnabledPref__is_set = false;
private boolean enableOutOfOfficeEnabledPref;
public boolean getEnableOutOfOfficeEnabledPref() {
return enableOutOfOfficeEnabledPref;
}
public boolean isEnableOutOfOfficeEnabledPref() {
return enableOutOfOfficeEnabledPref;
}
public void setEnableOutOfOfficeEnabledPref(boolean enableOutOfOfficeEnabledPref) {
this.enableOutOfOfficeEnabledPref = enableOutOfOfficeEnabledPref;
enableOutOfOfficeEnabledPref__is_set = true;
}
protected void setEnableOutOfOfficeEnabledPref(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("enableOutOfOfficeEnabledPref", "http://soap.sforce.com/2006/04/metadata","enableOutOfOfficeEnabledPref","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableOutOfOfficeEnabledPref(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableOutOfOfficeEnabledPref", "http://soap.sforce.com/2006/04/metadata","enableOutOfOfficeEnabledPref","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableOutOfOfficeEnabledPref(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableOutOfOfficeEnabledPref", "http://soap.sforce.com/2006/04/metadata","enableOutOfOfficeEnabledPref","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableOutOfOfficeEnabledPref, enableOutOfOfficeEnabledPref__is_set);
}
/**
* element : enableRichLinkPreviewsInFeed of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableRichLinkPreviewsInFeed__is_set = false;
private boolean enableRichLinkPreviewsInFeed;
public boolean getEnableRichLinkPreviewsInFeed() {
return enableRichLinkPreviewsInFeed;
}
public boolean isEnableRichLinkPreviewsInFeed() {
return enableRichLinkPreviewsInFeed;
}
public void setEnableRichLinkPreviewsInFeed(boolean enableRichLinkPreviewsInFeed) {
this.enableRichLinkPreviewsInFeed = enableRichLinkPreviewsInFeed;
enableRichLinkPreviewsInFeed__is_set = true;
}
protected void setEnableRichLinkPreviewsInFeed(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("enableRichLinkPreviewsInFeed", "http://soap.sforce.com/2006/04/metadata","enableRichLinkPreviewsInFeed","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableRichLinkPreviewsInFeed(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableRichLinkPreviewsInFeed", "http://soap.sforce.com/2006/04/metadata","enableRichLinkPreviewsInFeed","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableRichLinkPreviewsInFeed(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableRichLinkPreviewsInFeed", "http://soap.sforce.com/2006/04/metadata","enableRichLinkPreviewsInFeed","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableRichLinkPreviewsInFeed, enableRichLinkPreviewsInFeed__is_set);
}
/**
* element : enableTodayRecsInFeed of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableTodayRecsInFeed__is_set = false;
private boolean enableTodayRecsInFeed;
public boolean getEnableTodayRecsInFeed() {
return enableTodayRecsInFeed;
}
public boolean isEnableTodayRecsInFeed() {
return enableTodayRecsInFeed;
}
public void setEnableTodayRecsInFeed(boolean enableTodayRecsInFeed) {
this.enableTodayRecsInFeed = enableTodayRecsInFeed;
enableTodayRecsInFeed__is_set = true;
}
protected void setEnableTodayRecsInFeed(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("enableTodayRecsInFeed", "http://soap.sforce.com/2006/04/metadata","enableTodayRecsInFeed","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableTodayRecsInFeed(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableTodayRecsInFeed", "http://soap.sforce.com/2006/04/metadata","enableTodayRecsInFeed","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableTodayRecsInFeed(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableTodayRecsInFeed", "http://soap.sforce.com/2006/04/metadata","enableTodayRecsInFeed","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableTodayRecsInFeed, enableTodayRecsInFeed__is_set);
}
/**
* element : unlistedGroupsEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean unlistedGroupsEnabled__is_set = false;
private boolean unlistedGroupsEnabled;
public boolean getUnlistedGroupsEnabled() {
return unlistedGroupsEnabled;
}
public boolean isUnlistedGroupsEnabled() {
return unlistedGroupsEnabled;
}
public void setUnlistedGroupsEnabled(boolean unlistedGroupsEnabled) {
this.unlistedGroupsEnabled = unlistedGroupsEnabled;
unlistedGroupsEnabled__is_set = true;
}
protected void setUnlistedGroupsEnabled(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("unlistedGroupsEnabled", "http://soap.sforce.com/2006/04/metadata","unlistedGroupsEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setUnlistedGroupsEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("unlistedGroupsEnabled", "http://soap.sforce.com/2006/04/metadata","unlistedGroupsEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldUnlistedGroupsEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("unlistedGroupsEnabled", "http://soap.sforce.com/2006/04/metadata","unlistedGroupsEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), unlistedGroupsEnabled, unlistedGroupsEnabled__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", "ChatterSettings");
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("[ChatterSettings ");
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 {
writeFieldAllowChatterGroupArchiving(__out, __typeMapper);
writeFieldAllowRecordsInChatterGroup(__out, __typeMapper);
writeFieldEnableApprovalRequest(__out, __typeMapper);
writeFieldEnableCaseFeedRelativeTimestamps(__out, __typeMapper);
writeFieldEnableChatter(__out, __typeMapper);
writeFieldEnableChatterEmoticons(__out, __typeMapper);
writeFieldEnableFeedEdit(__out, __typeMapper);
writeFieldEnableFeedPinning(__out, __typeMapper);
writeFieldEnableFeedsDraftPosts(__out, __typeMapper);
writeFieldEnableFeedsRichText(__out, __typeMapper);
writeFieldEnableInviteCsnUsers(__out, __typeMapper);
writeFieldEnableOutOfOfficeEnabledPref(__out, __typeMapper);
writeFieldEnableRichLinkPreviewsInFeed(__out, __typeMapper);
writeFieldEnableTodayRecsInFeed(__out, __typeMapper);
writeFieldUnlistedGroupsEnabled(__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 {
setAllowChatterGroupArchiving(__in, __typeMapper);
setAllowRecordsInChatterGroup(__in, __typeMapper);
setEnableApprovalRequest(__in, __typeMapper);
setEnableCaseFeedRelativeTimestamps(__in, __typeMapper);
setEnableChatter(__in, __typeMapper);
setEnableChatterEmoticons(__in, __typeMapper);
setEnableFeedEdit(__in, __typeMapper);
setEnableFeedPinning(__in, __typeMapper);
setEnableFeedsDraftPosts(__in, __typeMapper);
setEnableFeedsRichText(__in, __typeMapper);
setEnableInviteCsnUsers(__in, __typeMapper);
setEnableOutOfOfficeEnabledPref(__in, __typeMapper);
setEnableRichLinkPreviewsInFeed(__in, __typeMapper);
setEnableTodayRecsInFeed(__in, __typeMapper);
setUnlistedGroupsEnabled(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "allowChatterGroupArchiving", allowChatterGroupArchiving);
toStringHelper(sb, "allowRecordsInChatterGroup", allowRecordsInChatterGroup);
toStringHelper(sb, "enableApprovalRequest", enableApprovalRequest);
toStringHelper(sb, "enableCaseFeedRelativeTimestamps", enableCaseFeedRelativeTimestamps);
toStringHelper(sb, "enableChatter", enableChatter);
toStringHelper(sb, "enableChatterEmoticons", enableChatterEmoticons);
toStringHelper(sb, "enableFeedEdit", enableFeedEdit);
toStringHelper(sb, "enableFeedPinning", enableFeedPinning);
toStringHelper(sb, "enableFeedsDraftPosts", enableFeedsDraftPosts);
toStringHelper(sb, "enableFeedsRichText", enableFeedsRichText);
toStringHelper(sb, "enableInviteCsnUsers", enableInviteCsnUsers);
toStringHelper(sb, "enableOutOfOfficeEnabledPref", enableOutOfOfficeEnabledPref);
toStringHelper(sb, "enableRichLinkPreviewsInFeed", enableRichLinkPreviewsInFeed);
toStringHelper(sb, "enableTodayRecsInFeed", enableTodayRecsInFeed);
toStringHelper(sb, "unlistedGroupsEnabled", unlistedGroupsEnabled);
}
}