570 lines
30 KiB
Java
570 lines
30 KiB
Java
package com.sforce.soap.metadata;
|
|
|
|
/**
|
|
* This is a generated class for the SObject Enterprise API.
|
|
* Do not edit this file, as your changes will be lost.
|
|
*/
|
|
public class RecommendationStrategy extends com.sforce.soap.metadata.Metadata {
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public RecommendationStrategy() {}
|
|
|
|
/* 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 : actionContext of type {http://soap.sforce.com/2006/04/metadata}StrategyAction
|
|
* java type: com.sforce.soap.metadata.StrategyAction[]
|
|
*/
|
|
private boolean actionContext__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.StrategyAction[] actionContext = new com.sforce.soap.metadata.StrategyAction[0];
|
|
|
|
public com.sforce.soap.metadata.StrategyAction[] getActionContext() {
|
|
return actionContext;
|
|
}
|
|
|
|
public void setActionContext(com.sforce.soap.metadata.StrategyAction[] actionContext) {
|
|
this.actionContext = actionContext;
|
|
actionContext__is_set = true;
|
|
}
|
|
|
|
protected void setActionContext(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("actionContext", "http://soap.sforce.com/2006/04/metadata","actionContext","http://soap.sforce.com/2006/04/metadata","StrategyAction",0,-1,true))) {
|
|
setActionContext((com.sforce.soap.metadata.StrategyAction[])__typeMapper.readObject(__in, _lookupTypeInfo("actionContext", "http://soap.sforce.com/2006/04/metadata","actionContext","http://soap.sforce.com/2006/04/metadata","StrategyAction",0,-1,true), com.sforce.soap.metadata.StrategyAction[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldActionContext(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("actionContext", "http://soap.sforce.com/2006/04/metadata","actionContext","http://soap.sforce.com/2006/04/metadata","StrategyAction",0,-1,true), actionContext, actionContext__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : contextRecordType of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean contextRecordType__is_set = false;
|
|
|
|
private java.lang.String contextRecordType;
|
|
|
|
public java.lang.String getContextRecordType() {
|
|
return contextRecordType;
|
|
}
|
|
|
|
public void setContextRecordType(java.lang.String contextRecordType) {
|
|
this.contextRecordType = contextRecordType;
|
|
contextRecordType__is_set = true;
|
|
}
|
|
|
|
protected void setContextRecordType(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("contextRecordType", "http://soap.sforce.com/2006/04/metadata","contextRecordType","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setContextRecordType(__typeMapper.readString(__in, _lookupTypeInfo("contextRecordType", "http://soap.sforce.com/2006/04/metadata","contextRecordType","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldContextRecordType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("contextRecordType", "http://soap.sforce.com/2006/04/metadata","contextRecordType","http://www.w3.org/2001/XMLSchema","string",0,1,true), contextRecordType, contextRecordType__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : description of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean description__is_set = false;
|
|
|
|
private java.lang.String description;
|
|
|
|
public java.lang.String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(java.lang.String description) {
|
|
this.description = description;
|
|
description__is_set = true;
|
|
}
|
|
|
|
protected void setDescription(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("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setDescription(__typeMapper.readString(__in, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldDescription(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), description, description__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : filter of type {http://soap.sforce.com/2006/04/metadata}StrategyNodeFilter
|
|
* java type: com.sforce.soap.metadata.StrategyNodeFilter[]
|
|
*/
|
|
private boolean filter__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.StrategyNodeFilter[] filter = new com.sforce.soap.metadata.StrategyNodeFilter[0];
|
|
|
|
public com.sforce.soap.metadata.StrategyNodeFilter[] getFilter() {
|
|
return filter;
|
|
}
|
|
|
|
public void setFilter(com.sforce.soap.metadata.StrategyNodeFilter[] filter) {
|
|
this.filter = filter;
|
|
filter__is_set = true;
|
|
}
|
|
|
|
protected void setFilter(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("filter", "http://soap.sforce.com/2006/04/metadata","filter","http://soap.sforce.com/2006/04/metadata","StrategyNodeFilter",0,-1,true))) {
|
|
setFilter((com.sforce.soap.metadata.StrategyNodeFilter[])__typeMapper.readObject(__in, _lookupTypeInfo("filter", "http://soap.sforce.com/2006/04/metadata","filter","http://soap.sforce.com/2006/04/metadata","StrategyNodeFilter",0,-1,true), com.sforce.soap.metadata.StrategyNodeFilter[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldFilter(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("filter", "http://soap.sforce.com/2006/04/metadata","filter","http://soap.sforce.com/2006/04/metadata","StrategyNodeFilter",0,-1,true), filter, filter__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : if of type {http://soap.sforce.com/2006/04/metadata}StrategyNodeIf
|
|
* java type: com.sforce.soap.metadata.StrategyNodeIf[]
|
|
*/
|
|
private boolean _if__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.StrategyNodeIf[] _if = new com.sforce.soap.metadata.StrategyNodeIf[0];
|
|
|
|
public com.sforce.soap.metadata.StrategyNodeIf[] getIf() {
|
|
return _if;
|
|
}
|
|
|
|
public void setIf(com.sforce.soap.metadata.StrategyNodeIf[] _if) {
|
|
this._if = _if;
|
|
_if__is_set = true;
|
|
}
|
|
|
|
protected void setIf(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("_if", "http://soap.sforce.com/2006/04/metadata","if","http://soap.sforce.com/2006/04/metadata","StrategyNodeIf",0,-1,true))) {
|
|
setIf((com.sforce.soap.metadata.StrategyNodeIf[])__typeMapper.readObject(__in, _lookupTypeInfo("_if", "http://soap.sforce.com/2006/04/metadata","if","http://soap.sforce.com/2006/04/metadata","StrategyNodeIf",0,-1,true), com.sforce.soap.metadata.StrategyNodeIf[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldIf(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("_if", "http://soap.sforce.com/2006/04/metadata","if","http://soap.sforce.com/2006/04/metadata","StrategyNodeIf",0,-1,true), _if, _if__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : invocableAction of type {http://soap.sforce.com/2006/04/metadata}StrategyNodeInvocableAction
|
|
* java type: com.sforce.soap.metadata.StrategyNodeInvocableAction[]
|
|
*/
|
|
private boolean invocableAction__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.StrategyNodeInvocableAction[] invocableAction = new com.sforce.soap.metadata.StrategyNodeInvocableAction[0];
|
|
|
|
public com.sforce.soap.metadata.StrategyNodeInvocableAction[] getInvocableAction() {
|
|
return invocableAction;
|
|
}
|
|
|
|
public void setInvocableAction(com.sforce.soap.metadata.StrategyNodeInvocableAction[] invocableAction) {
|
|
this.invocableAction = invocableAction;
|
|
invocableAction__is_set = true;
|
|
}
|
|
|
|
protected void setInvocableAction(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("invocableAction", "http://soap.sforce.com/2006/04/metadata","invocableAction","http://soap.sforce.com/2006/04/metadata","StrategyNodeInvocableAction",0,-1,true))) {
|
|
setInvocableAction((com.sforce.soap.metadata.StrategyNodeInvocableAction[])__typeMapper.readObject(__in, _lookupTypeInfo("invocableAction", "http://soap.sforce.com/2006/04/metadata","invocableAction","http://soap.sforce.com/2006/04/metadata","StrategyNodeInvocableAction",0,-1,true), com.sforce.soap.metadata.StrategyNodeInvocableAction[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldInvocableAction(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("invocableAction", "http://soap.sforce.com/2006/04/metadata","invocableAction","http://soap.sforce.com/2006/04/metadata","StrategyNodeInvocableAction",0,-1,true), invocableAction, invocableAction__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : isTemplate of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean isTemplate__is_set = false;
|
|
|
|
private boolean isTemplate;
|
|
|
|
public boolean getIsTemplate() {
|
|
return isTemplate;
|
|
}
|
|
|
|
public boolean isIsTemplate() {
|
|
return isTemplate;
|
|
}
|
|
|
|
public void setIsTemplate(boolean isTemplate) {
|
|
this.isTemplate = isTemplate;
|
|
isTemplate__is_set = true;
|
|
}
|
|
|
|
protected void setIsTemplate(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("isTemplate", "http://soap.sforce.com/2006/04/metadata","isTemplate","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setIsTemplate(__typeMapper.readBoolean(__in, _lookupTypeInfo("isTemplate", "http://soap.sforce.com/2006/04/metadata","isTemplate","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldIsTemplate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isTemplate", "http://soap.sforce.com/2006/04/metadata","isTemplate","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isTemplate, isTemplate__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : label of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean label__is_set = false;
|
|
|
|
private java.lang.String label;
|
|
|
|
public java.lang.String getLabel() {
|
|
return label;
|
|
}
|
|
|
|
public void setLabel(java.lang.String label) {
|
|
this.label = label;
|
|
label__is_set = true;
|
|
}
|
|
|
|
protected void setLabel(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("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setLabel(__typeMapper.readString(__in, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldLabel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",1,1,true), label, label__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : map of type {http://soap.sforce.com/2006/04/metadata}StrategyNodeMap
|
|
* java type: com.sforce.soap.metadata.StrategyNodeMap[]
|
|
*/
|
|
private boolean map__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.StrategyNodeMap[] map = new com.sforce.soap.metadata.StrategyNodeMap[0];
|
|
|
|
public com.sforce.soap.metadata.StrategyNodeMap[] getMap() {
|
|
return map;
|
|
}
|
|
|
|
public void setMap(com.sforce.soap.metadata.StrategyNodeMap[] map) {
|
|
this.map = map;
|
|
map__is_set = true;
|
|
}
|
|
|
|
protected void setMap(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("map", "http://soap.sforce.com/2006/04/metadata","map","http://soap.sforce.com/2006/04/metadata","StrategyNodeMap",0,-1,true))) {
|
|
setMap((com.sforce.soap.metadata.StrategyNodeMap[])__typeMapper.readObject(__in, _lookupTypeInfo("map", "http://soap.sforce.com/2006/04/metadata","map","http://soap.sforce.com/2006/04/metadata","StrategyNodeMap",0,-1,true), com.sforce.soap.metadata.StrategyNodeMap[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldMap(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("map", "http://soap.sforce.com/2006/04/metadata","map","http://soap.sforce.com/2006/04/metadata","StrategyNodeMap",0,-1,true), map, map__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : mutuallyExclusive of type {http://soap.sforce.com/2006/04/metadata}StrategyNodeExclusive
|
|
* java type: com.sforce.soap.metadata.StrategyNodeExclusive[]
|
|
*/
|
|
private boolean mutuallyExclusive__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.StrategyNodeExclusive[] mutuallyExclusive = new com.sforce.soap.metadata.StrategyNodeExclusive[0];
|
|
|
|
public com.sforce.soap.metadata.StrategyNodeExclusive[] getMutuallyExclusive() {
|
|
return mutuallyExclusive;
|
|
}
|
|
|
|
public void setMutuallyExclusive(com.sforce.soap.metadata.StrategyNodeExclusive[] mutuallyExclusive) {
|
|
this.mutuallyExclusive = mutuallyExclusive;
|
|
mutuallyExclusive__is_set = true;
|
|
}
|
|
|
|
protected void setMutuallyExclusive(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("mutuallyExclusive", "http://soap.sforce.com/2006/04/metadata","mutuallyExclusive","http://soap.sforce.com/2006/04/metadata","StrategyNodeExclusive",0,-1,true))) {
|
|
setMutuallyExclusive((com.sforce.soap.metadata.StrategyNodeExclusive[])__typeMapper.readObject(__in, _lookupTypeInfo("mutuallyExclusive", "http://soap.sforce.com/2006/04/metadata","mutuallyExclusive","http://soap.sforce.com/2006/04/metadata","StrategyNodeExclusive",0,-1,true), com.sforce.soap.metadata.StrategyNodeExclusive[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldMutuallyExclusive(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("mutuallyExclusive", "http://soap.sforce.com/2006/04/metadata","mutuallyExclusive","http://soap.sforce.com/2006/04/metadata","StrategyNodeExclusive",0,-1,true), mutuallyExclusive, mutuallyExclusive__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : onBehalfOfExpression of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean onBehalfOfExpression__is_set = false;
|
|
|
|
private java.lang.String onBehalfOfExpression;
|
|
|
|
public java.lang.String getOnBehalfOfExpression() {
|
|
return onBehalfOfExpression;
|
|
}
|
|
|
|
public void setOnBehalfOfExpression(java.lang.String onBehalfOfExpression) {
|
|
this.onBehalfOfExpression = onBehalfOfExpression;
|
|
onBehalfOfExpression__is_set = true;
|
|
}
|
|
|
|
protected void setOnBehalfOfExpression(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("onBehalfOfExpression", "http://soap.sforce.com/2006/04/metadata","onBehalfOfExpression","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setOnBehalfOfExpression(__typeMapper.readString(__in, _lookupTypeInfo("onBehalfOfExpression", "http://soap.sforce.com/2006/04/metadata","onBehalfOfExpression","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldOnBehalfOfExpression(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("onBehalfOfExpression", "http://soap.sforce.com/2006/04/metadata","onBehalfOfExpression","http://www.w3.org/2001/XMLSchema","string",0,1,true), onBehalfOfExpression, onBehalfOfExpression__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : recommendationLimit of type {http://soap.sforce.com/2006/04/metadata}StrategyNodeRecommendationLimit
|
|
* java type: com.sforce.soap.metadata.StrategyNodeRecommendationLimit[]
|
|
*/
|
|
private boolean recommendationLimit__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.StrategyNodeRecommendationLimit[] recommendationLimit = new com.sforce.soap.metadata.StrategyNodeRecommendationLimit[0];
|
|
|
|
public com.sforce.soap.metadata.StrategyNodeRecommendationLimit[] getRecommendationLimit() {
|
|
return recommendationLimit;
|
|
}
|
|
|
|
public void setRecommendationLimit(com.sforce.soap.metadata.StrategyNodeRecommendationLimit[] recommendationLimit) {
|
|
this.recommendationLimit = recommendationLimit;
|
|
recommendationLimit__is_set = true;
|
|
}
|
|
|
|
protected void setRecommendationLimit(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("recommendationLimit", "http://soap.sforce.com/2006/04/metadata","recommendationLimit","http://soap.sforce.com/2006/04/metadata","StrategyNodeRecommendationLimit",0,-1,true))) {
|
|
setRecommendationLimit((com.sforce.soap.metadata.StrategyNodeRecommendationLimit[])__typeMapper.readObject(__in, _lookupTypeInfo("recommendationLimit", "http://soap.sforce.com/2006/04/metadata","recommendationLimit","http://soap.sforce.com/2006/04/metadata","StrategyNodeRecommendationLimit",0,-1,true), com.sforce.soap.metadata.StrategyNodeRecommendationLimit[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldRecommendationLimit(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("recommendationLimit", "http://soap.sforce.com/2006/04/metadata","recommendationLimit","http://soap.sforce.com/2006/04/metadata","StrategyNodeRecommendationLimit",0,-1,true), recommendationLimit, recommendationLimit__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : recommendationLoad of type {http://soap.sforce.com/2006/04/metadata}StrategyNodeRecommendationLoad
|
|
* java type: com.sforce.soap.metadata.StrategyNodeRecommendationLoad[]
|
|
*/
|
|
private boolean recommendationLoad__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.StrategyNodeRecommendationLoad[] recommendationLoad = new com.sforce.soap.metadata.StrategyNodeRecommendationLoad[0];
|
|
|
|
public com.sforce.soap.metadata.StrategyNodeRecommendationLoad[] getRecommendationLoad() {
|
|
return recommendationLoad;
|
|
}
|
|
|
|
public void setRecommendationLoad(com.sforce.soap.metadata.StrategyNodeRecommendationLoad[] recommendationLoad) {
|
|
this.recommendationLoad = recommendationLoad;
|
|
recommendationLoad__is_set = true;
|
|
}
|
|
|
|
protected void setRecommendationLoad(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("recommendationLoad", "http://soap.sforce.com/2006/04/metadata","recommendationLoad","http://soap.sforce.com/2006/04/metadata","StrategyNodeRecommendationLoad",0,-1,true))) {
|
|
setRecommendationLoad((com.sforce.soap.metadata.StrategyNodeRecommendationLoad[])__typeMapper.readObject(__in, _lookupTypeInfo("recommendationLoad", "http://soap.sforce.com/2006/04/metadata","recommendationLoad","http://soap.sforce.com/2006/04/metadata","StrategyNodeRecommendationLoad",0,-1,true), com.sforce.soap.metadata.StrategyNodeRecommendationLoad[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldRecommendationLoad(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("recommendationLoad", "http://soap.sforce.com/2006/04/metadata","recommendationLoad","http://soap.sforce.com/2006/04/metadata","StrategyNodeRecommendationLoad",0,-1,true), recommendationLoad, recommendationLoad__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : sort of type {http://soap.sforce.com/2006/04/metadata}StrategyNodeSort
|
|
* java type: com.sforce.soap.metadata.StrategyNodeSort[]
|
|
*/
|
|
private boolean sort__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.StrategyNodeSort[] sort = new com.sforce.soap.metadata.StrategyNodeSort[0];
|
|
|
|
public com.sforce.soap.metadata.StrategyNodeSort[] getSort() {
|
|
return sort;
|
|
}
|
|
|
|
public void setSort(com.sforce.soap.metadata.StrategyNodeSort[] sort) {
|
|
this.sort = sort;
|
|
sort__is_set = true;
|
|
}
|
|
|
|
protected void setSort(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("sort", "http://soap.sforce.com/2006/04/metadata","sort","http://soap.sforce.com/2006/04/metadata","StrategyNodeSort",0,-1,true))) {
|
|
setSort((com.sforce.soap.metadata.StrategyNodeSort[])__typeMapper.readObject(__in, _lookupTypeInfo("sort", "http://soap.sforce.com/2006/04/metadata","sort","http://soap.sforce.com/2006/04/metadata","StrategyNodeSort",0,-1,true), com.sforce.soap.metadata.StrategyNodeSort[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldSort(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("sort", "http://soap.sforce.com/2006/04/metadata","sort","http://soap.sforce.com/2006/04/metadata","StrategyNodeSort",0,-1,true), sort, sort__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : union of type {http://soap.sforce.com/2006/04/metadata}StrategyNodeUnion
|
|
* java type: com.sforce.soap.metadata.StrategyNodeUnion[]
|
|
*/
|
|
private boolean union__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.StrategyNodeUnion[] union = new com.sforce.soap.metadata.StrategyNodeUnion[0];
|
|
|
|
public com.sforce.soap.metadata.StrategyNodeUnion[] getUnion() {
|
|
return union;
|
|
}
|
|
|
|
public void setUnion(com.sforce.soap.metadata.StrategyNodeUnion[] union) {
|
|
this.union = union;
|
|
union__is_set = true;
|
|
}
|
|
|
|
protected void setUnion(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("union", "http://soap.sforce.com/2006/04/metadata","union","http://soap.sforce.com/2006/04/metadata","StrategyNodeUnion",0,-1,true))) {
|
|
setUnion((com.sforce.soap.metadata.StrategyNodeUnion[])__typeMapper.readObject(__in, _lookupTypeInfo("union", "http://soap.sforce.com/2006/04/metadata","union","http://soap.sforce.com/2006/04/metadata","StrategyNodeUnion",0,-1,true), com.sforce.soap.metadata.StrategyNodeUnion[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldUnion(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("union", "http://soap.sforce.com/2006/04/metadata","union","http://soap.sforce.com/2006/04/metadata","StrategyNodeUnion",0,-1,true), union, union__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", "RecommendationStrategy");
|
|
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("[RecommendationStrategy ");
|
|
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 {
|
|
writeFieldActionContext(__out, __typeMapper);
|
|
writeFieldContextRecordType(__out, __typeMapper);
|
|
writeFieldDescription(__out, __typeMapper);
|
|
writeFieldFilter(__out, __typeMapper);
|
|
writeFieldIf(__out, __typeMapper);
|
|
writeFieldInvocableAction(__out, __typeMapper);
|
|
writeFieldIsTemplate(__out, __typeMapper);
|
|
writeFieldLabel(__out, __typeMapper);
|
|
writeFieldMap(__out, __typeMapper);
|
|
writeFieldMutuallyExclusive(__out, __typeMapper);
|
|
writeFieldOnBehalfOfExpression(__out, __typeMapper);
|
|
writeFieldRecommendationLimit(__out, __typeMapper);
|
|
writeFieldRecommendationLoad(__out, __typeMapper);
|
|
writeFieldSort(__out, __typeMapper);
|
|
writeFieldUnion(__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 {
|
|
setActionContext(__in, __typeMapper);
|
|
setContextRecordType(__in, __typeMapper);
|
|
setDescription(__in, __typeMapper);
|
|
setFilter(__in, __typeMapper);
|
|
setIf(__in, __typeMapper);
|
|
setInvocableAction(__in, __typeMapper);
|
|
setIsTemplate(__in, __typeMapper);
|
|
setLabel(__in, __typeMapper);
|
|
setMap(__in, __typeMapper);
|
|
setMutuallyExclusive(__in, __typeMapper);
|
|
setOnBehalfOfExpression(__in, __typeMapper);
|
|
setRecommendationLimit(__in, __typeMapper);
|
|
setRecommendationLoad(__in, __typeMapper);
|
|
setSort(__in, __typeMapper);
|
|
setUnion(__in, __typeMapper);
|
|
}
|
|
|
|
private void toString1(StringBuilder sb) {
|
|
toStringHelper(sb, "actionContext", actionContext);
|
|
toStringHelper(sb, "contextRecordType", contextRecordType);
|
|
toStringHelper(sb, "description", description);
|
|
toStringHelper(sb, "filter", filter);
|
|
toStringHelper(sb, "_if", _if);
|
|
toStringHelper(sb, "invocableAction", invocableAction);
|
|
toStringHelper(sb, "isTemplate", isTemplate);
|
|
toStringHelper(sb, "label", label);
|
|
toStringHelper(sb, "map", map);
|
|
toStringHelper(sb, "mutuallyExclusive", mutuallyExclusive);
|
|
toStringHelper(sb, "onBehalfOfExpression", onBehalfOfExpression);
|
|
toStringHelper(sb, "recommendationLimit", recommendationLimit);
|
|
toStringHelper(sb, "recommendationLoad", recommendationLoad);
|
|
toStringHelper(sb, "sort", sort);
|
|
toStringHelper(sb, "union", union);
|
|
}
|
|
|
|
|
|
}
|