342 lines
17 KiB
Java
342 lines
17 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 OmniExtTrackingEventDef extends com.sforce.soap.tooling.metadata.Metadata {
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public OmniExtTrackingEventDef() {}
|
|
|
|
/* 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 : componentType of type {urn:tooling.soap.sforce.com}OmniAnalyticsComponentType
|
|
* java type: com.sforce.soap.tooling.OmniAnalyticsComponentType
|
|
*/
|
|
private boolean componentType__is_set = false;
|
|
|
|
private com.sforce.soap.tooling.OmniAnalyticsComponentType componentType;
|
|
|
|
public com.sforce.soap.tooling.OmniAnalyticsComponentType getComponentType() {
|
|
return componentType;
|
|
}
|
|
|
|
public void setComponentType(com.sforce.soap.tooling.OmniAnalyticsComponentType componentType) {
|
|
this.componentType = componentType;
|
|
componentType__is_set = true;
|
|
}
|
|
|
|
protected void setComponentType(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("componentType", "urn:metadata.tooling.soap.sforce.com","componentType","urn:tooling.soap.sforce.com","OmniAnalyticsComponentType",1,1,true))) {
|
|
setComponentType((com.sforce.soap.tooling.OmniAnalyticsComponentType)__typeMapper.readObject(__in, _lookupTypeInfo("componentType", "urn:metadata.tooling.soap.sforce.com","componentType","urn:tooling.soap.sforce.com","OmniAnalyticsComponentType",1,1,true), com.sforce.soap.tooling.OmniAnalyticsComponentType.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldComponentType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("componentType", "urn:metadata.tooling.soap.sforce.com","componentType","urn:tooling.soap.sforce.com","OmniAnalyticsComponentType",1,1,true), componentType, componentType__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", "urn:metadata.tooling.soap.sforce.com","description","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setDescription(__typeMapper.readString(__in, _lookupTypeInfo("description", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), description, description__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 : inclusionRule of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean inclusionRule__is_set = false;
|
|
|
|
private java.lang.String inclusionRule;
|
|
|
|
public java.lang.String getInclusionRule() {
|
|
return inclusionRule;
|
|
}
|
|
|
|
public void setInclusionRule(java.lang.String inclusionRule) {
|
|
this.inclusionRule = inclusionRule;
|
|
inclusionRule__is_set = true;
|
|
}
|
|
|
|
protected void setInclusionRule(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("inclusionRule", "urn:metadata.tooling.soap.sforce.com","inclusionRule","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setInclusionRule(__typeMapper.readString(__in, _lookupTypeInfo("inclusionRule", "urn:metadata.tooling.soap.sforce.com","inclusionRule","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldInclusionRule(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("inclusionRule", "urn:metadata.tooling.soap.sforce.com","inclusionRule","http://www.w3.org/2001/XMLSchema","string",1,1,true), inclusionRule, inclusionRule__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 : omniExtTrackingDef of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean omniExtTrackingDef__is_set = false;
|
|
|
|
private java.lang.String omniExtTrackingDef;
|
|
|
|
public java.lang.String getOmniExtTrackingDef() {
|
|
return omniExtTrackingDef;
|
|
}
|
|
|
|
public void setOmniExtTrackingDef(java.lang.String omniExtTrackingDef) {
|
|
this.omniExtTrackingDef = omniExtTrackingDef;
|
|
omniExtTrackingDef__is_set = true;
|
|
}
|
|
|
|
protected void setOmniExtTrackingDef(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("omniExtTrackingDef", "urn:metadata.tooling.soap.sforce.com","omniExtTrackingDef","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setOmniExtTrackingDef(__typeMapper.readString(__in, _lookupTypeInfo("omniExtTrackingDef", "urn:metadata.tooling.soap.sforce.com","omniExtTrackingDef","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldOmniExtTrackingDef(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("omniExtTrackingDef", "urn:metadata.tooling.soap.sforce.com","omniExtTrackingDef","http://www.w3.org/2001/XMLSchema","string",0,1,true), omniExtTrackingDef, omniExtTrackingDef__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : omniExtTrackingEventDefKey of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean omniExtTrackingEventDefKey__is_set = false;
|
|
|
|
private java.lang.String omniExtTrackingEventDefKey;
|
|
|
|
public java.lang.String getOmniExtTrackingEventDefKey() {
|
|
return omniExtTrackingEventDefKey;
|
|
}
|
|
|
|
public void setOmniExtTrackingEventDefKey(java.lang.String omniExtTrackingEventDefKey) {
|
|
this.omniExtTrackingEventDefKey = omniExtTrackingEventDefKey;
|
|
omniExtTrackingEventDefKey__is_set = true;
|
|
}
|
|
|
|
protected void setOmniExtTrackingEventDefKey(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("omniExtTrackingEventDefKey", "urn:metadata.tooling.soap.sforce.com","omniExtTrackingEventDefKey","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setOmniExtTrackingEventDefKey(__typeMapper.readString(__in, _lookupTypeInfo("omniExtTrackingEventDefKey", "urn:metadata.tooling.soap.sforce.com","omniExtTrackingEventDefKey","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldOmniExtTrackingEventDefKey(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("omniExtTrackingEventDefKey", "urn:metadata.tooling.soap.sforce.com","omniExtTrackingEventDefKey","http://www.w3.org/2001/XMLSchema","string",0,1,true), omniExtTrackingEventDefKey, omniExtTrackingEventDefKey__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : payloadTemplate of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean payloadTemplate__is_set = false;
|
|
|
|
private java.lang.String payloadTemplate;
|
|
|
|
public java.lang.String getPayloadTemplate() {
|
|
return payloadTemplate;
|
|
}
|
|
|
|
public void setPayloadTemplate(java.lang.String payloadTemplate) {
|
|
this.payloadTemplate = payloadTemplate;
|
|
payloadTemplate__is_set = true;
|
|
}
|
|
|
|
protected void setPayloadTemplate(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("payloadTemplate", "urn:metadata.tooling.soap.sforce.com","payloadTemplate","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setPayloadTemplate(__typeMapper.readString(__in, _lookupTypeInfo("payloadTemplate", "urn:metadata.tooling.soap.sforce.com","payloadTemplate","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldPayloadTemplate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("payloadTemplate", "urn:metadata.tooling.soap.sforce.com","payloadTemplate","http://www.w3.org/2001/XMLSchema","string",1,1,true), payloadTemplate, payloadTemplate__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", "OmniExtTrackingEventDef");
|
|
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("[OmniExtTrackingEventDef ");
|
|
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 {
|
|
writeFieldComponentType(__out, __typeMapper);
|
|
writeFieldDescription(__out, __typeMapper);
|
|
writeFieldDeveloperName(__out, __typeMapper);
|
|
writeFieldInclusionRule(__out, __typeMapper);
|
|
writeFieldMasterLabel(__out, __typeMapper);
|
|
writeFieldOmniExtTrackingDef(__out, __typeMapper);
|
|
writeFieldOmniExtTrackingEventDefKey(__out, __typeMapper);
|
|
writeFieldPayloadTemplate(__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 {
|
|
setComponentType(__in, __typeMapper);
|
|
setDescription(__in, __typeMapper);
|
|
setDeveloperName(__in, __typeMapper);
|
|
setInclusionRule(__in, __typeMapper);
|
|
setMasterLabel(__in, __typeMapper);
|
|
setOmniExtTrackingDef(__in, __typeMapper);
|
|
setOmniExtTrackingEventDefKey(__in, __typeMapper);
|
|
setPayloadTemplate(__in, __typeMapper);
|
|
}
|
|
|
|
private void toString1(StringBuilder sb) {
|
|
toStringHelper(sb, "componentType", componentType);
|
|
toStringHelper(sb, "description", description);
|
|
toStringHelper(sb, "developerName", developerName);
|
|
toStringHelper(sb, "inclusionRule", inclusionRule);
|
|
toStringHelper(sb, "masterLabel", masterLabel);
|
|
toStringHelper(sb, "omniExtTrackingDef", omniExtTrackingDef);
|
|
toStringHelper(sb, "omniExtTrackingEventDefKey", omniExtTrackingEventDefKey);
|
|
toStringHelper(sb, "payloadTemplate", payloadTemplate);
|
|
}
|
|
|
|
|
|
}
|