466 lines
24 KiB
Java
466 lines
24 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 ConvMsgExternalTemplateVersion implements com.sforce.ws.bind.XMLizable {
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public ConvMsgExternalTemplateVersion() {}
|
|
|
|
/* 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 : accountIdentifier of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean accountIdentifier__is_set = false;
|
|
|
|
private java.lang.String accountIdentifier;
|
|
|
|
public java.lang.String getAccountIdentifier() {
|
|
return accountIdentifier;
|
|
}
|
|
|
|
public void setAccountIdentifier(java.lang.String accountIdentifier) {
|
|
this.accountIdentifier = accountIdentifier;
|
|
accountIdentifier__is_set = true;
|
|
}
|
|
|
|
protected void setAccountIdentifier(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("accountIdentifier", "http://soap.sforce.com/2006/04/metadata","accountIdentifier","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setAccountIdentifier(__typeMapper.readString(__in, _lookupTypeInfo("accountIdentifier", "http://soap.sforce.com/2006/04/metadata","accountIdentifier","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldAccountIdentifier(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("accountIdentifier", "http://soap.sforce.com/2006/04/metadata","accountIdentifier","http://www.w3.org/2001/XMLSchema","string",1,1,true), accountIdentifier, accountIdentifier__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : accountName of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean accountName__is_set = false;
|
|
|
|
private java.lang.String accountName;
|
|
|
|
public java.lang.String getAccountName() {
|
|
return accountName;
|
|
}
|
|
|
|
public void setAccountName(java.lang.String accountName) {
|
|
this.accountName = accountName;
|
|
accountName__is_set = true;
|
|
}
|
|
|
|
protected void setAccountName(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("accountName", "http://soap.sforce.com/2006/04/metadata","accountName","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setAccountName(__typeMapper.readString(__in, _lookupTypeInfo("accountName", "http://soap.sforce.com/2006/04/metadata","accountName","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldAccountName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("accountName", "http://soap.sforce.com/2006/04/metadata","accountName","http://www.w3.org/2001/XMLSchema","string",1,1,true), accountName, accountName__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : errorCode of type {http://soap.sforce.com/2006/04/metadata}ConvMsgExternalErrorCode
|
|
* java type: com.sforce.soap.metadata.ConvMsgExternalErrorCode
|
|
*/
|
|
private boolean errorCode__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.ConvMsgExternalErrorCode errorCode;
|
|
|
|
public com.sforce.soap.metadata.ConvMsgExternalErrorCode getErrorCode() {
|
|
return errorCode;
|
|
}
|
|
|
|
public void setErrorCode(com.sforce.soap.metadata.ConvMsgExternalErrorCode errorCode) {
|
|
this.errorCode = errorCode;
|
|
errorCode__is_set = true;
|
|
}
|
|
|
|
protected void setErrorCode(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("errorCode", "http://soap.sforce.com/2006/04/metadata","errorCode","http://soap.sforce.com/2006/04/metadata","ConvMsgExternalErrorCode",0,1,true))) {
|
|
setErrorCode((com.sforce.soap.metadata.ConvMsgExternalErrorCode)__typeMapper.readObject(__in, _lookupTypeInfo("errorCode", "http://soap.sforce.com/2006/04/metadata","errorCode","http://soap.sforce.com/2006/04/metadata","ConvMsgExternalErrorCode",0,1,true), com.sforce.soap.metadata.ConvMsgExternalErrorCode.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldErrorCode(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("errorCode", "http://soap.sforce.com/2006/04/metadata","errorCode","http://soap.sforce.com/2006/04/metadata","ConvMsgExternalErrorCode",0,1,true), errorCode, errorCode__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : errorMessage of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean errorMessage__is_set = false;
|
|
|
|
private java.lang.String errorMessage;
|
|
|
|
public java.lang.String getErrorMessage() {
|
|
return errorMessage;
|
|
}
|
|
|
|
public void setErrorMessage(java.lang.String errorMessage) {
|
|
this.errorMessage = errorMessage;
|
|
errorMessage__is_set = true;
|
|
}
|
|
|
|
protected void setErrorMessage(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("errorMessage", "http://soap.sforce.com/2006/04/metadata","errorMessage","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setErrorMessage(__typeMapper.readString(__in, _lookupTypeInfo("errorMessage", "http://soap.sforce.com/2006/04/metadata","errorMessage","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldErrorMessage(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("errorMessage", "http://soap.sforce.com/2006/04/metadata","errorMessage","http://www.w3.org/2001/XMLSchema","string",0,1,true), errorMessage, errorMessage__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : externalConfigJson of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean externalConfigJson__is_set = false;
|
|
|
|
private java.lang.String externalConfigJson;
|
|
|
|
public java.lang.String getExternalConfigJson() {
|
|
return externalConfigJson;
|
|
}
|
|
|
|
public void setExternalConfigJson(java.lang.String externalConfigJson) {
|
|
this.externalConfigJson = externalConfigJson;
|
|
externalConfigJson__is_set = true;
|
|
}
|
|
|
|
protected void setExternalConfigJson(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("externalConfigJson", "http://soap.sforce.com/2006/04/metadata","externalConfigJson","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setExternalConfigJson(__typeMapper.readString(__in, _lookupTypeInfo("externalConfigJson", "http://soap.sforce.com/2006/04/metadata","externalConfigJson","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldExternalConfigJson(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("externalConfigJson", "http://soap.sforce.com/2006/04/metadata","externalConfigJson","http://www.w3.org/2001/XMLSchema","string",0,1,true), externalConfigJson, externalConfigJson__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : language of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean language__is_set = false;
|
|
|
|
private java.lang.String language;
|
|
|
|
public java.lang.String getLanguage() {
|
|
return language;
|
|
}
|
|
|
|
public void setLanguage(java.lang.String language) {
|
|
this.language = language;
|
|
language__is_set = true;
|
|
}
|
|
|
|
protected void setLanguage(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("language", "http://soap.sforce.com/2006/04/metadata","language","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setLanguage(__typeMapper.readString(__in, _lookupTypeInfo("language", "http://soap.sforce.com/2006/04/metadata","language","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldLanguage(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("language", "http://soap.sforce.com/2006/04/metadata","language","http://www.w3.org/2001/XMLSchema","string",1,1,true), language, language__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : layoutJson of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean layoutJson__is_set = false;
|
|
|
|
private java.lang.String layoutJson;
|
|
|
|
public java.lang.String getLayoutJson() {
|
|
return layoutJson;
|
|
}
|
|
|
|
public void setLayoutJson(java.lang.String layoutJson) {
|
|
this.layoutJson = layoutJson;
|
|
layoutJson__is_set = true;
|
|
}
|
|
|
|
protected void setLayoutJson(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("layoutJson", "http://soap.sforce.com/2006/04/metadata","layoutJson","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setLayoutJson(__typeMapper.readString(__in, _lookupTypeInfo("layoutJson", "http://soap.sforce.com/2006/04/metadata","layoutJson","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldLayoutJson(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("layoutJson", "http://soap.sforce.com/2006/04/metadata","layoutJson","http://www.w3.org/2001/XMLSchema","string",0,1,true), layoutJson, layoutJson__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : rejectionReason of type {http://soap.sforce.com/2006/04/metadata}ConvMsgExternalRejectionReason
|
|
* java type: com.sforce.soap.metadata.ConvMsgExternalRejectionReason
|
|
*/
|
|
private boolean rejectionReason__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.ConvMsgExternalRejectionReason rejectionReason;
|
|
|
|
public com.sforce.soap.metadata.ConvMsgExternalRejectionReason getRejectionReason() {
|
|
return rejectionReason;
|
|
}
|
|
|
|
public void setRejectionReason(com.sforce.soap.metadata.ConvMsgExternalRejectionReason rejectionReason) {
|
|
this.rejectionReason = rejectionReason;
|
|
rejectionReason__is_set = true;
|
|
}
|
|
|
|
protected void setRejectionReason(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("rejectionReason", "http://soap.sforce.com/2006/04/metadata","rejectionReason","http://soap.sforce.com/2006/04/metadata","ConvMsgExternalRejectionReason",0,1,true))) {
|
|
setRejectionReason((com.sforce.soap.metadata.ConvMsgExternalRejectionReason)__typeMapper.readObject(__in, _lookupTypeInfo("rejectionReason", "http://soap.sforce.com/2006/04/metadata","rejectionReason","http://soap.sforce.com/2006/04/metadata","ConvMsgExternalRejectionReason",0,1,true), com.sforce.soap.metadata.ConvMsgExternalRejectionReason.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldRejectionReason(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("rejectionReason", "http://soap.sforce.com/2006/04/metadata","rejectionReason","http://soap.sforce.com/2006/04/metadata","ConvMsgExternalRejectionReason",0,1,true), rejectionReason, rejectionReason__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : status of type {http://soap.sforce.com/2006/04/metadata}ConvMsgExternalTemplateVersionStatus
|
|
* java type: com.sforce.soap.metadata.ConvMsgExternalTemplateVersionStatus
|
|
*/
|
|
private boolean status__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.ConvMsgExternalTemplateVersionStatus status;
|
|
|
|
public com.sforce.soap.metadata.ConvMsgExternalTemplateVersionStatus getStatus() {
|
|
return status;
|
|
}
|
|
|
|
public void setStatus(com.sforce.soap.metadata.ConvMsgExternalTemplateVersionStatus 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","ConvMsgExternalTemplateVersionStatus",1,1,true))) {
|
|
setStatus((com.sforce.soap.metadata.ConvMsgExternalTemplateVersionStatus)__typeMapper.readObject(__in, _lookupTypeInfo("status", "http://soap.sforce.com/2006/04/metadata","status","http://soap.sforce.com/2006/04/metadata","ConvMsgExternalTemplateVersionStatus",1,1,true), com.sforce.soap.metadata.ConvMsgExternalTemplateVersionStatus.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","ConvMsgExternalTemplateVersionStatus",1,1,true), status, status__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : templateName of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean templateName__is_set = false;
|
|
|
|
private java.lang.String templateName;
|
|
|
|
public java.lang.String getTemplateName() {
|
|
return templateName;
|
|
}
|
|
|
|
public void setTemplateName(java.lang.String templateName) {
|
|
this.templateName = templateName;
|
|
templateName__is_set = true;
|
|
}
|
|
|
|
protected void setTemplateName(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("templateName", "http://soap.sforce.com/2006/04/metadata","templateName","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setTemplateName(__typeMapper.readString(__in, _lookupTypeInfo("templateName", "http://soap.sforce.com/2006/04/metadata","templateName","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldTemplateName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("templateName", "http://soap.sforce.com/2006/04/metadata","templateName","http://www.w3.org/2001/XMLSchema","string",1,1,true), templateName, templateName__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : templateVersionIdentifier of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean templateVersionIdentifier__is_set = false;
|
|
|
|
private java.lang.String templateVersionIdentifier;
|
|
|
|
public java.lang.String getTemplateVersionIdentifier() {
|
|
return templateVersionIdentifier;
|
|
}
|
|
|
|
public void setTemplateVersionIdentifier(java.lang.String templateVersionIdentifier) {
|
|
this.templateVersionIdentifier = templateVersionIdentifier;
|
|
templateVersionIdentifier__is_set = true;
|
|
}
|
|
|
|
protected void setTemplateVersionIdentifier(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("templateVersionIdentifier", "http://soap.sforce.com/2006/04/metadata","templateVersionIdentifier","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setTemplateVersionIdentifier(__typeMapper.readString(__in, _lookupTypeInfo("templateVersionIdentifier", "http://soap.sforce.com/2006/04/metadata","templateVersionIdentifier","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldTemplateVersionIdentifier(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("templateVersionIdentifier", "http://soap.sforce.com/2006/04/metadata","templateVersionIdentifier","http://www.w3.org/2001/XMLSchema","string",1,1,true), templateVersionIdentifier, templateVersionIdentifier__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : type of type {http://soap.sforce.com/2006/04/metadata}ConvMsgExternalTemplateVersionType
|
|
* java type: com.sforce.soap.metadata.ConvMsgExternalTemplateVersionType
|
|
*/
|
|
private boolean type__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.ConvMsgExternalTemplateVersionType type;
|
|
|
|
public com.sforce.soap.metadata.ConvMsgExternalTemplateVersionType getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(com.sforce.soap.metadata.ConvMsgExternalTemplateVersionType 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.isElement(__in, _lookupTypeInfo("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","ConvMsgExternalTemplateVersionType",0,1,true))) {
|
|
setType((com.sforce.soap.metadata.ConvMsgExternalTemplateVersionType)__typeMapper.readObject(__in, _lookupTypeInfo("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","ConvMsgExternalTemplateVersionType",0,1,true), com.sforce.soap.metadata.ConvMsgExternalTemplateVersionType.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","ConvMsgExternalTemplateVersionType",0,1,true), type, type__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());
|
|
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 {
|
|
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 {
|
|
loadFields1(__in, __typeMapper);
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
java.lang.StringBuilder sb = new java.lang.StringBuilder();
|
|
sb.append("[ConvMsgExternalTemplateVersion ");
|
|
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 {
|
|
writeFieldAccountIdentifier(__out, __typeMapper);
|
|
writeFieldAccountName(__out, __typeMapper);
|
|
writeFieldErrorCode(__out, __typeMapper);
|
|
writeFieldErrorMessage(__out, __typeMapper);
|
|
writeFieldExternalConfigJson(__out, __typeMapper);
|
|
writeFieldLanguage(__out, __typeMapper);
|
|
writeFieldLayoutJson(__out, __typeMapper);
|
|
writeFieldRejectionReason(__out, __typeMapper);
|
|
writeFieldStatus(__out, __typeMapper);
|
|
writeFieldTemplateName(__out, __typeMapper);
|
|
writeFieldTemplateVersionIdentifier(__out, __typeMapper);
|
|
writeFieldType(__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 {
|
|
setAccountIdentifier(__in, __typeMapper);
|
|
setAccountName(__in, __typeMapper);
|
|
setErrorCode(__in, __typeMapper);
|
|
setErrorMessage(__in, __typeMapper);
|
|
setExternalConfigJson(__in, __typeMapper);
|
|
setLanguage(__in, __typeMapper);
|
|
setLayoutJson(__in, __typeMapper);
|
|
setRejectionReason(__in, __typeMapper);
|
|
setStatus(__in, __typeMapper);
|
|
setTemplateName(__in, __typeMapper);
|
|
setTemplateVersionIdentifier(__in, __typeMapper);
|
|
setType(__in, __typeMapper);
|
|
}
|
|
|
|
private void toString1(StringBuilder sb) {
|
|
toStringHelper(sb, "accountIdentifier", accountIdentifier);
|
|
toStringHelper(sb, "accountName", accountName);
|
|
toStringHelper(sb, "errorCode", errorCode);
|
|
toStringHelper(sb, "errorMessage", errorMessage);
|
|
toStringHelper(sb, "externalConfigJson", externalConfigJson);
|
|
toStringHelper(sb, "language", language);
|
|
toStringHelper(sb, "layoutJson", layoutJson);
|
|
toStringHelper(sb, "rejectionReason", rejectionReason);
|
|
toStringHelper(sb, "status", status);
|
|
toStringHelper(sb, "templateName", templateName);
|
|
toStringHelper(sb, "templateVersionIdentifier", templateVersionIdentifier);
|
|
toStringHelper(sb, "type", type);
|
|
}
|
|
|
|
|
|
}
|