598 lines
31 KiB
Java
598 lines
31 KiB
Java
|
|
package com.sforce.soap.tooling.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.tooling.metadata.Metadata {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Constructor
|
||
|
|
*/
|
||
|
|
public CMSConnectSource() {}
|
||
|
|
|
||
|
|
/* 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 : cmsConnectAsset of type {urn:metadata.tooling.soap.sforce.com}CMSConnectAsset
|
||
|
|
* java type: com.sforce.soap.tooling.metadata.CMSConnectAsset[]
|
||
|
|
*/
|
||
|
|
private boolean cmsConnectAsset__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.metadata.CMSConnectAsset[] cmsConnectAsset = new com.sforce.soap.tooling.metadata.CMSConnectAsset[0];
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.metadata.CMSConnectAsset[] getCmsConnectAsset() {
|
||
|
|
return cmsConnectAsset;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCmsConnectAsset(com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","cmsConnectAsset","urn:metadata.tooling.soap.sforce.com","CMSConnectAsset",0,-1,true))) {
|
||
|
|
setCmsConnectAsset((com.sforce.soap.tooling.metadata.CMSConnectAsset[])__typeMapper.readObject(__in, _lookupTypeInfo("cmsConnectAsset", "urn:metadata.tooling.soap.sforce.com","cmsConnectAsset","urn:metadata.tooling.soap.sforce.com","CMSConnectAsset",0,-1,true), com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","cmsConnectAsset","urn:metadata.tooling.soap.sforce.com","CMSConnectAsset",0,-1,true), cmsConnectAsset, cmsConnectAsset__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : cmsConnectLanguage of type {urn:metadata.tooling.soap.sforce.com}CMSConnectLanguage
|
||
|
|
* java type: com.sforce.soap.tooling.metadata.CMSConnectLanguage[]
|
||
|
|
*/
|
||
|
|
private boolean cmsConnectLanguage__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.metadata.CMSConnectLanguage[] cmsConnectLanguage = new com.sforce.soap.tooling.metadata.CMSConnectLanguage[0];
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.metadata.CMSConnectLanguage[] getCmsConnectLanguage() {
|
||
|
|
return cmsConnectLanguage;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCmsConnectLanguage(com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","cmsConnectLanguage","urn:metadata.tooling.soap.sforce.com","CMSConnectLanguage",0,-1,true))) {
|
||
|
|
setCmsConnectLanguage((com.sforce.soap.tooling.metadata.CMSConnectLanguage[])__typeMapper.readObject(__in, _lookupTypeInfo("cmsConnectLanguage", "urn:metadata.tooling.soap.sforce.com","cmsConnectLanguage","urn:metadata.tooling.soap.sforce.com","CMSConnectLanguage",0,-1,true), com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","cmsConnectLanguage","urn:metadata.tooling.soap.sforce.com","CMSConnectLanguage",0,-1,true), cmsConnectLanguage, cmsConnectLanguage__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : cmsConnectPersonalization of type {urn:metadata.tooling.soap.sforce.com}CMSConnectPersonalization
|
||
|
|
* java type: com.sforce.soap.tooling.metadata.CMSConnectPersonalization
|
||
|
|
*/
|
||
|
|
private boolean cmsConnectPersonalization__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.metadata.CMSConnectPersonalization cmsConnectPersonalization;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.metadata.CMSConnectPersonalization getCmsConnectPersonalization() {
|
||
|
|
return cmsConnectPersonalization;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCmsConnectPersonalization(com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","cmsConnectPersonalization","urn:metadata.tooling.soap.sforce.com","CMSConnectPersonalization",0,1,true))) {
|
||
|
|
setCmsConnectPersonalization((com.sforce.soap.tooling.metadata.CMSConnectPersonalization)__typeMapper.readObject(__in, _lookupTypeInfo("cmsConnectPersonalization", "urn:metadata.tooling.soap.sforce.com","cmsConnectPersonalization","urn:metadata.tooling.soap.sforce.com","CMSConnectPersonalization",0,1,true), com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","cmsConnectPersonalization","urn:metadata.tooling.soap.sforce.com","CMSConnectPersonalization",0,1,true), cmsConnectPersonalization, cmsConnectPersonalization__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : cmsConnectResourceType of type {urn:metadata.tooling.soap.sforce.com}CMSConnectResourceType
|
||
|
|
* java type: com.sforce.soap.tooling.metadata.CMSConnectResourceType[]
|
||
|
|
*/
|
||
|
|
private boolean cmsConnectResourceType__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.metadata.CMSConnectResourceType[] cmsConnectResourceType = new com.sforce.soap.tooling.metadata.CMSConnectResourceType[0];
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.metadata.CMSConnectResourceType[] getCmsConnectResourceType() {
|
||
|
|
return cmsConnectResourceType;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCmsConnectResourceType(com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","cmsConnectResourceType","urn:metadata.tooling.soap.sforce.com","CMSConnectResourceType",0,-1,true))) {
|
||
|
|
setCmsConnectResourceType((com.sforce.soap.tooling.metadata.CMSConnectResourceType[])__typeMapper.readObject(__in, _lookupTypeInfo("cmsConnectResourceType", "urn:metadata.tooling.soap.sforce.com","cmsConnectResourceType","urn:metadata.tooling.soap.sforce.com","CMSConnectResourceType",0,-1,true), com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","cmsConnectResourceType","urn:metadata.tooling.soap.sforce.com","CMSConnectResourceType",0,-1,true), cmsConnectResourceType, cmsConnectResourceType__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : connectionType of type {urn:tooling.soap.sforce.com}CMSSourceConnectionType
|
||
|
|
* java type: com.sforce.soap.tooling.CMSSourceConnectionType
|
||
|
|
*/
|
||
|
|
private boolean connectionType__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.CMSSourceConnectionType connectionType;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.CMSSourceConnectionType getConnectionType() {
|
||
|
|
return connectionType;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setConnectionType(com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","connectionType","urn:tooling.soap.sforce.com","CMSSourceConnectionType",1,1,true))) {
|
||
|
|
setConnectionType((com.sforce.soap.tooling.CMSSourceConnectionType)__typeMapper.readObject(__in, _lookupTypeInfo("connectionType", "urn:metadata.tooling.soap.sforce.com","connectionType","urn:tooling.soap.sforce.com","CMSSourceConnectionType",1,1,true), com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","connectionType","urn:tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","cssScope","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setCssScope(__typeMapper.readString(__in, _lookupTypeInfo("cssScope", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","developerName","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
||
|
|
setDeveloperName(__typeMapper.readString(__in, _lookupTypeInfo("developerName", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","languageEnabled","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setLanguageEnabled(__typeMapper.readString(__in, _lookupTypeInfo("languageEnabled", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
||
|
|
setMasterLabel(__typeMapper.readString(__in, _lookupTypeInfo("masterLabel", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","namedCredential","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setNamedCredential(__typeMapper.readString(__in, _lookupTypeInfo("namedCredential", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","personalizationEnabled","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setPersonalizationEnabled(__typeMapper.readString(__in, _lookupTypeInfo("personalizationEnabled", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","rootPath","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setRootPath(__typeMapper.readString(__in, _lookupTypeInfo("rootPath", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","sortOrder","http://www.w3.org/2001/XMLSchema","int",1,1,true))) {
|
||
|
|
setSortOrder((int)__typeMapper.readInt(__in, _lookupTypeInfo("sortOrder", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","sortOrder","http://www.w3.org/2001/XMLSchema","int",1,1,true), sortOrder, sortOrder__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : status of type {urn:tooling.soap.sforce.com}CMSConnectionStatus
|
||
|
|
* java type: com.sforce.soap.tooling.CMSConnectionStatus
|
||
|
|
*/
|
||
|
|
private boolean status__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.CMSConnectionStatus status;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.CMSConnectionStatus getStatus() {
|
||
|
|
return status;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setStatus(com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","status","urn:tooling.soap.sforce.com","CMSConnectionStatus",1,1,true))) {
|
||
|
|
setStatus((com.sforce.soap.tooling.CMSConnectionStatus)__typeMapper.readObject(__in, _lookupTypeInfo("status", "urn:metadata.tooling.soap.sforce.com","status","urn:tooling.soap.sforce.com","CMSConnectionStatus",1,1,true), com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","status","urn:tooling.soap.sforce.com","CMSConnectionStatus",1,1,true), status, status__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : type of type {urn:tooling.soap.sforce.com}CMSConnectionSourceType
|
||
|
|
* java type: com.sforce.soap.tooling.CMSConnectionSourceType
|
||
|
|
*/
|
||
|
|
private boolean type__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.CMSConnectionSourceType type;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.CMSConnectionSourceType getType() {
|
||
|
|
return type;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setType(com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","type","urn:tooling.soap.sforce.com","CMSConnectionSourceType",1,1,true))) {
|
||
|
|
setType((com.sforce.soap.tooling.CMSConnectionSourceType)__typeMapper.readObject(__in, _lookupTypeInfo("type", "urn:metadata.tooling.soap.sforce.com","type","urn:tooling.soap.sforce.com","CMSConnectionSourceType",1,1,true), com.sforce.soap.tooling.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", "urn:metadata.tooling.soap.sforce.com","type","urn:tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","websiteUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setWebsiteUrl(__typeMapper.readString(__in, _lookupTypeInfo("websiteUrl", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","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, "urn:metadata.tooling.soap.sforce.com", "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);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|