package com.sforce.soap.tooling.sobject; /** * This is a generated class for the SObject Enterprise API. * Do not edit this file, as your changes will be lost. */ public class MLRecommendationDefinition extends com.sforce.soap.tooling.sobject.SObject { /** * Constructor */ public MLRecommendationDefinition() {} /* 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 : Application of type {urn:sobject.tooling.soap.sforce.com}AIApplication * java type: com.sforce.soap.tooling.sobject.AIApplication */ private boolean Application__is_set = false; private com.sforce.soap.tooling.sobject.AIApplication Application; public com.sforce.soap.tooling.sobject.AIApplication getApplication() { return Application; } public void setApplication(com.sforce.soap.tooling.sobject.AIApplication Application) { this.Application = Application; Application__is_set = true; } protected void setApplication(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("Application", "urn:sobject.tooling.soap.sforce.com","Application","urn:sobject.tooling.soap.sforce.com","AIApplication",0,1,true))) { setApplication((com.sforce.soap.tooling.sobject.AIApplication)__typeMapper.readObject(__in, _lookupTypeInfo("Application", "urn:sobject.tooling.soap.sforce.com","Application","urn:sobject.tooling.soap.sforce.com","AIApplication",0,1,true), com.sforce.soap.tooling.sobject.AIApplication.class)); } } private void writeFieldApplication(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("Application", "urn:sobject.tooling.soap.sforce.com","Application","urn:sobject.tooling.soap.sforce.com","AIApplication",0,1,true), Application, Application__is_set); } /** * element : ApplicationId of type {urn:tooling.soap.sforce.com}ID * java type: java.lang.String */ private boolean ApplicationId__is_set = false; private java.lang.String ApplicationId; public java.lang.String getApplicationId() { return ApplicationId; } public void setApplicationId(java.lang.String ApplicationId) { this.ApplicationId = ApplicationId; ApplicationId__is_set = true; } protected void setApplicationId(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("ApplicationId", "urn:sobject.tooling.soap.sforce.com","ApplicationId","urn:tooling.soap.sforce.com","ID",0,1,true))) { setApplicationId(__typeMapper.readString(__in, _lookupTypeInfo("ApplicationId", "urn:sobject.tooling.soap.sforce.com","ApplicationId","urn:tooling.soap.sforce.com","ID",0,1,true), java.lang.String.class)); } } private void writeFieldApplicationId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("ApplicationId", "urn:sobject.tooling.soap.sforce.com","ApplicationId","urn:tooling.soap.sforce.com","ID",0,1,true), ApplicationId, ApplicationId__is_set); } /** * element : CreatedBy of type {urn:sobject.tooling.soap.sforce.com}User * java type: com.sforce.soap.tooling.sobject.User */ private boolean CreatedBy__is_set = false; private com.sforce.soap.tooling.sobject.User CreatedBy; public com.sforce.soap.tooling.sobject.User getCreatedBy() { return CreatedBy; } public void setCreatedBy(com.sforce.soap.tooling.sobject.User CreatedBy) { this.CreatedBy = CreatedBy; CreatedBy__is_set = true; } protected void setCreatedBy(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("CreatedBy", "urn:sobject.tooling.soap.sforce.com","CreatedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true))) { setCreatedBy((com.sforce.soap.tooling.sobject.User)__typeMapper.readObject(__in, _lookupTypeInfo("CreatedBy", "urn:sobject.tooling.soap.sforce.com","CreatedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true), com.sforce.soap.tooling.sobject.User.class)); } } private void writeFieldCreatedBy(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("CreatedBy", "urn:sobject.tooling.soap.sforce.com","CreatedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true), CreatedBy, CreatedBy__is_set); } /** * element : CreatedById of type {urn:tooling.soap.sforce.com}ID * java type: java.lang.String */ private boolean CreatedById__is_set = false; private java.lang.String CreatedById; public java.lang.String getCreatedById() { return CreatedById; } public void setCreatedById(java.lang.String CreatedById) { this.CreatedById = CreatedById; CreatedById__is_set = true; } protected void setCreatedById(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("CreatedById", "urn:sobject.tooling.soap.sforce.com","CreatedById","urn:tooling.soap.sforce.com","ID",0,1,true))) { setCreatedById(__typeMapper.readString(__in, _lookupTypeInfo("CreatedById", "urn:sobject.tooling.soap.sforce.com","CreatedById","urn:tooling.soap.sforce.com","ID",0,1,true), java.lang.String.class)); } } private void writeFieldCreatedById(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("CreatedById", "urn:sobject.tooling.soap.sforce.com","CreatedById","urn:tooling.soap.sforce.com","ID",0,1,true), CreatedById, CreatedById__is_set); } /** * element : CreatedDate of type {http://www.w3.org/2001/XMLSchema}dateTime * java type: java.util.Calendar */ private boolean CreatedDate__is_set = false; private java.util.Calendar CreatedDate; public java.util.Calendar getCreatedDate() { return CreatedDate; } public void setCreatedDate(java.util.Calendar CreatedDate) { this.CreatedDate = CreatedDate; CreatedDate__is_set = true; } protected void setCreatedDate(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("CreatedDate", "urn:sobject.tooling.soap.sforce.com","CreatedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true))) { setCreatedDate((java.util.Calendar)__typeMapper.readObject(__in, _lookupTypeInfo("CreatedDate", "urn:sobject.tooling.soap.sforce.com","CreatedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), java.util.Calendar.class)); } } private void writeFieldCreatedDate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("CreatedDate", "urn:sobject.tooling.soap.sforce.com","CreatedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), CreatedDate, CreatedDate__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:sobject.tooling.soap.sforce.com","Description","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setDescription(__typeMapper.readString(__in, _lookupTypeInfo("Description", "urn:sobject.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:sobject.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.isElement(__in, _lookupTypeInfo("DeveloperName", "urn:sobject.tooling.soap.sforce.com","DeveloperName","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setDeveloperName(__typeMapper.readString(__in, _lookupTypeInfo("DeveloperName", "urn:sobject.tooling.soap.sforce.com","DeveloperName","http://www.w3.org/2001/XMLSchema","string",0,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:sobject.tooling.soap.sforce.com","DeveloperName","http://www.w3.org/2001/XMLSchema","string",0,1,true), DeveloperName, DeveloperName__is_set); } /** * element : FullName of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean FullName__is_set = false; private java.lang.String FullName; public java.lang.String getFullName() { return FullName; } public void setFullName(java.lang.String FullName) { this.FullName = FullName; FullName__is_set = true; } protected void setFullName(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("FullName", "urn:sobject.tooling.soap.sforce.com","FullName","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setFullName(__typeMapper.readString(__in, _lookupTypeInfo("FullName", "urn:sobject.tooling.soap.sforce.com","FullName","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldFullName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("FullName", "urn:sobject.tooling.soap.sforce.com","FullName","http://www.w3.org/2001/XMLSchema","string",0,1,true), FullName, FullName__is_set); } /** * element : InteractionDateField of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean InteractionDateField__is_set = false; private java.lang.String InteractionDateField; public java.lang.String getInteractionDateField() { return InteractionDateField; } public void setInteractionDateField(java.lang.String InteractionDateField) { this.InteractionDateField = InteractionDateField; InteractionDateField__is_set = true; } protected void setInteractionDateField(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("InteractionDateField", "urn:sobject.tooling.soap.sforce.com","InteractionDateField","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setInteractionDateField(__typeMapper.readString(__in, _lookupTypeInfo("InteractionDateField", "urn:sobject.tooling.soap.sforce.com","InteractionDateField","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldInteractionDateField(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("InteractionDateField", "urn:sobject.tooling.soap.sforce.com","InteractionDateField","http://www.w3.org/2001/XMLSchema","string",0,1,true), InteractionDateField, InteractionDateField__is_set); } /** * element : IsDeleted of type {http://www.w3.org/2001/XMLSchema}boolean * java type: java.lang.Boolean */ private boolean IsDeleted__is_set = false; private java.lang.Boolean IsDeleted; public java.lang.Boolean getIsDeleted() { return IsDeleted; } public void setIsDeleted(java.lang.Boolean IsDeleted) { this.IsDeleted = IsDeleted; IsDeleted__is_set = true; } protected void setIsDeleted(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("IsDeleted", "urn:sobject.tooling.soap.sforce.com","IsDeleted","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIsDeleted((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("IsDeleted", "urn:sobject.tooling.soap.sforce.com","IsDeleted","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class)); } } private void writeFieldIsDeleted(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("IsDeleted", "urn:sobject.tooling.soap.sforce.com","IsDeleted","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), IsDeleted, IsDeleted__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.isElement(__in, _lookupTypeInfo("Language", "urn:sobject.tooling.soap.sforce.com","Language","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setLanguage(__typeMapper.readString(__in, _lookupTypeInfo("Language", "urn:sobject.tooling.soap.sforce.com","Language","http://www.w3.org/2001/XMLSchema","string",0,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", "urn:sobject.tooling.soap.sforce.com","Language","http://www.w3.org/2001/XMLSchema","string",0,1,true), Language, Language__is_set); } /** * element : LastModifiedBy of type {urn:sobject.tooling.soap.sforce.com}User * java type: com.sforce.soap.tooling.sobject.User */ private boolean LastModifiedBy__is_set = false; private com.sforce.soap.tooling.sobject.User LastModifiedBy; public com.sforce.soap.tooling.sobject.User getLastModifiedBy() { return LastModifiedBy; } public void setLastModifiedBy(com.sforce.soap.tooling.sobject.User LastModifiedBy) { this.LastModifiedBy = LastModifiedBy; LastModifiedBy__is_set = true; } protected void setLastModifiedBy(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("LastModifiedBy", "urn:sobject.tooling.soap.sforce.com","LastModifiedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true))) { setLastModifiedBy((com.sforce.soap.tooling.sobject.User)__typeMapper.readObject(__in, _lookupTypeInfo("LastModifiedBy", "urn:sobject.tooling.soap.sforce.com","LastModifiedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true), com.sforce.soap.tooling.sobject.User.class)); } } private void writeFieldLastModifiedBy(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("LastModifiedBy", "urn:sobject.tooling.soap.sforce.com","LastModifiedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true), LastModifiedBy, LastModifiedBy__is_set); } /** * element : LastModifiedById of type {urn:tooling.soap.sforce.com}ID * java type: java.lang.String */ private boolean LastModifiedById__is_set = false; private java.lang.String LastModifiedById; public java.lang.String getLastModifiedById() { return LastModifiedById; } public void setLastModifiedById(java.lang.String LastModifiedById) { this.LastModifiedById = LastModifiedById; LastModifiedById__is_set = true; } protected void setLastModifiedById(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("LastModifiedById", "urn:sobject.tooling.soap.sforce.com","LastModifiedById","urn:tooling.soap.sforce.com","ID",0,1,true))) { setLastModifiedById(__typeMapper.readString(__in, _lookupTypeInfo("LastModifiedById", "urn:sobject.tooling.soap.sforce.com","LastModifiedById","urn:tooling.soap.sforce.com","ID",0,1,true), java.lang.String.class)); } } private void writeFieldLastModifiedById(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("LastModifiedById", "urn:sobject.tooling.soap.sforce.com","LastModifiedById","urn:tooling.soap.sforce.com","ID",0,1,true), LastModifiedById, LastModifiedById__is_set); } /** * element : LastModifiedDate of type {http://www.w3.org/2001/XMLSchema}dateTime * java type: java.util.Calendar */ private boolean LastModifiedDate__is_set = false; private java.util.Calendar LastModifiedDate; public java.util.Calendar getLastModifiedDate() { return LastModifiedDate; } public void setLastModifiedDate(java.util.Calendar LastModifiedDate) { this.LastModifiedDate = LastModifiedDate; LastModifiedDate__is_set = true; } protected void setLastModifiedDate(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("LastModifiedDate", "urn:sobject.tooling.soap.sforce.com","LastModifiedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true))) { setLastModifiedDate((java.util.Calendar)__typeMapper.readObject(__in, _lookupTypeInfo("LastModifiedDate", "urn:sobject.tooling.soap.sforce.com","LastModifiedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), java.util.Calendar.class)); } } private void writeFieldLastModifiedDate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("LastModifiedDate", "urn:sobject.tooling.soap.sforce.com","LastModifiedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), LastModifiedDate, LastModifiedDate__is_set); } /** * element : ManageableState of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean ManageableState__is_set = false; private java.lang.String ManageableState; public java.lang.String getManageableState() { return ManageableState; } public void setManageableState(java.lang.String ManageableState) { this.ManageableState = ManageableState; ManageableState__is_set = true; } protected void setManageableState(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("ManageableState", "urn:sobject.tooling.soap.sforce.com","ManageableState","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setManageableState(__typeMapper.readString(__in, _lookupTypeInfo("ManageableState", "urn:sobject.tooling.soap.sforce.com","ManageableState","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldManageableState(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("ManageableState", "urn:sobject.tooling.soap.sforce.com","ManageableState","http://www.w3.org/2001/XMLSchema","string",0,1,true), ManageableState, ManageableState__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.isElement(__in, _lookupTypeInfo("MasterLabel", "urn:sobject.tooling.soap.sforce.com","MasterLabel","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setMasterLabel(__typeMapper.readString(__in, _lookupTypeInfo("MasterLabel", "urn:sobject.tooling.soap.sforce.com","MasterLabel","http://www.w3.org/2001/XMLSchema","string",0,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:sobject.tooling.soap.sforce.com","MasterLabel","http://www.w3.org/2001/XMLSchema","string",0,1,true), MasterLabel, MasterLabel__is_set); } /** * element : Metadata of type {urn:metadata.tooling.soap.sforce.com}MLRecommendationDefinition * java type: com.sforce.soap.tooling.metadata.MLRecommendationDefinition */ private boolean Metadata__is_set = false; private com.sforce.soap.tooling.metadata.MLRecommendationDefinition Metadata; public com.sforce.soap.tooling.metadata.MLRecommendationDefinition getMetadata() { return Metadata; } public void setMetadata(com.sforce.soap.tooling.metadata.MLRecommendationDefinition Metadata) { this.Metadata = Metadata; Metadata__is_set = true; } protected void setMetadata(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("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","MLRecommendationDefinition",0,1,true))) { setMetadata((com.sforce.soap.tooling.metadata.MLRecommendationDefinition)__typeMapper.readObject(__in, _lookupTypeInfo("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","MLRecommendationDefinition",0,1,true), com.sforce.soap.tooling.metadata.MLRecommendationDefinition.class)); } } private void writeFieldMetadata(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","MLRecommendationDefinition",0,1,true), Metadata, Metadata__is_set); } /** * element : MlDataDefinitions of type {urn:tooling.soap.sforce.com}QueryResult * java type: com.sforce.soap.tooling.QueryResult */ private boolean MlDataDefinitions__is_set = false; private com.sforce.soap.tooling.QueryResult MlDataDefinitions; public com.sforce.soap.tooling.QueryResult getMlDataDefinitions() { return MlDataDefinitions; } public void setMlDataDefinitions(com.sforce.soap.tooling.QueryResult MlDataDefinitions) { this.MlDataDefinitions = MlDataDefinitions; MlDataDefinitions__is_set = true; } protected void setMlDataDefinitions(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("MlDataDefinitions", "urn:sobject.tooling.soap.sforce.com","MlDataDefinitions","urn:tooling.soap.sforce.com","QueryResult",0,1,true))) { setMlDataDefinitions((com.sforce.soap.tooling.QueryResult)__typeMapper.readObject(__in, _lookupTypeInfo("MlDataDefinitions", "urn:sobject.tooling.soap.sforce.com","MlDataDefinitions","urn:tooling.soap.sforce.com","QueryResult",0,1,true), com.sforce.soap.tooling.QueryResult.class)); } } private void writeFieldMlDataDefinitions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("MlDataDefinitions", "urn:sobject.tooling.soap.sforce.com","MlDataDefinitions","urn:tooling.soap.sforce.com","QueryResult",0,1,true), MlDataDefinitions, MlDataDefinitions__is_set); } /** * element : NamespacePrefix of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean NamespacePrefix__is_set = false; private java.lang.String NamespacePrefix; public java.lang.String getNamespacePrefix() { return NamespacePrefix; } public void setNamespacePrefix(java.lang.String NamespacePrefix) { this.NamespacePrefix = NamespacePrefix; NamespacePrefix__is_set = true; } protected void setNamespacePrefix(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("NamespacePrefix", "urn:sobject.tooling.soap.sforce.com","NamespacePrefix","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setNamespacePrefix(__typeMapper.readString(__in, _lookupTypeInfo("NamespacePrefix", "urn:sobject.tooling.soap.sforce.com","NamespacePrefix","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldNamespacePrefix(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("NamespacePrefix", "urn:sobject.tooling.soap.sforce.com","NamespacePrefix","http://www.w3.org/2001/XMLSchema","string",0,1,true), NamespacePrefix, NamespacePrefix__is_set); } /** * element : NegativeExpression of type {urn:sobject.tooling.soap.sforce.com}MLFilter * java type: com.sforce.soap.tooling.sobject.MLFilter */ private boolean NegativeExpression__is_set = false; private com.sforce.soap.tooling.sobject.MLFilter NegativeExpression; public com.sforce.soap.tooling.sobject.MLFilter getNegativeExpression() { return NegativeExpression; } public void setNegativeExpression(com.sforce.soap.tooling.sobject.MLFilter NegativeExpression) { this.NegativeExpression = NegativeExpression; NegativeExpression__is_set = true; } protected void setNegativeExpression(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("NegativeExpression", "urn:sobject.tooling.soap.sforce.com","NegativeExpression","urn:sobject.tooling.soap.sforce.com","MLFilter",0,1,true))) { setNegativeExpression((com.sforce.soap.tooling.sobject.MLFilter)__typeMapper.readObject(__in, _lookupTypeInfo("NegativeExpression", "urn:sobject.tooling.soap.sforce.com","NegativeExpression","urn:sobject.tooling.soap.sforce.com","MLFilter",0,1,true), com.sforce.soap.tooling.sobject.MLFilter.class)); } } private void writeFieldNegativeExpression(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("NegativeExpression", "urn:sobject.tooling.soap.sforce.com","NegativeExpression","urn:sobject.tooling.soap.sforce.com","MLFilter",0,1,true), NegativeExpression, NegativeExpression__is_set); } /** * element : NegativeExpressionId of type {urn:tooling.soap.sforce.com}ID * java type: java.lang.String */ private boolean NegativeExpressionId__is_set = false; private java.lang.String NegativeExpressionId; public java.lang.String getNegativeExpressionId() { return NegativeExpressionId; } public void setNegativeExpressionId(java.lang.String NegativeExpressionId) { this.NegativeExpressionId = NegativeExpressionId; NegativeExpressionId__is_set = true; } protected void setNegativeExpressionId(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("NegativeExpressionId", "urn:sobject.tooling.soap.sforce.com","NegativeExpressionId","urn:tooling.soap.sforce.com","ID",0,1,true))) { setNegativeExpressionId(__typeMapper.readString(__in, _lookupTypeInfo("NegativeExpressionId", "urn:sobject.tooling.soap.sforce.com","NegativeExpressionId","urn:tooling.soap.sforce.com","ID",0,1,true), java.lang.String.class)); } } private void writeFieldNegativeExpressionId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("NegativeExpressionId", "urn:sobject.tooling.soap.sforce.com","NegativeExpressionId","urn:tooling.soap.sforce.com","ID",0,1,true), NegativeExpressionId, NegativeExpressionId__is_set); } /** * element : PositiveExpression of type {urn:sobject.tooling.soap.sforce.com}MLFilter * java type: com.sforce.soap.tooling.sobject.MLFilter */ private boolean PositiveExpression__is_set = false; private com.sforce.soap.tooling.sobject.MLFilter PositiveExpression; public com.sforce.soap.tooling.sobject.MLFilter getPositiveExpression() { return PositiveExpression; } public void setPositiveExpression(com.sforce.soap.tooling.sobject.MLFilter PositiveExpression) { this.PositiveExpression = PositiveExpression; PositiveExpression__is_set = true; } protected void setPositiveExpression(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("PositiveExpression", "urn:sobject.tooling.soap.sforce.com","PositiveExpression","urn:sobject.tooling.soap.sforce.com","MLFilter",0,1,true))) { setPositiveExpression((com.sforce.soap.tooling.sobject.MLFilter)__typeMapper.readObject(__in, _lookupTypeInfo("PositiveExpression", "urn:sobject.tooling.soap.sforce.com","PositiveExpression","urn:sobject.tooling.soap.sforce.com","MLFilter",0,1,true), com.sforce.soap.tooling.sobject.MLFilter.class)); } } private void writeFieldPositiveExpression(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("PositiveExpression", "urn:sobject.tooling.soap.sforce.com","PositiveExpression","urn:sobject.tooling.soap.sforce.com","MLFilter",0,1,true), PositiveExpression, PositiveExpression__is_set); } /** * element : PositiveExpressionId of type {urn:tooling.soap.sforce.com}ID * java type: java.lang.String */ private boolean PositiveExpressionId__is_set = false; private java.lang.String PositiveExpressionId; public java.lang.String getPositiveExpressionId() { return PositiveExpressionId; } public void setPositiveExpressionId(java.lang.String PositiveExpressionId) { this.PositiveExpressionId = PositiveExpressionId; PositiveExpressionId__is_set = true; } protected void setPositiveExpressionId(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("PositiveExpressionId", "urn:sobject.tooling.soap.sforce.com","PositiveExpressionId","urn:tooling.soap.sforce.com","ID",0,1,true))) { setPositiveExpressionId(__typeMapper.readString(__in, _lookupTypeInfo("PositiveExpressionId", "urn:sobject.tooling.soap.sforce.com","PositiveExpressionId","urn:tooling.soap.sforce.com","ID",0,1,true), java.lang.String.class)); } } private void writeFieldPositiveExpressionId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("PositiveExpressionId", "urn:sobject.tooling.soap.sforce.com","PositiveExpressionId","urn:tooling.soap.sforce.com","ID",0,1,true), PositiveExpressionId, PositiveExpressionId__is_set); } /** * element : Status of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean Status__is_set = false; private java.lang.String Status; public java.lang.String getStatus() { return Status; } public void setStatus(java.lang.String 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.isElement(__in, _lookupTypeInfo("Status", "urn:sobject.tooling.soap.sforce.com","Status","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setStatus(__typeMapper.readString(__in, _lookupTypeInfo("Status", "urn:sobject.tooling.soap.sforce.com","Status","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.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", "urn:sobject.tooling.soap.sforce.com","Status","http://www.w3.org/2001/XMLSchema","string",0,1,true), Status, Status__is_set); } /** * element : SystemModstamp of type {http://www.w3.org/2001/XMLSchema}dateTime * java type: java.util.Calendar */ private boolean SystemModstamp__is_set = false; private java.util.Calendar SystemModstamp; public java.util.Calendar getSystemModstamp() { return SystemModstamp; } public void setSystemModstamp(java.util.Calendar SystemModstamp) { this.SystemModstamp = SystemModstamp; SystemModstamp__is_set = true; } protected void setSystemModstamp(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("SystemModstamp", "urn:sobject.tooling.soap.sforce.com","SystemModstamp","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true))) { setSystemModstamp((java.util.Calendar)__typeMapper.readObject(__in, _lookupTypeInfo("SystemModstamp", "urn:sobject.tooling.soap.sforce.com","SystemModstamp","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), java.util.Calendar.class)); } } private void writeFieldSystemModstamp(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("SystemModstamp", "urn:sobject.tooling.soap.sforce.com","SystemModstamp","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), SystemModstamp, SystemModstamp__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:sobject.tooling.soap.sforce.com", "MLRecommendationDefinition"); 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("[MLRecommendationDefinition "); 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 { writeFieldApplication(__out, __typeMapper); writeFieldApplicationId(__out, __typeMapper); writeFieldCreatedBy(__out, __typeMapper); writeFieldCreatedById(__out, __typeMapper); writeFieldCreatedDate(__out, __typeMapper); writeFieldDescription(__out, __typeMapper); writeFieldDeveloperName(__out, __typeMapper); writeFieldFullName(__out, __typeMapper); writeFieldInteractionDateField(__out, __typeMapper); writeFieldIsDeleted(__out, __typeMapper); writeFieldLanguage(__out, __typeMapper); writeFieldLastModifiedBy(__out, __typeMapper); writeFieldLastModifiedById(__out, __typeMapper); writeFieldLastModifiedDate(__out, __typeMapper); writeFieldManageableState(__out, __typeMapper); writeFieldMasterLabel(__out, __typeMapper); writeFieldMetadata(__out, __typeMapper); writeFieldMlDataDefinitions(__out, __typeMapper); writeFieldNamespacePrefix(__out, __typeMapper); writeFieldNegativeExpression(__out, __typeMapper); writeFieldNegativeExpressionId(__out, __typeMapper); writeFieldPositiveExpression(__out, __typeMapper); writeFieldPositiveExpressionId(__out, __typeMapper); writeFieldStatus(__out, __typeMapper); writeFieldSystemModstamp(__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 { setApplication(__in, __typeMapper); setApplicationId(__in, __typeMapper); setCreatedBy(__in, __typeMapper); setCreatedById(__in, __typeMapper); setCreatedDate(__in, __typeMapper); setDescription(__in, __typeMapper); setDeveloperName(__in, __typeMapper); setFullName(__in, __typeMapper); setInteractionDateField(__in, __typeMapper); setIsDeleted(__in, __typeMapper); setLanguage(__in, __typeMapper); setLastModifiedBy(__in, __typeMapper); setLastModifiedById(__in, __typeMapper); setLastModifiedDate(__in, __typeMapper); setManageableState(__in, __typeMapper); setMasterLabel(__in, __typeMapper); setMetadata(__in, __typeMapper); setMlDataDefinitions(__in, __typeMapper); setNamespacePrefix(__in, __typeMapper); setNegativeExpression(__in, __typeMapper); setNegativeExpressionId(__in, __typeMapper); setPositiveExpression(__in, __typeMapper); setPositiveExpressionId(__in, __typeMapper); setStatus(__in, __typeMapper); setSystemModstamp(__in, __typeMapper); } private void toString1(StringBuilder sb) { toStringHelper(sb, "Application", Application); toStringHelper(sb, "ApplicationId", ApplicationId); toStringHelper(sb, "CreatedBy", CreatedBy); toStringHelper(sb, "CreatedById", CreatedById); toStringHelper(sb, "CreatedDate", CreatedDate); toStringHelper(sb, "Description", Description); toStringHelper(sb, "DeveloperName", DeveloperName); toStringHelper(sb, "FullName", FullName); toStringHelper(sb, "InteractionDateField", InteractionDateField); toStringHelper(sb, "IsDeleted", IsDeleted); toStringHelper(sb, "Language", Language); toStringHelper(sb, "LastModifiedBy", LastModifiedBy); toStringHelper(sb, "LastModifiedById", LastModifiedById); toStringHelper(sb, "LastModifiedDate", LastModifiedDate); toStringHelper(sb, "ManageableState", ManageableState); toStringHelper(sb, "MasterLabel", MasterLabel); toStringHelper(sb, "Metadata", Metadata); toStringHelper(sb, "MlDataDefinitions", MlDataDefinitions); toStringHelper(sb, "NamespacePrefix", NamespacePrefix); toStringHelper(sb, "NegativeExpression", NegativeExpression); toStringHelper(sb, "NegativeExpressionId", NegativeExpressionId); toStringHelper(sb, "PositiveExpression", PositiveExpression); toStringHelper(sb, "PositiveExpressionId", PositiveExpressionId); toStringHelper(sb, "Status", Status); toStringHelper(sb, "SystemModstamp", SystemModstamp); } }