com.sforce.soap.metadata.EventSettings 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 EventSettings extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public EventSettings() {}
/* 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 : bypassMeteringBlock of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean bypassMeteringBlock__is_set = false;
private boolean bypassMeteringBlock;
public boolean getBypassMeteringBlock() {
return bypassMeteringBlock;
}
public boolean isBypassMeteringBlock() {
return bypassMeteringBlock;
}
public void setBypassMeteringBlock(boolean bypassMeteringBlock) {
this.bypassMeteringBlock = bypassMeteringBlock;
bypassMeteringBlock__is_set = true;
}
protected void setBypassMeteringBlock(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("bypassMeteringBlock", "http://soap.sforce.com/2006/04/metadata","bypassMeteringBlock","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setBypassMeteringBlock(__typeMapper.readBoolean(__in, _lookupTypeInfo("bypassMeteringBlock", "http://soap.sforce.com/2006/04/metadata","bypassMeteringBlock","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldBypassMeteringBlock(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("bypassMeteringBlock", "http://soap.sforce.com/2006/04/metadata","bypassMeteringBlock","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), bypassMeteringBlock, bypassMeteringBlock__is_set);
}
/**
* element : enableApexLimitEvents of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableApexLimitEvents__is_set = false;
private boolean enableApexLimitEvents;
public boolean getEnableApexLimitEvents() {
return enableApexLimitEvents;
}
public boolean isEnableApexLimitEvents() {
return enableApexLimitEvents;
}
public void setEnableApexLimitEvents(boolean enableApexLimitEvents) {
this.enableApexLimitEvents = enableApexLimitEvents;
enableApexLimitEvents__is_set = true;
}
protected void setEnableApexLimitEvents(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("enableApexLimitEvents", "http://soap.sforce.com/2006/04/metadata","enableApexLimitEvents","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableApexLimitEvents(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableApexLimitEvents", "http://soap.sforce.com/2006/04/metadata","enableApexLimitEvents","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableApexLimitEvents(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableApexLimitEvents", "http://soap.sforce.com/2006/04/metadata","enableApexLimitEvents","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableApexLimitEvents, enableApexLimitEvents__is_set);
}
/**
* element : enableDeleteMonitoringData of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableDeleteMonitoringData__is_set = false;
private boolean enableDeleteMonitoringData;
public boolean getEnableDeleteMonitoringData() {
return enableDeleteMonitoringData;
}
public boolean isEnableDeleteMonitoringData() {
return enableDeleteMonitoringData;
}
public void setEnableDeleteMonitoringData(boolean enableDeleteMonitoringData) {
this.enableDeleteMonitoringData = enableDeleteMonitoringData;
enableDeleteMonitoringData__is_set = true;
}
protected void setEnableDeleteMonitoringData(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("enableDeleteMonitoringData", "http://soap.sforce.com/2006/04/metadata","enableDeleteMonitoringData","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableDeleteMonitoringData(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableDeleteMonitoringData", "http://soap.sforce.com/2006/04/metadata","enableDeleteMonitoringData","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableDeleteMonitoringData(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableDeleteMonitoringData", "http://soap.sforce.com/2006/04/metadata","enableDeleteMonitoringData","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableDeleteMonitoringData, enableDeleteMonitoringData__is_set);
}
/**
* element : enableDynamicStreamingChannel of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableDynamicStreamingChannel__is_set = false;
private boolean enableDynamicStreamingChannel;
public boolean getEnableDynamicStreamingChannel() {
return enableDynamicStreamingChannel;
}
public boolean isEnableDynamicStreamingChannel() {
return enableDynamicStreamingChannel;
}
public void setEnableDynamicStreamingChannel(boolean enableDynamicStreamingChannel) {
this.enableDynamicStreamingChannel = enableDynamicStreamingChannel;
enableDynamicStreamingChannel__is_set = true;
}
protected void setEnableDynamicStreamingChannel(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("enableDynamicStreamingChannel", "http://soap.sforce.com/2006/04/metadata","enableDynamicStreamingChannel","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableDynamicStreamingChannel(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableDynamicStreamingChannel", "http://soap.sforce.com/2006/04/metadata","enableDynamicStreamingChannel","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableDynamicStreamingChannel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableDynamicStreamingChannel", "http://soap.sforce.com/2006/04/metadata","enableDynamicStreamingChannel","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableDynamicStreamingChannel, enableDynamicStreamingChannel__is_set);
}
/**
* element : enableEventLogGeneration of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableEventLogGeneration__is_set = false;
private boolean enableEventLogGeneration;
public boolean getEnableEventLogGeneration() {
return enableEventLogGeneration;
}
public boolean isEnableEventLogGeneration() {
return enableEventLogGeneration;
}
public void setEnableEventLogGeneration(boolean enableEventLogGeneration) {
this.enableEventLogGeneration = enableEventLogGeneration;
enableEventLogGeneration__is_set = true;
}
protected void setEnableEventLogGeneration(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("enableEventLogGeneration", "http://soap.sforce.com/2006/04/metadata","enableEventLogGeneration","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableEventLogGeneration(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableEventLogGeneration", "http://soap.sforce.com/2006/04/metadata","enableEventLogGeneration","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableEventLogGeneration(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableEventLogGeneration", "http://soap.sforce.com/2006/04/metadata","enableEventLogGeneration","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableEventLogGeneration, enableEventLogGeneration__is_set);
}
/**
* element : enableEventLogWaveIntegration of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableEventLogWaveIntegration__is_set = false;
private boolean enableEventLogWaveIntegration;
public boolean getEnableEventLogWaveIntegration() {
return enableEventLogWaveIntegration;
}
public boolean isEnableEventLogWaveIntegration() {
return enableEventLogWaveIntegration;
}
public void setEnableEventLogWaveIntegration(boolean enableEventLogWaveIntegration) {
this.enableEventLogWaveIntegration = enableEventLogWaveIntegration;
enableEventLogWaveIntegration__is_set = true;
}
protected void setEnableEventLogWaveIntegration(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("enableEventLogWaveIntegration", "http://soap.sforce.com/2006/04/metadata","enableEventLogWaveIntegration","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableEventLogWaveIntegration(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableEventLogWaveIntegration", "http://soap.sforce.com/2006/04/metadata","enableEventLogWaveIntegration","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableEventLogWaveIntegration(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableEventLogWaveIntegration", "http://soap.sforce.com/2006/04/metadata","enableEventLogWaveIntegration","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableEventLogWaveIntegration, enableEventLogWaveIntegration__is_set);
}
/**
* element : enableLoginForensics of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableLoginForensics__is_set = false;
private boolean enableLoginForensics;
public boolean getEnableLoginForensics() {
return enableLoginForensics;
}
public boolean isEnableLoginForensics() {
return enableLoginForensics;
}
public void setEnableLoginForensics(boolean enableLoginForensics) {
this.enableLoginForensics = enableLoginForensics;
enableLoginForensics__is_set = true;
}
protected void setEnableLoginForensics(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("enableLoginForensics", "http://soap.sforce.com/2006/04/metadata","enableLoginForensics","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableLoginForensics(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableLoginForensics", "http://soap.sforce.com/2006/04/metadata","enableLoginForensics","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableLoginForensics(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableLoginForensics", "http://soap.sforce.com/2006/04/metadata","enableLoginForensics","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableLoginForensics, enableLoginForensics__is_set);
}
/**
* element : enableStreamingApi of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableStreamingApi__is_set = false;
private boolean enableStreamingApi;
public boolean getEnableStreamingApi() {
return enableStreamingApi;
}
public boolean isEnableStreamingApi() {
return enableStreamingApi;
}
public void setEnableStreamingApi(boolean enableStreamingApi) {
this.enableStreamingApi = enableStreamingApi;
enableStreamingApi__is_set = true;
}
protected void setEnableStreamingApi(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("enableStreamingApi", "http://soap.sforce.com/2006/04/metadata","enableStreamingApi","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableStreamingApi(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableStreamingApi", "http://soap.sforce.com/2006/04/metadata","enableStreamingApi","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableStreamingApi(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableStreamingApi", "http://soap.sforce.com/2006/04/metadata","enableStreamingApi","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableStreamingApi, enableStreamingApi__is_set);
}
/**
* element : enableTerminateOldestSession of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableTerminateOldestSession__is_set = false;
private boolean enableTerminateOldestSession;
public boolean getEnableTerminateOldestSession() {
return enableTerminateOldestSession;
}
public boolean isEnableTerminateOldestSession() {
return enableTerminateOldestSession;
}
public void setEnableTerminateOldestSession(boolean enableTerminateOldestSession) {
this.enableTerminateOldestSession = enableTerminateOldestSession;
enableTerminateOldestSession__is_set = true;
}
protected void setEnableTerminateOldestSession(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("enableTerminateOldestSession", "http://soap.sforce.com/2006/04/metadata","enableTerminateOldestSession","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableTerminateOldestSession(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableTerminateOldestSession", "http://soap.sforce.com/2006/04/metadata","enableTerminateOldestSession","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableTerminateOldestSession(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableTerminateOldestSession", "http://soap.sforce.com/2006/04/metadata","enableTerminateOldestSession","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableTerminateOldestSession, enableTerminateOldestSession__is_set);
}
/**
* element : enableTransactionSecurityPolicies of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableTransactionSecurityPolicies__is_set = false;
private boolean enableTransactionSecurityPolicies;
public boolean getEnableTransactionSecurityPolicies() {
return enableTransactionSecurityPolicies;
}
public boolean isEnableTransactionSecurityPolicies() {
return enableTransactionSecurityPolicies;
}
public void setEnableTransactionSecurityPolicies(boolean enableTransactionSecurityPolicies) {
this.enableTransactionSecurityPolicies = enableTransactionSecurityPolicies;
enableTransactionSecurityPolicies__is_set = true;
}
protected void setEnableTransactionSecurityPolicies(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("enableTransactionSecurityPolicies", "http://soap.sforce.com/2006/04/metadata","enableTransactionSecurityPolicies","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableTransactionSecurityPolicies(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableTransactionSecurityPolicies", "http://soap.sforce.com/2006/04/metadata","enableTransactionSecurityPolicies","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableTransactionSecurityPolicies(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableTransactionSecurityPolicies", "http://soap.sforce.com/2006/04/metadata","enableTransactionSecurityPolicies","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableTransactionSecurityPolicies, enableTransactionSecurityPolicies__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", "EventSettings");
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("[EventSettings ");
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 {
writeFieldBypassMeteringBlock(__out, __typeMapper);
writeFieldEnableApexLimitEvents(__out, __typeMapper);
writeFieldEnableDeleteMonitoringData(__out, __typeMapper);
writeFieldEnableDynamicStreamingChannel(__out, __typeMapper);
writeFieldEnableEventLogGeneration(__out, __typeMapper);
writeFieldEnableEventLogWaveIntegration(__out, __typeMapper);
writeFieldEnableLoginForensics(__out, __typeMapper);
writeFieldEnableStreamingApi(__out, __typeMapper);
writeFieldEnableTerminateOldestSession(__out, __typeMapper);
writeFieldEnableTransactionSecurityPolicies(__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 {
setBypassMeteringBlock(__in, __typeMapper);
setEnableApexLimitEvents(__in, __typeMapper);
setEnableDeleteMonitoringData(__in, __typeMapper);
setEnableDynamicStreamingChannel(__in, __typeMapper);
setEnableEventLogGeneration(__in, __typeMapper);
setEnableEventLogWaveIntegration(__in, __typeMapper);
setEnableLoginForensics(__in, __typeMapper);
setEnableStreamingApi(__in, __typeMapper);
setEnableTerminateOldestSession(__in, __typeMapper);
setEnableTransactionSecurityPolicies(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "bypassMeteringBlock", bypassMeteringBlock);
toStringHelper(sb, "enableApexLimitEvents", enableApexLimitEvents);
toStringHelper(sb, "enableDeleteMonitoringData", enableDeleteMonitoringData);
toStringHelper(sb, "enableDynamicStreamingChannel", enableDynamicStreamingChannel);
toStringHelper(sb, "enableEventLogGeneration", enableEventLogGeneration);
toStringHelper(sb, "enableEventLogWaveIntegration", enableEventLogWaveIntegration);
toStringHelper(sb, "enableLoginForensics", enableLoginForensics);
toStringHelper(sb, "enableStreamingApi", enableStreamingApi);
toStringHelper(sb, "enableTerminateOldestSession", enableTerminateOldestSession);
toStringHelper(sb, "enableTransactionSecurityPolicies", enableTransactionSecurityPolicies);
}
}