com.sforce.soap.metadata.IdeasSettings 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 IdeasSettings extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public IdeasSettings() {}
/* 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 : enableChatterProfile of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableChatterProfile__is_set = false;
private boolean enableChatterProfile;
public boolean getEnableChatterProfile() {
return enableChatterProfile;
}
public boolean isEnableChatterProfile() {
return enableChatterProfile;
}
public void setEnableChatterProfile(boolean enableChatterProfile) {
this.enableChatterProfile = enableChatterProfile;
enableChatterProfile__is_set = true;
}
protected void setEnableChatterProfile(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("enableChatterProfile", "http://soap.sforce.com/2006/04/metadata","enableChatterProfile","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableChatterProfile(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableChatterProfile", "http://soap.sforce.com/2006/04/metadata","enableChatterProfile","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableChatterProfile(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableChatterProfile", "http://soap.sforce.com/2006/04/metadata","enableChatterProfile","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableChatterProfile, enableChatterProfile__is_set);
}
/**
* element : enableHtmlIdea of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableHtmlIdea__is_set = false;
private boolean enableHtmlIdea;
public boolean getEnableHtmlIdea() {
return enableHtmlIdea;
}
public boolean isEnableHtmlIdea() {
return enableHtmlIdea;
}
public void setEnableHtmlIdea(boolean enableHtmlIdea) {
this.enableHtmlIdea = enableHtmlIdea;
enableHtmlIdea__is_set = true;
}
protected void setEnableHtmlIdea(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("enableHtmlIdea", "http://soap.sforce.com/2006/04/metadata","enableHtmlIdea","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableHtmlIdea(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableHtmlIdea", "http://soap.sforce.com/2006/04/metadata","enableHtmlIdea","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableHtmlIdea(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableHtmlIdea", "http://soap.sforce.com/2006/04/metadata","enableHtmlIdea","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableHtmlIdea, enableHtmlIdea__is_set);
}
/**
* element : enableIdeaMultipleCategory of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableIdeaMultipleCategory__is_set = false;
private boolean enableIdeaMultipleCategory;
public boolean getEnableIdeaMultipleCategory() {
return enableIdeaMultipleCategory;
}
public boolean isEnableIdeaMultipleCategory() {
return enableIdeaMultipleCategory;
}
public void setEnableIdeaMultipleCategory(boolean enableIdeaMultipleCategory) {
this.enableIdeaMultipleCategory = enableIdeaMultipleCategory;
enableIdeaMultipleCategory__is_set = true;
}
protected void setEnableIdeaMultipleCategory(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("enableIdeaMultipleCategory", "http://soap.sforce.com/2006/04/metadata","enableIdeaMultipleCategory","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableIdeaMultipleCategory(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableIdeaMultipleCategory", "http://soap.sforce.com/2006/04/metadata","enableIdeaMultipleCategory","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableIdeaMultipleCategory(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableIdeaMultipleCategory", "http://soap.sforce.com/2006/04/metadata","enableIdeaMultipleCategory","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableIdeaMultipleCategory, enableIdeaMultipleCategory__is_set);
}
/**
* element : enableIdeaThemes of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableIdeaThemes__is_set = false;
private boolean enableIdeaThemes;
public boolean getEnableIdeaThemes() {
return enableIdeaThemes;
}
public boolean isEnableIdeaThemes() {
return enableIdeaThemes;
}
public void setEnableIdeaThemes(boolean enableIdeaThemes) {
this.enableIdeaThemes = enableIdeaThemes;
enableIdeaThemes__is_set = true;
}
protected void setEnableIdeaThemes(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("enableIdeaThemes", "http://soap.sforce.com/2006/04/metadata","enableIdeaThemes","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableIdeaThemes(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableIdeaThemes", "http://soap.sforce.com/2006/04/metadata","enableIdeaThemes","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableIdeaThemes(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableIdeaThemes", "http://soap.sforce.com/2006/04/metadata","enableIdeaThemes","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableIdeaThemes, enableIdeaThemes__is_set);
}
/**
* element : enableIdeas of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableIdeas__is_set = false;
private boolean enableIdeas;
public boolean getEnableIdeas() {
return enableIdeas;
}
public boolean isEnableIdeas() {
return enableIdeas;
}
public void setEnableIdeas(boolean enableIdeas) {
this.enableIdeas = enableIdeas;
enableIdeas__is_set = true;
}
protected void setEnableIdeas(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("enableIdeas", "http://soap.sforce.com/2006/04/metadata","enableIdeas","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableIdeas(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableIdeas", "http://soap.sforce.com/2006/04/metadata","enableIdeas","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableIdeas(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableIdeas", "http://soap.sforce.com/2006/04/metadata","enableIdeas","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableIdeas, enableIdeas__is_set);
}
/**
* element : enableIdeasControllerExtensions of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableIdeasControllerExtensions__is_set = false;
private boolean enableIdeasControllerExtensions;
public boolean getEnableIdeasControllerExtensions() {
return enableIdeasControllerExtensions;
}
public boolean isEnableIdeasControllerExtensions() {
return enableIdeasControllerExtensions;
}
public void setEnableIdeasControllerExtensions(boolean enableIdeasControllerExtensions) {
this.enableIdeasControllerExtensions = enableIdeasControllerExtensions;
enableIdeasControllerExtensions__is_set = true;
}
protected void setEnableIdeasControllerExtensions(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("enableIdeasControllerExtensions", "http://soap.sforce.com/2006/04/metadata","enableIdeasControllerExtensions","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableIdeasControllerExtensions(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableIdeasControllerExtensions", "http://soap.sforce.com/2006/04/metadata","enableIdeasControllerExtensions","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableIdeasControllerExtensions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableIdeasControllerExtensions", "http://soap.sforce.com/2006/04/metadata","enableIdeasControllerExtensions","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableIdeasControllerExtensions, enableIdeasControllerExtensions__is_set);
}
/**
* element : enableIdeasReputation of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableIdeasReputation__is_set = false;
private boolean enableIdeasReputation;
public boolean getEnableIdeasReputation() {
return enableIdeasReputation;
}
public boolean isEnableIdeasReputation() {
return enableIdeasReputation;
}
public void setEnableIdeasReputation(boolean enableIdeasReputation) {
this.enableIdeasReputation = enableIdeasReputation;
enableIdeasReputation__is_set = true;
}
protected void setEnableIdeasReputation(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("enableIdeasReputation", "http://soap.sforce.com/2006/04/metadata","enableIdeasReputation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableIdeasReputation(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableIdeasReputation", "http://soap.sforce.com/2006/04/metadata","enableIdeasReputation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableIdeasReputation(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableIdeasReputation", "http://soap.sforce.com/2006/04/metadata","enableIdeasReputation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableIdeasReputation, enableIdeasReputation__is_set);
}
/**
* element : halfLife of type {http://www.w3.org/2001/XMLSchema}double
* java type: double
*/
private boolean halfLife__is_set = false;
private double halfLife;
public double getHalfLife() {
return halfLife;
}
public void setHalfLife(double halfLife) {
this.halfLife = halfLife;
halfLife__is_set = true;
}
protected void setHalfLife(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("halfLife", "http://soap.sforce.com/2006/04/metadata","halfLife","http://www.w3.org/2001/XMLSchema","double",0,1,true))) {
setHalfLife((double)__typeMapper.readDouble(__in, _lookupTypeInfo("halfLife", "http://soap.sforce.com/2006/04/metadata","halfLife","http://www.w3.org/2001/XMLSchema","double",0,1,true), double.class));
}
}
private void writeFieldHalfLife(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("halfLife", "http://soap.sforce.com/2006/04/metadata","halfLife","http://www.w3.org/2001/XMLSchema","double",0,1,true), halfLife, halfLife__is_set);
}
/**
* element : ideasProfilePage of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean ideasProfilePage__is_set = false;
private java.lang.String ideasProfilePage;
public java.lang.String getIdeasProfilePage() {
return ideasProfilePage;
}
public void setIdeasProfilePage(java.lang.String ideasProfilePage) {
this.ideasProfilePage = ideasProfilePage;
ideasProfilePage__is_set = true;
}
protected void setIdeasProfilePage(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("ideasProfilePage", "http://soap.sforce.com/2006/04/metadata","ideasProfilePage","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setIdeasProfilePage(__typeMapper.readString(__in, _lookupTypeInfo("ideasProfilePage", "http://soap.sforce.com/2006/04/metadata","ideasProfilePage","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldIdeasProfilePage(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("ideasProfilePage", "http://soap.sforce.com/2006/04/metadata","ideasProfilePage","http://www.w3.org/2001/XMLSchema","string",0,1,true), ideasProfilePage, ideasProfilePage__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", "IdeasSettings");
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("[IdeasSettings ");
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 {
writeFieldEnableChatterProfile(__out, __typeMapper);
writeFieldEnableHtmlIdea(__out, __typeMapper);
writeFieldEnableIdeaMultipleCategory(__out, __typeMapper);
writeFieldEnableIdeaThemes(__out, __typeMapper);
writeFieldEnableIdeas(__out, __typeMapper);
writeFieldEnableIdeasControllerExtensions(__out, __typeMapper);
writeFieldEnableIdeasReputation(__out, __typeMapper);
writeFieldHalfLife(__out, __typeMapper);
writeFieldIdeasProfilePage(__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 {
setEnableChatterProfile(__in, __typeMapper);
setEnableHtmlIdea(__in, __typeMapper);
setEnableIdeaMultipleCategory(__in, __typeMapper);
setEnableIdeaThemes(__in, __typeMapper);
setEnableIdeas(__in, __typeMapper);
setEnableIdeasControllerExtensions(__in, __typeMapper);
setEnableIdeasReputation(__in, __typeMapper);
setHalfLife(__in, __typeMapper);
setIdeasProfilePage(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "enableChatterProfile", enableChatterProfile);
toStringHelper(sb, "enableHtmlIdea", enableHtmlIdea);
toStringHelper(sb, "enableIdeaMultipleCategory", enableIdeaMultipleCategory);
toStringHelper(sb, "enableIdeaThemes", enableIdeaThemes);
toStringHelper(sb, "enableIdeas", enableIdeas);
toStringHelper(sb, "enableIdeasControllerExtensions", enableIdeasControllerExtensions);
toStringHelper(sb, "enableIdeasReputation", enableIdeasReputation);
toStringHelper(sb, "halfLife", halfLife);
toStringHelper(sb, "ideasProfilePage", ideasProfilePage);
}
}