com.sforce.soap.metadata.IndustriesManufacturingSettings 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 IndustriesManufacturingSettings extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public IndustriesManufacturingSettings() {}
/* 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 : enableIndManufacturing of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableIndManufacturing__is_set = false;
private boolean enableIndManufacturing;
public boolean getEnableIndManufacturing() {
return enableIndManufacturing;
}
public boolean isEnableIndManufacturing() {
return enableIndManufacturing;
}
public void setEnableIndManufacturing(boolean enableIndManufacturing) {
this.enableIndManufacturing = enableIndManufacturing;
enableIndManufacturing__is_set = true;
}
protected void setEnableIndManufacturing(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("enableIndManufacturing", "http://soap.sforce.com/2006/04/metadata","enableIndManufacturing","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableIndManufacturing(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableIndManufacturing", "http://soap.sforce.com/2006/04/metadata","enableIndManufacturing","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableIndManufacturing(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableIndManufacturing", "http://soap.sforce.com/2006/04/metadata","enableIndManufacturing","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableIndManufacturing, enableIndManufacturing__is_set);
}
/**
* element : enableIndustriesMfgAccountForecast of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableIndustriesMfgAccountForecast__is_set = false;
private boolean enableIndustriesMfgAccountForecast;
public boolean getEnableIndustriesMfgAccountForecast() {
return enableIndustriesMfgAccountForecast;
}
public boolean isEnableIndustriesMfgAccountForecast() {
return enableIndustriesMfgAccountForecast;
}
public void setEnableIndustriesMfgAccountForecast(boolean enableIndustriesMfgAccountForecast) {
this.enableIndustriesMfgAccountForecast = enableIndustriesMfgAccountForecast;
enableIndustriesMfgAccountForecast__is_set = true;
}
protected void setEnableIndustriesMfgAccountForecast(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("enableIndustriesMfgAccountForecast", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgAccountForecast","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableIndustriesMfgAccountForecast(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableIndustriesMfgAccountForecast", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgAccountForecast","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableIndustriesMfgAccountForecast(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableIndustriesMfgAccountForecast", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgAccountForecast","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableIndustriesMfgAccountForecast, enableIndustriesMfgAccountForecast__is_set);
}
/**
* element : enableIndustriesMfgAdvForecast of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableIndustriesMfgAdvForecast__is_set = false;
private boolean enableIndustriesMfgAdvForecast;
public boolean getEnableIndustriesMfgAdvForecast() {
return enableIndustriesMfgAdvForecast;
}
public boolean isEnableIndustriesMfgAdvForecast() {
return enableIndustriesMfgAdvForecast;
}
public void setEnableIndustriesMfgAdvForecast(boolean enableIndustriesMfgAdvForecast) {
this.enableIndustriesMfgAdvForecast = enableIndustriesMfgAdvForecast;
enableIndustriesMfgAdvForecast__is_set = true;
}
protected void setEnableIndustriesMfgAdvForecast(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("enableIndustriesMfgAdvForecast", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgAdvForecast","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableIndustriesMfgAdvForecast(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableIndustriesMfgAdvForecast", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgAdvForecast","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableIndustriesMfgAdvForecast(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableIndustriesMfgAdvForecast", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgAdvForecast","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableIndustriesMfgAdvForecast, enableIndustriesMfgAdvForecast__is_set);
}
/**
* element : enableIndustriesMfgIAS of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableIndustriesMfgIAS__is_set = false;
private boolean enableIndustriesMfgIAS;
public boolean getEnableIndustriesMfgIAS() {
return enableIndustriesMfgIAS;
}
public boolean isEnableIndustriesMfgIAS() {
return enableIndustriesMfgIAS;
}
public void setEnableIndustriesMfgIAS(boolean enableIndustriesMfgIAS) {
this.enableIndustriesMfgIAS = enableIndustriesMfgIAS;
enableIndustriesMfgIAS__is_set = true;
}
protected void setEnableIndustriesMfgIAS(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("enableIndustriesMfgIAS", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgIAS","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableIndustriesMfgIAS(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableIndustriesMfgIAS", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgIAS","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableIndustriesMfgIAS(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableIndustriesMfgIAS", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgIAS","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableIndustriesMfgIAS, enableIndustriesMfgIAS__is_set);
}
/**
* element : enableIndustriesMfgProgram of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableIndustriesMfgProgram__is_set = false;
private boolean enableIndustriesMfgProgram;
public boolean getEnableIndustriesMfgProgram() {
return enableIndustriesMfgProgram;
}
public boolean isEnableIndustriesMfgProgram() {
return enableIndustriesMfgProgram;
}
public void setEnableIndustriesMfgProgram(boolean enableIndustriesMfgProgram) {
this.enableIndustriesMfgProgram = enableIndustriesMfgProgram;
enableIndustriesMfgProgram__is_set = true;
}
protected void setEnableIndustriesMfgProgram(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("enableIndustriesMfgProgram", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgProgram","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableIndustriesMfgProgram(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableIndustriesMfgProgram", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgProgram","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableIndustriesMfgProgram(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableIndustriesMfgProgram", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgProgram","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableIndustriesMfgProgram, enableIndustriesMfgProgram__is_set);
}
/**
* element : enableIndustriesMfgTargets of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableIndustriesMfgTargets__is_set = false;
private boolean enableIndustriesMfgTargets;
public boolean getEnableIndustriesMfgTargets() {
return enableIndustriesMfgTargets;
}
public boolean isEnableIndustriesMfgTargets() {
return enableIndustriesMfgTargets;
}
public void setEnableIndustriesMfgTargets(boolean enableIndustriesMfgTargets) {
this.enableIndustriesMfgTargets = enableIndustriesMfgTargets;
enableIndustriesMfgTargets__is_set = true;
}
protected void setEnableIndustriesMfgTargets(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("enableIndustriesMfgTargets", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgTargets","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableIndustriesMfgTargets(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableIndustriesMfgTargets", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgTargets","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableIndustriesMfgTargets(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableIndustriesMfgTargets", "http://soap.sforce.com/2006/04/metadata","enableIndustriesMfgTargets","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableIndustriesMfgTargets, enableIndustriesMfgTargets__is_set);
}
/**
* element : enablePartnerLeadManagement of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enablePartnerLeadManagement__is_set = false;
private boolean enablePartnerLeadManagement;
public boolean getEnablePartnerLeadManagement() {
return enablePartnerLeadManagement;
}
public boolean isEnablePartnerLeadManagement() {
return enablePartnerLeadManagement;
}
public void setEnablePartnerLeadManagement(boolean enablePartnerLeadManagement) {
this.enablePartnerLeadManagement = enablePartnerLeadManagement;
enablePartnerLeadManagement__is_set = true;
}
protected void setEnablePartnerLeadManagement(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("enablePartnerLeadManagement", "http://soap.sforce.com/2006/04/metadata","enablePartnerLeadManagement","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnablePartnerLeadManagement(__typeMapper.readBoolean(__in, _lookupTypeInfo("enablePartnerLeadManagement", "http://soap.sforce.com/2006/04/metadata","enablePartnerLeadManagement","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnablePartnerLeadManagement(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enablePartnerLeadManagement", "http://soap.sforce.com/2006/04/metadata","enablePartnerLeadManagement","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enablePartnerLeadManagement, enablePartnerLeadManagement__is_set);
}
/**
* element : enablePartnerPerformanceManagement of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enablePartnerPerformanceManagement__is_set = false;
private boolean enablePartnerPerformanceManagement;
public boolean getEnablePartnerPerformanceManagement() {
return enablePartnerPerformanceManagement;
}
public boolean isEnablePartnerPerformanceManagement() {
return enablePartnerPerformanceManagement;
}
public void setEnablePartnerPerformanceManagement(boolean enablePartnerPerformanceManagement) {
this.enablePartnerPerformanceManagement = enablePartnerPerformanceManagement;
enablePartnerPerformanceManagement__is_set = true;
}
protected void setEnablePartnerPerformanceManagement(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("enablePartnerPerformanceManagement", "http://soap.sforce.com/2006/04/metadata","enablePartnerPerformanceManagement","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnablePartnerPerformanceManagement(__typeMapper.readBoolean(__in, _lookupTypeInfo("enablePartnerPerformanceManagement", "http://soap.sforce.com/2006/04/metadata","enablePartnerPerformanceManagement","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnablePartnerPerformanceManagement(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enablePartnerPerformanceManagement", "http://soap.sforce.com/2006/04/metadata","enablePartnerPerformanceManagement","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enablePartnerPerformanceManagement, enablePartnerPerformanceManagement__is_set);
}
/**
* element : enablePartnerVisitManagement of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enablePartnerVisitManagement__is_set = false;
private boolean enablePartnerVisitManagement;
public boolean getEnablePartnerVisitManagement() {
return enablePartnerVisitManagement;
}
public boolean isEnablePartnerVisitManagement() {
return enablePartnerVisitManagement;
}
public void setEnablePartnerVisitManagement(boolean enablePartnerVisitManagement) {
this.enablePartnerVisitManagement = enablePartnerVisitManagement;
enablePartnerVisitManagement__is_set = true;
}
protected void setEnablePartnerVisitManagement(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("enablePartnerVisitManagement", "http://soap.sforce.com/2006/04/metadata","enablePartnerVisitManagement","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnablePartnerVisitManagement(__typeMapper.readBoolean(__in, _lookupTypeInfo("enablePartnerVisitManagement", "http://soap.sforce.com/2006/04/metadata","enablePartnerVisitManagement","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnablePartnerVisitManagement(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enablePartnerVisitManagement", "http://soap.sforce.com/2006/04/metadata","enablePartnerVisitManagement","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enablePartnerVisitManagement, enablePartnerVisitManagement__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", "IndustriesManufacturingSettings");
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("[IndustriesManufacturingSettings ");
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 {
writeFieldEnableIndManufacturing(__out, __typeMapper);
writeFieldEnableIndustriesMfgAccountForecast(__out, __typeMapper);
writeFieldEnableIndustriesMfgAdvForecast(__out, __typeMapper);
writeFieldEnableIndustriesMfgIAS(__out, __typeMapper);
writeFieldEnableIndustriesMfgProgram(__out, __typeMapper);
writeFieldEnableIndustriesMfgTargets(__out, __typeMapper);
writeFieldEnablePartnerLeadManagement(__out, __typeMapper);
writeFieldEnablePartnerPerformanceManagement(__out, __typeMapper);
writeFieldEnablePartnerVisitManagement(__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 {
setEnableIndManufacturing(__in, __typeMapper);
setEnableIndustriesMfgAccountForecast(__in, __typeMapper);
setEnableIndustriesMfgAdvForecast(__in, __typeMapper);
setEnableIndustriesMfgIAS(__in, __typeMapper);
setEnableIndustriesMfgProgram(__in, __typeMapper);
setEnableIndustriesMfgTargets(__in, __typeMapper);
setEnablePartnerLeadManagement(__in, __typeMapper);
setEnablePartnerPerformanceManagement(__in, __typeMapper);
setEnablePartnerVisitManagement(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "enableIndManufacturing", enableIndManufacturing);
toStringHelper(sb, "enableIndustriesMfgAccountForecast", enableIndustriesMfgAccountForecast);
toStringHelper(sb, "enableIndustriesMfgAdvForecast", enableIndustriesMfgAdvForecast);
toStringHelper(sb, "enableIndustriesMfgIAS", enableIndustriesMfgIAS);
toStringHelper(sb, "enableIndustriesMfgProgram", enableIndustriesMfgProgram);
toStringHelper(sb, "enableIndustriesMfgTargets", enableIndustriesMfgTargets);
toStringHelper(sb, "enablePartnerLeadManagement", enablePartnerLeadManagement);
toStringHelper(sb, "enablePartnerPerformanceManagement", enablePartnerPerformanceManagement);
toStringHelper(sb, "enablePartnerVisitManagement", enablePartnerVisitManagement);
}
}