com.sforce.soap.metadata.ServiceChannel 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 ServiceChannel extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public ServiceChannel() {}
/* 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 : acwExtensionDuration of type {http://www.w3.org/2001/XMLSchema}int
* java type: int
*/
private boolean acwExtensionDuration__is_set = false;
private int acwExtensionDuration;
public int getAcwExtensionDuration() {
return acwExtensionDuration;
}
public void setAcwExtensionDuration(int acwExtensionDuration) {
this.acwExtensionDuration = acwExtensionDuration;
acwExtensionDuration__is_set = true;
}
protected void setAcwExtensionDuration(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("acwExtensionDuration", "http://soap.sforce.com/2006/04/metadata","acwExtensionDuration","http://www.w3.org/2001/XMLSchema","int",0,1,true))) {
setAcwExtensionDuration((int)__typeMapper.readInt(__in, _lookupTypeInfo("acwExtensionDuration", "http://soap.sforce.com/2006/04/metadata","acwExtensionDuration","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class));
}
}
private void writeFieldAcwExtensionDuration(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("acwExtensionDuration", "http://soap.sforce.com/2006/04/metadata","acwExtensionDuration","http://www.w3.org/2001/XMLSchema","int",0,1,true), acwExtensionDuration, acwExtensionDuration__is_set);
}
/**
* element : afterConvoWorkMaxTime of type {http://www.w3.org/2001/XMLSchema}int
* java type: int
*/
private boolean afterConvoWorkMaxTime__is_set = false;
private int afterConvoWorkMaxTime;
public int getAfterConvoWorkMaxTime() {
return afterConvoWorkMaxTime;
}
public void setAfterConvoWorkMaxTime(int afterConvoWorkMaxTime) {
this.afterConvoWorkMaxTime = afterConvoWorkMaxTime;
afterConvoWorkMaxTime__is_set = true;
}
protected void setAfterConvoWorkMaxTime(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("afterConvoWorkMaxTime", "http://soap.sforce.com/2006/04/metadata","afterConvoWorkMaxTime","http://www.w3.org/2001/XMLSchema","int",0,1,true))) {
setAfterConvoWorkMaxTime((int)__typeMapper.readInt(__in, _lookupTypeInfo("afterConvoWorkMaxTime", "http://soap.sforce.com/2006/04/metadata","afterConvoWorkMaxTime","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class));
}
}
private void writeFieldAfterConvoWorkMaxTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("afterConvoWorkMaxTime", "http://soap.sforce.com/2006/04/metadata","afterConvoWorkMaxTime","http://www.w3.org/2001/XMLSchema","int",0,1,true), afterConvoWorkMaxTime, afterConvoWorkMaxTime__is_set);
}
/**
* element : doesMinimizeWidgetOnAccept of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean doesMinimizeWidgetOnAccept__is_set = false;
private boolean doesMinimizeWidgetOnAccept;
public boolean getDoesMinimizeWidgetOnAccept() {
return doesMinimizeWidgetOnAccept;
}
public boolean isDoesMinimizeWidgetOnAccept() {
return doesMinimizeWidgetOnAccept;
}
public void setDoesMinimizeWidgetOnAccept(boolean doesMinimizeWidgetOnAccept) {
this.doesMinimizeWidgetOnAccept = doesMinimizeWidgetOnAccept;
doesMinimizeWidgetOnAccept__is_set = true;
}
protected void setDoesMinimizeWidgetOnAccept(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("doesMinimizeWidgetOnAccept", "http://soap.sforce.com/2006/04/metadata","doesMinimizeWidgetOnAccept","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setDoesMinimizeWidgetOnAccept(__typeMapper.readBoolean(__in, _lookupTypeInfo("doesMinimizeWidgetOnAccept", "http://soap.sforce.com/2006/04/metadata","doesMinimizeWidgetOnAccept","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldDoesMinimizeWidgetOnAccept(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("doesMinimizeWidgetOnAccept", "http://soap.sforce.com/2006/04/metadata","doesMinimizeWidgetOnAccept","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), doesMinimizeWidgetOnAccept, doesMinimizeWidgetOnAccept__is_set);
}
/**
* element : hasAcwExtensionEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean hasAcwExtensionEnabled__is_set = false;
private boolean hasAcwExtensionEnabled;
public boolean getHasAcwExtensionEnabled() {
return hasAcwExtensionEnabled;
}
public boolean isHasAcwExtensionEnabled() {
return hasAcwExtensionEnabled;
}
public void setHasAcwExtensionEnabled(boolean hasAcwExtensionEnabled) {
this.hasAcwExtensionEnabled = hasAcwExtensionEnabled;
hasAcwExtensionEnabled__is_set = true;
}
protected void setHasAcwExtensionEnabled(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("hasAcwExtensionEnabled", "http://soap.sforce.com/2006/04/metadata","hasAcwExtensionEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setHasAcwExtensionEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("hasAcwExtensionEnabled", "http://soap.sforce.com/2006/04/metadata","hasAcwExtensionEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldHasAcwExtensionEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("hasAcwExtensionEnabled", "http://soap.sforce.com/2006/04/metadata","hasAcwExtensionEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), hasAcwExtensionEnabled, hasAcwExtensionEnabled__is_set);
}
/**
* element : hasAfterConvoWorkTimer of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean hasAfterConvoWorkTimer__is_set = false;
private boolean hasAfterConvoWorkTimer;
public boolean getHasAfterConvoWorkTimer() {
return hasAfterConvoWorkTimer;
}
public boolean isHasAfterConvoWorkTimer() {
return hasAfterConvoWorkTimer;
}
public void setHasAfterConvoWorkTimer(boolean hasAfterConvoWorkTimer) {
this.hasAfterConvoWorkTimer = hasAfterConvoWorkTimer;
hasAfterConvoWorkTimer__is_set = true;
}
protected void setHasAfterConvoWorkTimer(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("hasAfterConvoWorkTimer", "http://soap.sforce.com/2006/04/metadata","hasAfterConvoWorkTimer","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setHasAfterConvoWorkTimer(__typeMapper.readBoolean(__in, _lookupTypeInfo("hasAfterConvoWorkTimer", "http://soap.sforce.com/2006/04/metadata","hasAfterConvoWorkTimer","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldHasAfterConvoWorkTimer(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("hasAfterConvoWorkTimer", "http://soap.sforce.com/2006/04/metadata","hasAfterConvoWorkTimer","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), hasAfterConvoWorkTimer, hasAfterConvoWorkTimer__is_set);
}
/**
* element : hasAutoAcceptEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean hasAutoAcceptEnabled__is_set = false;
private boolean hasAutoAcceptEnabled;
public boolean getHasAutoAcceptEnabled() {
return hasAutoAcceptEnabled;
}
public boolean isHasAutoAcceptEnabled() {
return hasAutoAcceptEnabled;
}
public void setHasAutoAcceptEnabled(boolean hasAutoAcceptEnabled) {
this.hasAutoAcceptEnabled = hasAutoAcceptEnabled;
hasAutoAcceptEnabled__is_set = true;
}
protected void setHasAutoAcceptEnabled(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("hasAutoAcceptEnabled", "http://soap.sforce.com/2006/04/metadata","hasAutoAcceptEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setHasAutoAcceptEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("hasAutoAcceptEnabled", "http://soap.sforce.com/2006/04/metadata","hasAutoAcceptEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldHasAutoAcceptEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("hasAutoAcceptEnabled", "http://soap.sforce.com/2006/04/metadata","hasAutoAcceptEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), hasAutoAcceptEnabled, hasAutoAcceptEnabled__is_set);
}
/**
* element : interactionComponent of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean interactionComponent__is_set = false;
private java.lang.String interactionComponent;
public java.lang.String getInteractionComponent() {
return interactionComponent;
}
public void setInteractionComponent(java.lang.String interactionComponent) {
this.interactionComponent = interactionComponent;
interactionComponent__is_set = true;
}
protected void setInteractionComponent(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("interactionComponent", "http://soap.sforce.com/2006/04/metadata","interactionComponent","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setInteractionComponent(__typeMapper.readString(__in, _lookupTypeInfo("interactionComponent", "http://soap.sforce.com/2006/04/metadata","interactionComponent","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldInteractionComponent(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("interactionComponent", "http://soap.sforce.com/2006/04/metadata","interactionComponent","http://www.w3.org/2001/XMLSchema","string",0,1,true), interactionComponent, interactionComponent__is_set);
}
/**
* element : isInterruptible of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean isInterruptible__is_set = false;
private boolean isInterruptible;
public boolean getIsInterruptible() {
return isInterruptible;
}
public boolean isIsInterruptible() {
return isInterruptible;
}
public void setIsInterruptible(boolean isInterruptible) {
this.isInterruptible = isInterruptible;
isInterruptible__is_set = true;
}
protected void setIsInterruptible(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("isInterruptible", "http://soap.sforce.com/2006/04/metadata","isInterruptible","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setIsInterruptible(__typeMapper.readBoolean(__in, _lookupTypeInfo("isInterruptible", "http://soap.sforce.com/2006/04/metadata","isInterruptible","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldIsInterruptible(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("isInterruptible", "http://soap.sforce.com/2006/04/metadata","isInterruptible","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isInterruptible, isInterruptible__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 : maxExtensions of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean maxExtensions__is_set = false;
private java.lang.String maxExtensions;
public java.lang.String getMaxExtensions() {
return maxExtensions;
}
public void setMaxExtensions(java.lang.String maxExtensions) {
this.maxExtensions = maxExtensions;
maxExtensions__is_set = true;
}
protected void setMaxExtensions(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("maxExtensions", "http://soap.sforce.com/2006/04/metadata","maxExtensions","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setMaxExtensions(__typeMapper.readString(__in, _lookupTypeInfo("maxExtensions", "http://soap.sforce.com/2006/04/metadata","maxExtensions","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldMaxExtensions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("maxExtensions", "http://soap.sforce.com/2006/04/metadata","maxExtensions","http://www.w3.org/2001/XMLSchema","string",0,1,true), maxExtensions, maxExtensions__is_set);
}
/**
* element : relatedEntityType of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean relatedEntityType__is_set = false;
private java.lang.String relatedEntityType;
public java.lang.String getRelatedEntityType() {
return relatedEntityType;
}
public void setRelatedEntityType(java.lang.String relatedEntityType) {
this.relatedEntityType = relatedEntityType;
relatedEntityType__is_set = true;
}
protected void setRelatedEntityType(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("relatedEntityType", "http://soap.sforce.com/2006/04/metadata","relatedEntityType","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
setRelatedEntityType(__typeMapper.readString(__in, _lookupTypeInfo("relatedEntityType", "http://soap.sforce.com/2006/04/metadata","relatedEntityType","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
}
}
private void writeFieldRelatedEntityType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("relatedEntityType", "http://soap.sforce.com/2006/04/metadata","relatedEntityType","http://www.w3.org/2001/XMLSchema","string",1,1,true), relatedEntityType, relatedEntityType__is_set);
}
/**
* element : secondaryRoutingPriorityField of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean secondaryRoutingPriorityField__is_set = false;
private java.lang.String secondaryRoutingPriorityField;
public java.lang.String getSecondaryRoutingPriorityField() {
return secondaryRoutingPriorityField;
}
public void setSecondaryRoutingPriorityField(java.lang.String secondaryRoutingPriorityField) {
this.secondaryRoutingPriorityField = secondaryRoutingPriorityField;
secondaryRoutingPriorityField__is_set = true;
}
protected void setSecondaryRoutingPriorityField(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("secondaryRoutingPriorityField", "http://soap.sforce.com/2006/04/metadata","secondaryRoutingPriorityField","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setSecondaryRoutingPriorityField(__typeMapper.readString(__in, _lookupTypeInfo("secondaryRoutingPriorityField", "http://soap.sforce.com/2006/04/metadata","secondaryRoutingPriorityField","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldSecondaryRoutingPriorityField(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("secondaryRoutingPriorityField", "http://soap.sforce.com/2006/04/metadata","secondaryRoutingPriorityField","http://www.w3.org/2001/XMLSchema","string",0,1,true), secondaryRoutingPriorityField, secondaryRoutingPriorityField__is_set);
}
/**
* element : serviceChannelFieldPriorities of type {http://soap.sforce.com/2006/04/metadata}ServiceChannelFieldPriority
* java type: com.sforce.soap.metadata.ServiceChannelFieldPriority[]
*/
private boolean serviceChannelFieldPriorities__is_set = false;
private com.sforce.soap.metadata.ServiceChannelFieldPriority[] serviceChannelFieldPriorities = new com.sforce.soap.metadata.ServiceChannelFieldPriority[0];
public com.sforce.soap.metadata.ServiceChannelFieldPriority[] getServiceChannelFieldPriorities() {
return serviceChannelFieldPriorities;
}
public void setServiceChannelFieldPriorities(com.sforce.soap.metadata.ServiceChannelFieldPriority[] serviceChannelFieldPriorities) {
this.serviceChannelFieldPriorities = serviceChannelFieldPriorities;
serviceChannelFieldPriorities__is_set = true;
}
protected void setServiceChannelFieldPriorities(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("serviceChannelFieldPriorities", "http://soap.sforce.com/2006/04/metadata","serviceChannelFieldPriorities","http://soap.sforce.com/2006/04/metadata","ServiceChannelFieldPriority",0,-1,true))) {
setServiceChannelFieldPriorities((com.sforce.soap.metadata.ServiceChannelFieldPriority[])__typeMapper.readObject(__in, _lookupTypeInfo("serviceChannelFieldPriorities", "http://soap.sforce.com/2006/04/metadata","serviceChannelFieldPriorities","http://soap.sforce.com/2006/04/metadata","ServiceChannelFieldPriority",0,-1,true), com.sforce.soap.metadata.ServiceChannelFieldPriority[].class));
}
}
private void writeFieldServiceChannelFieldPriorities(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("serviceChannelFieldPriorities", "http://soap.sforce.com/2006/04/metadata","serviceChannelFieldPriorities","http://soap.sforce.com/2006/04/metadata","ServiceChannelFieldPriority",0,-1,true), serviceChannelFieldPriorities, serviceChannelFieldPriorities__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", "ServiceChannel");
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("[ServiceChannel ");
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 {
writeFieldAcwExtensionDuration(__out, __typeMapper);
writeFieldAfterConvoWorkMaxTime(__out, __typeMapper);
writeFieldDoesMinimizeWidgetOnAccept(__out, __typeMapper);
writeFieldHasAcwExtensionEnabled(__out, __typeMapper);
writeFieldHasAfterConvoWorkTimer(__out, __typeMapper);
writeFieldHasAutoAcceptEnabled(__out, __typeMapper);
writeFieldInteractionComponent(__out, __typeMapper);
writeFieldIsInterruptible(__out, __typeMapper);
writeFieldLabel(__out, __typeMapper);
writeFieldMaxExtensions(__out, __typeMapper);
writeFieldRelatedEntityType(__out, __typeMapper);
writeFieldSecondaryRoutingPriorityField(__out, __typeMapper);
writeFieldServiceChannelFieldPriorities(__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 {
setAcwExtensionDuration(__in, __typeMapper);
setAfterConvoWorkMaxTime(__in, __typeMapper);
setDoesMinimizeWidgetOnAccept(__in, __typeMapper);
setHasAcwExtensionEnabled(__in, __typeMapper);
setHasAfterConvoWorkTimer(__in, __typeMapper);
setHasAutoAcceptEnabled(__in, __typeMapper);
setInteractionComponent(__in, __typeMapper);
setIsInterruptible(__in, __typeMapper);
setLabel(__in, __typeMapper);
setMaxExtensions(__in, __typeMapper);
setRelatedEntityType(__in, __typeMapper);
setSecondaryRoutingPriorityField(__in, __typeMapper);
setServiceChannelFieldPriorities(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "acwExtensionDuration", acwExtensionDuration);
toStringHelper(sb, "afterConvoWorkMaxTime", afterConvoWorkMaxTime);
toStringHelper(sb, "doesMinimizeWidgetOnAccept", doesMinimizeWidgetOnAccept);
toStringHelper(sb, "hasAcwExtensionEnabled", hasAcwExtensionEnabled);
toStringHelper(sb, "hasAfterConvoWorkTimer", hasAfterConvoWorkTimer);
toStringHelper(sb, "hasAutoAcceptEnabled", hasAutoAcceptEnabled);
toStringHelper(sb, "interactionComponent", interactionComponent);
toStringHelper(sb, "isInterruptible", isInterruptible);
toStringHelper(sb, "label", label);
toStringHelper(sb, "maxExtensions", maxExtensions);
toStringHelper(sb, "relatedEntityType", relatedEntityType);
toStringHelper(sb, "secondaryRoutingPriorityField", secondaryRoutingPriorityField);
toStringHelper(sb, "serviceChannelFieldPriorities", serviceChannelFieldPriorities);
}
}