com.sforce.soap.metadata.CMSConnectSource 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 CMSConnectSource extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public CMSConnectSource() {}
/* 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 : cmsConnectAsset of type {http://soap.sforce.com/2006/04/metadata}CMSConnectAsset
* java type: com.sforce.soap.metadata.CMSConnectAsset[]
*/
private boolean cmsConnectAsset__is_set = false;
private com.sforce.soap.metadata.CMSConnectAsset[] cmsConnectAsset = new com.sforce.soap.metadata.CMSConnectAsset[0];
public com.sforce.soap.metadata.CMSConnectAsset[] getCmsConnectAsset() {
return cmsConnectAsset;
}
public void setCmsConnectAsset(com.sforce.soap.metadata.CMSConnectAsset[] cmsConnectAsset) {
this.cmsConnectAsset = cmsConnectAsset;
cmsConnectAsset__is_set = true;
}
protected void setCmsConnectAsset(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("cmsConnectAsset", "http://soap.sforce.com/2006/04/metadata","cmsConnectAsset","http://soap.sforce.com/2006/04/metadata","CMSConnectAsset",0,-1,true))) {
setCmsConnectAsset((com.sforce.soap.metadata.CMSConnectAsset[])__typeMapper.readObject(__in, _lookupTypeInfo("cmsConnectAsset", "http://soap.sforce.com/2006/04/metadata","cmsConnectAsset","http://soap.sforce.com/2006/04/metadata","CMSConnectAsset",0,-1,true), com.sforce.soap.metadata.CMSConnectAsset[].class));
}
}
private void writeFieldCmsConnectAsset(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("cmsConnectAsset", "http://soap.sforce.com/2006/04/metadata","cmsConnectAsset","http://soap.sforce.com/2006/04/metadata","CMSConnectAsset",0,-1,true), cmsConnectAsset, cmsConnectAsset__is_set);
}
/**
* element : cmsConnectLanguage of type {http://soap.sforce.com/2006/04/metadata}CMSConnectLanguage
* java type: com.sforce.soap.metadata.CMSConnectLanguage[]
*/
private boolean cmsConnectLanguage__is_set = false;
private com.sforce.soap.metadata.CMSConnectLanguage[] cmsConnectLanguage = new com.sforce.soap.metadata.CMSConnectLanguage[0];
public com.sforce.soap.metadata.CMSConnectLanguage[] getCmsConnectLanguage() {
return cmsConnectLanguage;
}
public void setCmsConnectLanguage(com.sforce.soap.metadata.CMSConnectLanguage[] cmsConnectLanguage) {
this.cmsConnectLanguage = cmsConnectLanguage;
cmsConnectLanguage__is_set = true;
}
protected void setCmsConnectLanguage(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("cmsConnectLanguage", "http://soap.sforce.com/2006/04/metadata","cmsConnectLanguage","http://soap.sforce.com/2006/04/metadata","CMSConnectLanguage",0,-1,true))) {
setCmsConnectLanguage((com.sforce.soap.metadata.CMSConnectLanguage[])__typeMapper.readObject(__in, _lookupTypeInfo("cmsConnectLanguage", "http://soap.sforce.com/2006/04/metadata","cmsConnectLanguage","http://soap.sforce.com/2006/04/metadata","CMSConnectLanguage",0,-1,true), com.sforce.soap.metadata.CMSConnectLanguage[].class));
}
}
private void writeFieldCmsConnectLanguage(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("cmsConnectLanguage", "http://soap.sforce.com/2006/04/metadata","cmsConnectLanguage","http://soap.sforce.com/2006/04/metadata","CMSConnectLanguage",0,-1,true), cmsConnectLanguage, cmsConnectLanguage__is_set);
}
/**
* element : cmsConnectPersonalization of type {http://soap.sforce.com/2006/04/metadata}CMSConnectPersonalization
* java type: com.sforce.soap.metadata.CMSConnectPersonalization
*/
private boolean cmsConnectPersonalization__is_set = false;
private com.sforce.soap.metadata.CMSConnectPersonalization cmsConnectPersonalization;
public com.sforce.soap.metadata.CMSConnectPersonalization getCmsConnectPersonalization() {
return cmsConnectPersonalization;
}
public void setCmsConnectPersonalization(com.sforce.soap.metadata.CMSConnectPersonalization cmsConnectPersonalization) {
this.cmsConnectPersonalization = cmsConnectPersonalization;
cmsConnectPersonalization__is_set = true;
}
protected void setCmsConnectPersonalization(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("cmsConnectPersonalization", "http://soap.sforce.com/2006/04/metadata","cmsConnectPersonalization","http://soap.sforce.com/2006/04/metadata","CMSConnectPersonalization",0,1,true))) {
setCmsConnectPersonalization((com.sforce.soap.metadata.CMSConnectPersonalization)__typeMapper.readObject(__in, _lookupTypeInfo("cmsConnectPersonalization", "http://soap.sforce.com/2006/04/metadata","cmsConnectPersonalization","http://soap.sforce.com/2006/04/metadata","CMSConnectPersonalization",0,1,true), com.sforce.soap.metadata.CMSConnectPersonalization.class));
}
}
private void writeFieldCmsConnectPersonalization(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("cmsConnectPersonalization", "http://soap.sforce.com/2006/04/metadata","cmsConnectPersonalization","http://soap.sforce.com/2006/04/metadata","CMSConnectPersonalization",0,1,true), cmsConnectPersonalization, cmsConnectPersonalization__is_set);
}
/**
* element : cmsConnectResourceType of type {http://soap.sforce.com/2006/04/metadata}CMSConnectResourceType
* java type: com.sforce.soap.metadata.CMSConnectResourceType[]
*/
private boolean cmsConnectResourceType__is_set = false;
private com.sforce.soap.metadata.CMSConnectResourceType[] cmsConnectResourceType = new com.sforce.soap.metadata.CMSConnectResourceType[0];
public com.sforce.soap.metadata.CMSConnectResourceType[] getCmsConnectResourceType() {
return cmsConnectResourceType;
}
public void setCmsConnectResourceType(com.sforce.soap.metadata.CMSConnectResourceType[] cmsConnectResourceType) {
this.cmsConnectResourceType = cmsConnectResourceType;
cmsConnectResourceType__is_set = true;
}
protected void setCmsConnectResourceType(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("cmsConnectResourceType", "http://soap.sforce.com/2006/04/metadata","cmsConnectResourceType","http://soap.sforce.com/2006/04/metadata","CMSConnectResourceType",0,-1,true))) {
setCmsConnectResourceType((com.sforce.soap.metadata.CMSConnectResourceType[])__typeMapper.readObject(__in, _lookupTypeInfo("cmsConnectResourceType", "http://soap.sforce.com/2006/04/metadata","cmsConnectResourceType","http://soap.sforce.com/2006/04/metadata","CMSConnectResourceType",0,-1,true), com.sforce.soap.metadata.CMSConnectResourceType[].class));
}
}
private void writeFieldCmsConnectResourceType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("cmsConnectResourceType", "http://soap.sforce.com/2006/04/metadata","cmsConnectResourceType","http://soap.sforce.com/2006/04/metadata","CMSConnectResourceType",0,-1,true), cmsConnectResourceType, cmsConnectResourceType__is_set);
}
/**
* element : connectionType of type {http://soap.sforce.com/2006/04/metadata}CMSSourceConnectionType
* java type: com.sforce.soap.metadata.CMSSourceConnectionType
*/
private boolean connectionType__is_set = false;
private com.sforce.soap.metadata.CMSSourceConnectionType connectionType;
public com.sforce.soap.metadata.CMSSourceConnectionType getConnectionType() {
return connectionType;
}
public void setConnectionType(com.sforce.soap.metadata.CMSSourceConnectionType connectionType) {
this.connectionType = connectionType;
connectionType__is_set = true;
}
protected void setConnectionType(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("connectionType", "http://soap.sforce.com/2006/04/metadata","connectionType","http://soap.sforce.com/2006/04/metadata","CMSSourceConnectionType",1,1,true))) {
setConnectionType((com.sforce.soap.metadata.CMSSourceConnectionType)__typeMapper.readObject(__in, _lookupTypeInfo("connectionType", "http://soap.sforce.com/2006/04/metadata","connectionType","http://soap.sforce.com/2006/04/metadata","CMSSourceConnectionType",1,1,true), com.sforce.soap.metadata.CMSSourceConnectionType.class));
}
}
private void writeFieldConnectionType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("connectionType", "http://soap.sforce.com/2006/04/metadata","connectionType","http://soap.sforce.com/2006/04/metadata","CMSSourceConnectionType",1,1,true), connectionType, connectionType__is_set);
}
/**
* element : cssScope of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean cssScope__is_set = false;
private java.lang.String cssScope;
public java.lang.String getCssScope() {
return cssScope;
}
public void setCssScope(java.lang.String cssScope) {
this.cssScope = cssScope;
cssScope__is_set = true;
}
protected void setCssScope(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("cssScope", "http://soap.sforce.com/2006/04/metadata","cssScope","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setCssScope(__typeMapper.readString(__in, _lookupTypeInfo("cssScope", "http://soap.sforce.com/2006/04/metadata","cssScope","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldCssScope(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("cssScope", "http://soap.sforce.com/2006/04/metadata","cssScope","http://www.w3.org/2001/XMLSchema","string",0,1,true), cssScope, cssScope__is_set);
}
/**
* element : developerName of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean developerName__is_set = false;
private java.lang.String developerName;
public java.lang.String getDeveloperName() {
return developerName;
}
public void setDeveloperName(java.lang.String developerName) {
this.developerName = developerName;
developerName__is_set = true;
}
protected void setDeveloperName(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("developerName", "http://soap.sforce.com/2006/04/metadata","developerName","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
setDeveloperName(__typeMapper.readString(__in, _lookupTypeInfo("developerName", "http://soap.sforce.com/2006/04/metadata","developerName","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
}
}
private void writeFieldDeveloperName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("developerName", "http://soap.sforce.com/2006/04/metadata","developerName","http://www.w3.org/2001/XMLSchema","string",1,1,true), developerName, developerName__is_set);
}
/**
* element : languageEnabled of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean languageEnabled__is_set = false;
private java.lang.String languageEnabled;
public java.lang.String getLanguageEnabled() {
return languageEnabled;
}
public void setLanguageEnabled(java.lang.String languageEnabled) {
this.languageEnabled = languageEnabled;
languageEnabled__is_set = true;
}
protected void setLanguageEnabled(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("languageEnabled", "http://soap.sforce.com/2006/04/metadata","languageEnabled","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setLanguageEnabled(__typeMapper.readString(__in, _lookupTypeInfo("languageEnabled", "http://soap.sforce.com/2006/04/metadata","languageEnabled","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldLanguageEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("languageEnabled", "http://soap.sforce.com/2006/04/metadata","languageEnabled","http://www.w3.org/2001/XMLSchema","string",0,1,true), languageEnabled, languageEnabled__is_set);
}
/**
* element : masterLabel of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean masterLabel__is_set = false;
private java.lang.String masterLabel;
public java.lang.String getMasterLabel() {
return masterLabel;
}
public void setMasterLabel(java.lang.String masterLabel) {
this.masterLabel = masterLabel;
masterLabel__is_set = true;
}
protected void setMasterLabel(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
setMasterLabel(__typeMapper.readString(__in, _lookupTypeInfo("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
}
}
private void writeFieldMasterLabel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true), masterLabel, masterLabel__is_set);
}
/**
* element : namedCredential of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean namedCredential__is_set = false;
private java.lang.String namedCredential;
public java.lang.String getNamedCredential() {
return namedCredential;
}
public void setNamedCredential(java.lang.String namedCredential) {
this.namedCredential = namedCredential;
namedCredential__is_set = true;
}
protected void setNamedCredential(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("namedCredential", "http://soap.sforce.com/2006/04/metadata","namedCredential","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setNamedCredential(__typeMapper.readString(__in, _lookupTypeInfo("namedCredential", "http://soap.sforce.com/2006/04/metadata","namedCredential","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldNamedCredential(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("namedCredential", "http://soap.sforce.com/2006/04/metadata","namedCredential","http://www.w3.org/2001/XMLSchema","string",0,1,true), namedCredential, namedCredential__is_set);
}
/**
* element : personalizationEnabled of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean personalizationEnabled__is_set = false;
private java.lang.String personalizationEnabled;
public java.lang.String getPersonalizationEnabled() {
return personalizationEnabled;
}
public void setPersonalizationEnabled(java.lang.String personalizationEnabled) {
this.personalizationEnabled = personalizationEnabled;
personalizationEnabled__is_set = true;
}
protected void setPersonalizationEnabled(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("personalizationEnabled", "http://soap.sforce.com/2006/04/metadata","personalizationEnabled","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setPersonalizationEnabled(__typeMapper.readString(__in, _lookupTypeInfo("personalizationEnabled", "http://soap.sforce.com/2006/04/metadata","personalizationEnabled","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldPersonalizationEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("personalizationEnabled", "http://soap.sforce.com/2006/04/metadata","personalizationEnabled","http://www.w3.org/2001/XMLSchema","string",0,1,true), personalizationEnabled, personalizationEnabled__is_set);
}
/**
* element : rootPath of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean rootPath__is_set = false;
private java.lang.String rootPath;
public java.lang.String getRootPath() {
return rootPath;
}
public void setRootPath(java.lang.String rootPath) {
this.rootPath = rootPath;
rootPath__is_set = true;
}
protected void setRootPath(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("rootPath", "http://soap.sforce.com/2006/04/metadata","rootPath","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setRootPath(__typeMapper.readString(__in, _lookupTypeInfo("rootPath", "http://soap.sforce.com/2006/04/metadata","rootPath","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldRootPath(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("rootPath", "http://soap.sforce.com/2006/04/metadata","rootPath","http://www.w3.org/2001/XMLSchema","string",0,1,true), rootPath, rootPath__is_set);
}
/**
* element : sortOrder of type {http://www.w3.org/2001/XMLSchema}int
* java type: int
*/
private boolean sortOrder__is_set = false;
private int sortOrder;
public int getSortOrder() {
return sortOrder;
}
public void setSortOrder(int sortOrder) {
this.sortOrder = sortOrder;
sortOrder__is_set = true;
}
protected void setSortOrder(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("sortOrder", "http://soap.sforce.com/2006/04/metadata","sortOrder","http://www.w3.org/2001/XMLSchema","int",1,1,true))) {
setSortOrder((int)__typeMapper.readInt(__in, _lookupTypeInfo("sortOrder", "http://soap.sforce.com/2006/04/metadata","sortOrder","http://www.w3.org/2001/XMLSchema","int",1,1,true), int.class));
}
}
private void writeFieldSortOrder(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("sortOrder", "http://soap.sforce.com/2006/04/metadata","sortOrder","http://www.w3.org/2001/XMLSchema","int",1,1,true), sortOrder, sortOrder__is_set);
}
/**
* element : status of type {http://soap.sforce.com/2006/04/metadata}CMSConnectionStatus
* java type: com.sforce.soap.metadata.CMSConnectionStatus
*/
private boolean status__is_set = false;
private com.sforce.soap.metadata.CMSConnectionStatus status;
public com.sforce.soap.metadata.CMSConnectionStatus getStatus() {
return status;
}
public void setStatus(com.sforce.soap.metadata.CMSConnectionStatus status) {
this.status = status;
status__is_set = true;
}
protected void setStatus(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("status", "http://soap.sforce.com/2006/04/metadata","status","http://soap.sforce.com/2006/04/metadata","CMSConnectionStatus",1,1,true))) {
setStatus((com.sforce.soap.metadata.CMSConnectionStatus)__typeMapper.readObject(__in, _lookupTypeInfo("status", "http://soap.sforce.com/2006/04/metadata","status","http://soap.sforce.com/2006/04/metadata","CMSConnectionStatus",1,1,true), com.sforce.soap.metadata.CMSConnectionStatus.class));
}
}
private void writeFieldStatus(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("status", "http://soap.sforce.com/2006/04/metadata","status","http://soap.sforce.com/2006/04/metadata","CMSConnectionStatus",1,1,true), status, status__is_set);
}
/**
* element : type of type {http://soap.sforce.com/2006/04/metadata}CMSConnectionSourceType
* java type: com.sforce.soap.metadata.CMSConnectionSourceType
*/
private boolean type__is_set = false;
private com.sforce.soap.metadata.CMSConnectionSourceType type;
public com.sforce.soap.metadata.CMSConnectionSourceType getType() {
return type;
}
public void setType(com.sforce.soap.metadata.CMSConnectionSourceType type) {
this.type = type;
type__is_set = true;
}
protected void setType(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","CMSConnectionSourceType",1,1,true))) {
setType((com.sforce.soap.metadata.CMSConnectionSourceType)__typeMapper.readObject(__in, _lookupTypeInfo("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","CMSConnectionSourceType",1,1,true), com.sforce.soap.metadata.CMSConnectionSourceType.class));
}
}
private void writeFieldType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","CMSConnectionSourceType",1,1,true), type, type__is_set);
}
/**
* element : websiteUrl of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean websiteUrl__is_set = false;
private java.lang.String websiteUrl;
public java.lang.String getWebsiteUrl() {
return websiteUrl;
}
public void setWebsiteUrl(java.lang.String websiteUrl) {
this.websiteUrl = websiteUrl;
websiteUrl__is_set = true;
}
protected void setWebsiteUrl(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("websiteUrl", "http://soap.sforce.com/2006/04/metadata","websiteUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setWebsiteUrl(__typeMapper.readString(__in, _lookupTypeInfo("websiteUrl", "http://soap.sforce.com/2006/04/metadata","websiteUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldWebsiteUrl(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("websiteUrl", "http://soap.sforce.com/2006/04/metadata","websiteUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), websiteUrl, websiteUrl__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", "CMSConnectSource");
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("[CMSConnectSource ");
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 {
writeFieldCmsConnectAsset(__out, __typeMapper);
writeFieldCmsConnectLanguage(__out, __typeMapper);
writeFieldCmsConnectPersonalization(__out, __typeMapper);
writeFieldCmsConnectResourceType(__out, __typeMapper);
writeFieldConnectionType(__out, __typeMapper);
writeFieldCssScope(__out, __typeMapper);
writeFieldDeveloperName(__out, __typeMapper);
writeFieldLanguageEnabled(__out, __typeMapper);
writeFieldMasterLabel(__out, __typeMapper);
writeFieldNamedCredential(__out, __typeMapper);
writeFieldPersonalizationEnabled(__out, __typeMapper);
writeFieldRootPath(__out, __typeMapper);
writeFieldSortOrder(__out, __typeMapper);
writeFieldStatus(__out, __typeMapper);
writeFieldType(__out, __typeMapper);
writeFieldWebsiteUrl(__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 {
setCmsConnectAsset(__in, __typeMapper);
setCmsConnectLanguage(__in, __typeMapper);
setCmsConnectPersonalization(__in, __typeMapper);
setCmsConnectResourceType(__in, __typeMapper);
setConnectionType(__in, __typeMapper);
setCssScope(__in, __typeMapper);
setDeveloperName(__in, __typeMapper);
setLanguageEnabled(__in, __typeMapper);
setMasterLabel(__in, __typeMapper);
setNamedCredential(__in, __typeMapper);
setPersonalizationEnabled(__in, __typeMapper);
setRootPath(__in, __typeMapper);
setSortOrder(__in, __typeMapper);
setStatus(__in, __typeMapper);
setType(__in, __typeMapper);
setWebsiteUrl(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "cmsConnectAsset", cmsConnectAsset);
toStringHelper(sb, "cmsConnectLanguage", cmsConnectLanguage);
toStringHelper(sb, "cmsConnectPersonalization", cmsConnectPersonalization);
toStringHelper(sb, "cmsConnectResourceType", cmsConnectResourceType);
toStringHelper(sb, "connectionType", connectionType);
toStringHelper(sb, "cssScope", cssScope);
toStringHelper(sb, "developerName", developerName);
toStringHelper(sb, "languageEnabled", languageEnabled);
toStringHelper(sb, "masterLabel", masterLabel);
toStringHelper(sb, "namedCredential", namedCredential);
toStringHelper(sb, "personalizationEnabled", personalizationEnabled);
toStringHelper(sb, "rootPath", rootPath);
toStringHelper(sb, "sortOrder", sortOrder);
toStringHelper(sb, "status", status);
toStringHelper(sb, "type", type);
toStringHelper(sb, "websiteUrl", websiteUrl);
}
}