All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.metadata.Profile Maven / Gradle / Ivy

There is a newer version: 62.0.0
Show newest version
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 Profile extends com.sforce.soap.metadata.Metadata {

    /**
     * Constructor
     */
    public Profile() {}

    /* 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 : applicationVisibilities of type {http://soap.sforce.com/2006/04/metadata}ProfileApplicationVisibility
     * java type: com.sforce.soap.metadata.ProfileApplicationVisibility[]
     */
    private boolean applicationVisibilities__is_set = false;

    private com.sforce.soap.metadata.ProfileApplicationVisibility[] applicationVisibilities = new com.sforce.soap.metadata.ProfileApplicationVisibility[0];

    public com.sforce.soap.metadata.ProfileApplicationVisibility[] getApplicationVisibilities() {
      return applicationVisibilities;
    }

    public void setApplicationVisibilities(com.sforce.soap.metadata.ProfileApplicationVisibility[] applicationVisibilities) {
      this.applicationVisibilities = applicationVisibilities;
      applicationVisibilities__is_set = true;
    }

    protected void setApplicationVisibilities(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("applicationVisibilities", "http://soap.sforce.com/2006/04/metadata","applicationVisibilities","http://soap.sforce.com/2006/04/metadata","ProfileApplicationVisibility",0,-1,true))) {
        setApplicationVisibilities((com.sforce.soap.metadata.ProfileApplicationVisibility[])__typeMapper.readObject(__in, _lookupTypeInfo("applicationVisibilities", "http://soap.sforce.com/2006/04/metadata","applicationVisibilities","http://soap.sforce.com/2006/04/metadata","ProfileApplicationVisibility",0,-1,true), com.sforce.soap.metadata.ProfileApplicationVisibility[].class));
      }
    }

    private void writeFieldApplicationVisibilities(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("applicationVisibilities", "http://soap.sforce.com/2006/04/metadata","applicationVisibilities","http://soap.sforce.com/2006/04/metadata","ProfileApplicationVisibility",0,-1,true), applicationVisibilities, applicationVisibilities__is_set);
    }

    /**
     * element : categoryGroupVisibilities of type {http://soap.sforce.com/2006/04/metadata}ProfileCategoryGroupVisibility
     * java type: com.sforce.soap.metadata.ProfileCategoryGroupVisibility[]
     */
    private boolean categoryGroupVisibilities__is_set = false;

    private com.sforce.soap.metadata.ProfileCategoryGroupVisibility[] categoryGroupVisibilities = new com.sforce.soap.metadata.ProfileCategoryGroupVisibility[0];

    public com.sforce.soap.metadata.ProfileCategoryGroupVisibility[] getCategoryGroupVisibilities() {
      return categoryGroupVisibilities;
    }

    public void setCategoryGroupVisibilities(com.sforce.soap.metadata.ProfileCategoryGroupVisibility[] categoryGroupVisibilities) {
      this.categoryGroupVisibilities = categoryGroupVisibilities;
      categoryGroupVisibilities__is_set = true;
    }

    protected void setCategoryGroupVisibilities(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("categoryGroupVisibilities", "http://soap.sforce.com/2006/04/metadata","categoryGroupVisibilities","http://soap.sforce.com/2006/04/metadata","ProfileCategoryGroupVisibility",0,-1,true))) {
        setCategoryGroupVisibilities((com.sforce.soap.metadata.ProfileCategoryGroupVisibility[])__typeMapper.readObject(__in, _lookupTypeInfo("categoryGroupVisibilities", "http://soap.sforce.com/2006/04/metadata","categoryGroupVisibilities","http://soap.sforce.com/2006/04/metadata","ProfileCategoryGroupVisibility",0,-1,true), com.sforce.soap.metadata.ProfileCategoryGroupVisibility[].class));
      }
    }

    private void writeFieldCategoryGroupVisibilities(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("categoryGroupVisibilities", "http://soap.sforce.com/2006/04/metadata","categoryGroupVisibilities","http://soap.sforce.com/2006/04/metadata","ProfileCategoryGroupVisibility",0,-1,true), categoryGroupVisibilities, categoryGroupVisibilities__is_set);
    }

    /**
     * element : classAccesses of type {http://soap.sforce.com/2006/04/metadata}ProfileApexClassAccess
     * java type: com.sforce.soap.metadata.ProfileApexClassAccess[]
     */
    private boolean classAccesses__is_set = false;

    private com.sforce.soap.metadata.ProfileApexClassAccess[] classAccesses = new com.sforce.soap.metadata.ProfileApexClassAccess[0];

    public com.sforce.soap.metadata.ProfileApexClassAccess[] getClassAccesses() {
      return classAccesses;
    }

    public void setClassAccesses(com.sforce.soap.metadata.ProfileApexClassAccess[] classAccesses) {
      this.classAccesses = classAccesses;
      classAccesses__is_set = true;
    }

    protected void setClassAccesses(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("classAccesses", "http://soap.sforce.com/2006/04/metadata","classAccesses","http://soap.sforce.com/2006/04/metadata","ProfileApexClassAccess",0,-1,true))) {
        setClassAccesses((com.sforce.soap.metadata.ProfileApexClassAccess[])__typeMapper.readObject(__in, _lookupTypeInfo("classAccesses", "http://soap.sforce.com/2006/04/metadata","classAccesses","http://soap.sforce.com/2006/04/metadata","ProfileApexClassAccess",0,-1,true), com.sforce.soap.metadata.ProfileApexClassAccess[].class));
      }
    }

    private void writeFieldClassAccesses(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("classAccesses", "http://soap.sforce.com/2006/04/metadata","classAccesses","http://soap.sforce.com/2006/04/metadata","ProfileApexClassAccess",0,-1,true), classAccesses, classAccesses__is_set);
    }

    /**
     * element : custom of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean custom__is_set = false;

    private boolean custom;

    public boolean getCustom() {
      return custom;
    }

    public boolean isCustom() {
      return custom;
    }

    public void setCustom(boolean custom) {
      this.custom = custom;
      custom__is_set = true;
    }

    protected void setCustom(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("custom", "http://soap.sforce.com/2006/04/metadata","custom","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setCustom(__typeMapper.readBoolean(__in, _lookupTypeInfo("custom", "http://soap.sforce.com/2006/04/metadata","custom","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

    private void writeFieldCustom(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("custom", "http://soap.sforce.com/2006/04/metadata","custom","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), custom, custom__is_set);
    }

    /**
     * element : customMetadataTypeAccesses of type {http://soap.sforce.com/2006/04/metadata}ProfileCustomMetadataTypeAccess
     * java type: com.sforce.soap.metadata.ProfileCustomMetadataTypeAccess[]
     */
    private boolean customMetadataTypeAccesses__is_set = false;

    private com.sforce.soap.metadata.ProfileCustomMetadataTypeAccess[] customMetadataTypeAccesses = new com.sforce.soap.metadata.ProfileCustomMetadataTypeAccess[0];

    public com.sforce.soap.metadata.ProfileCustomMetadataTypeAccess[] getCustomMetadataTypeAccesses() {
      return customMetadataTypeAccesses;
    }

    public void setCustomMetadataTypeAccesses(com.sforce.soap.metadata.ProfileCustomMetadataTypeAccess[] customMetadataTypeAccesses) {
      this.customMetadataTypeAccesses = customMetadataTypeAccesses;
      customMetadataTypeAccesses__is_set = true;
    }

    protected void setCustomMetadataTypeAccesses(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("customMetadataTypeAccesses", "http://soap.sforce.com/2006/04/metadata","customMetadataTypeAccesses","http://soap.sforce.com/2006/04/metadata","ProfileCustomMetadataTypeAccess",0,-1,true))) {
        setCustomMetadataTypeAccesses((com.sforce.soap.metadata.ProfileCustomMetadataTypeAccess[])__typeMapper.readObject(__in, _lookupTypeInfo("customMetadataTypeAccesses", "http://soap.sforce.com/2006/04/metadata","customMetadataTypeAccesses","http://soap.sforce.com/2006/04/metadata","ProfileCustomMetadataTypeAccess",0,-1,true), com.sforce.soap.metadata.ProfileCustomMetadataTypeAccess[].class));
      }
    }

    private void writeFieldCustomMetadataTypeAccesses(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("customMetadataTypeAccesses", "http://soap.sforce.com/2006/04/metadata","customMetadataTypeAccesses","http://soap.sforce.com/2006/04/metadata","ProfileCustomMetadataTypeAccess",0,-1,true), customMetadataTypeAccesses, customMetadataTypeAccesses__is_set);
    }

    /**
     * element : customPermissions of type {http://soap.sforce.com/2006/04/metadata}ProfileCustomPermissions
     * java type: com.sforce.soap.metadata.ProfileCustomPermissions[]
     */
    private boolean customPermissions__is_set = false;

    private com.sforce.soap.metadata.ProfileCustomPermissions[] customPermissions = new com.sforce.soap.metadata.ProfileCustomPermissions[0];

    public com.sforce.soap.metadata.ProfileCustomPermissions[] getCustomPermissions() {
      return customPermissions;
    }

    public void setCustomPermissions(com.sforce.soap.metadata.ProfileCustomPermissions[] customPermissions) {
      this.customPermissions = customPermissions;
      customPermissions__is_set = true;
    }

    protected void setCustomPermissions(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("customPermissions", "http://soap.sforce.com/2006/04/metadata","customPermissions","http://soap.sforce.com/2006/04/metadata","ProfileCustomPermissions",0,-1,true))) {
        setCustomPermissions((com.sforce.soap.metadata.ProfileCustomPermissions[])__typeMapper.readObject(__in, _lookupTypeInfo("customPermissions", "http://soap.sforce.com/2006/04/metadata","customPermissions","http://soap.sforce.com/2006/04/metadata","ProfileCustomPermissions",0,-1,true), com.sforce.soap.metadata.ProfileCustomPermissions[].class));
      }
    }

    private void writeFieldCustomPermissions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("customPermissions", "http://soap.sforce.com/2006/04/metadata","customPermissions","http://soap.sforce.com/2006/04/metadata","ProfileCustomPermissions",0,-1,true), customPermissions, customPermissions__is_set);
    }

    /**
     * element : customSettingAccesses of type {http://soap.sforce.com/2006/04/metadata}ProfileCustomSettingAccess
     * java type: com.sforce.soap.metadata.ProfileCustomSettingAccess[]
     */
    private boolean customSettingAccesses__is_set = false;

    private com.sforce.soap.metadata.ProfileCustomSettingAccess[] customSettingAccesses = new com.sforce.soap.metadata.ProfileCustomSettingAccess[0];

    public com.sforce.soap.metadata.ProfileCustomSettingAccess[] getCustomSettingAccesses() {
      return customSettingAccesses;
    }

    public void setCustomSettingAccesses(com.sforce.soap.metadata.ProfileCustomSettingAccess[] customSettingAccesses) {
      this.customSettingAccesses = customSettingAccesses;
      customSettingAccesses__is_set = true;
    }

    protected void setCustomSettingAccesses(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("customSettingAccesses", "http://soap.sforce.com/2006/04/metadata","customSettingAccesses","http://soap.sforce.com/2006/04/metadata","ProfileCustomSettingAccess",0,-1,true))) {
        setCustomSettingAccesses((com.sforce.soap.metadata.ProfileCustomSettingAccess[])__typeMapper.readObject(__in, _lookupTypeInfo("customSettingAccesses", "http://soap.sforce.com/2006/04/metadata","customSettingAccesses","http://soap.sforce.com/2006/04/metadata","ProfileCustomSettingAccess",0,-1,true), com.sforce.soap.metadata.ProfileCustomSettingAccess[].class));
      }
    }

    private void writeFieldCustomSettingAccesses(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("customSettingAccesses", "http://soap.sforce.com/2006/04/metadata","customSettingAccesses","http://soap.sforce.com/2006/04/metadata","ProfileCustomSettingAccess",0,-1,true), customSettingAccesses, customSettingAccesses__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", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setDescription(__typeMapper.readString(__in, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","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", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), description, description__is_set);
    }

    /**
     * element : externalDataSourceAccesses of type {http://soap.sforce.com/2006/04/metadata}ProfileExternalDataSourceAccess
     * java type: com.sforce.soap.metadata.ProfileExternalDataSourceAccess[]
     */
    private boolean externalDataSourceAccesses__is_set = false;

    private com.sforce.soap.metadata.ProfileExternalDataSourceAccess[] externalDataSourceAccesses = new com.sforce.soap.metadata.ProfileExternalDataSourceAccess[0];

    public com.sforce.soap.metadata.ProfileExternalDataSourceAccess[] getExternalDataSourceAccesses() {
      return externalDataSourceAccesses;
    }

    public void setExternalDataSourceAccesses(com.sforce.soap.metadata.ProfileExternalDataSourceAccess[] externalDataSourceAccesses) {
      this.externalDataSourceAccesses = externalDataSourceAccesses;
      externalDataSourceAccesses__is_set = true;
    }

    protected void setExternalDataSourceAccesses(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("externalDataSourceAccesses", "http://soap.sforce.com/2006/04/metadata","externalDataSourceAccesses","http://soap.sforce.com/2006/04/metadata","ProfileExternalDataSourceAccess",0,-1,true))) {
        setExternalDataSourceAccesses((com.sforce.soap.metadata.ProfileExternalDataSourceAccess[])__typeMapper.readObject(__in, _lookupTypeInfo("externalDataSourceAccesses", "http://soap.sforce.com/2006/04/metadata","externalDataSourceAccesses","http://soap.sforce.com/2006/04/metadata","ProfileExternalDataSourceAccess",0,-1,true), com.sforce.soap.metadata.ProfileExternalDataSourceAccess[].class));
      }
    }

    private void writeFieldExternalDataSourceAccesses(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("externalDataSourceAccesses", "http://soap.sforce.com/2006/04/metadata","externalDataSourceAccesses","http://soap.sforce.com/2006/04/metadata","ProfileExternalDataSourceAccess",0,-1,true), externalDataSourceAccesses, externalDataSourceAccesses__is_set);
    }

    /**
     * element : fieldPermissions of type {http://soap.sforce.com/2006/04/metadata}ProfileFieldLevelSecurity
     * java type: com.sforce.soap.metadata.ProfileFieldLevelSecurity[]
     */
    private boolean fieldPermissions__is_set = false;

    private com.sforce.soap.metadata.ProfileFieldLevelSecurity[] fieldPermissions = new com.sforce.soap.metadata.ProfileFieldLevelSecurity[0];

    public com.sforce.soap.metadata.ProfileFieldLevelSecurity[] getFieldPermissions() {
      return fieldPermissions;
    }

    public void setFieldPermissions(com.sforce.soap.metadata.ProfileFieldLevelSecurity[] fieldPermissions) {
      this.fieldPermissions = fieldPermissions;
      fieldPermissions__is_set = true;
    }

    protected void setFieldPermissions(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("fieldPermissions", "http://soap.sforce.com/2006/04/metadata","fieldPermissions","http://soap.sforce.com/2006/04/metadata","ProfileFieldLevelSecurity",0,-1,true))) {
        setFieldPermissions((com.sforce.soap.metadata.ProfileFieldLevelSecurity[])__typeMapper.readObject(__in, _lookupTypeInfo("fieldPermissions", "http://soap.sforce.com/2006/04/metadata","fieldPermissions","http://soap.sforce.com/2006/04/metadata","ProfileFieldLevelSecurity",0,-1,true), com.sforce.soap.metadata.ProfileFieldLevelSecurity[].class));
      }
    }

    private void writeFieldFieldPermissions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("fieldPermissions", "http://soap.sforce.com/2006/04/metadata","fieldPermissions","http://soap.sforce.com/2006/04/metadata","ProfileFieldLevelSecurity",0,-1,true), fieldPermissions, fieldPermissions__is_set);
    }

    /**
     * element : flowAccesses of type {http://soap.sforce.com/2006/04/metadata}ProfileFlowAccess
     * java type: com.sforce.soap.metadata.ProfileFlowAccess[]
     */
    private boolean flowAccesses__is_set = false;

    private com.sforce.soap.metadata.ProfileFlowAccess[] flowAccesses = new com.sforce.soap.metadata.ProfileFlowAccess[0];

    public com.sforce.soap.metadata.ProfileFlowAccess[] getFlowAccesses() {
      return flowAccesses;
    }

    public void setFlowAccesses(com.sforce.soap.metadata.ProfileFlowAccess[] flowAccesses) {
      this.flowAccesses = flowAccesses;
      flowAccesses__is_set = true;
    }

    protected void setFlowAccesses(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("flowAccesses", "http://soap.sforce.com/2006/04/metadata","flowAccesses","http://soap.sforce.com/2006/04/metadata","ProfileFlowAccess",0,-1,true))) {
        setFlowAccesses((com.sforce.soap.metadata.ProfileFlowAccess[])__typeMapper.readObject(__in, _lookupTypeInfo("flowAccesses", "http://soap.sforce.com/2006/04/metadata","flowAccesses","http://soap.sforce.com/2006/04/metadata","ProfileFlowAccess",0,-1,true), com.sforce.soap.metadata.ProfileFlowAccess[].class));
      }
    }

    private void writeFieldFlowAccesses(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("flowAccesses", "http://soap.sforce.com/2006/04/metadata","flowAccesses","http://soap.sforce.com/2006/04/metadata","ProfileFlowAccess",0,-1,true), flowAccesses, flowAccesses__is_set);
    }

    /**
     * element : layoutAssignments of type {http://soap.sforce.com/2006/04/metadata}ProfileLayoutAssignment
     * java type: com.sforce.soap.metadata.ProfileLayoutAssignment[]
     */
    private boolean layoutAssignments__is_set = false;

    private com.sforce.soap.metadata.ProfileLayoutAssignment[] layoutAssignments = new com.sforce.soap.metadata.ProfileLayoutAssignment[0];

    public com.sforce.soap.metadata.ProfileLayoutAssignment[] getLayoutAssignments() {
      return layoutAssignments;
    }

    public void setLayoutAssignments(com.sforce.soap.metadata.ProfileLayoutAssignment[] layoutAssignments) {
      this.layoutAssignments = layoutAssignments;
      layoutAssignments__is_set = true;
    }

    protected void setLayoutAssignments(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("layoutAssignments", "http://soap.sforce.com/2006/04/metadata","layoutAssignments","http://soap.sforce.com/2006/04/metadata","ProfileLayoutAssignment",0,-1,true))) {
        setLayoutAssignments((com.sforce.soap.metadata.ProfileLayoutAssignment[])__typeMapper.readObject(__in, _lookupTypeInfo("layoutAssignments", "http://soap.sforce.com/2006/04/metadata","layoutAssignments","http://soap.sforce.com/2006/04/metadata","ProfileLayoutAssignment",0,-1,true), com.sforce.soap.metadata.ProfileLayoutAssignment[].class));
      }
    }

    private void writeFieldLayoutAssignments(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("layoutAssignments", "http://soap.sforce.com/2006/04/metadata","layoutAssignments","http://soap.sforce.com/2006/04/metadata","ProfileLayoutAssignment",0,-1,true), layoutAssignments, layoutAssignments__is_set);
    }

    /**
     * element : loginFlows of type {http://soap.sforce.com/2006/04/metadata}LoginFlow
     * java type: com.sforce.soap.metadata.LoginFlow[]
     */
    private boolean loginFlows__is_set = false;

    private com.sforce.soap.metadata.LoginFlow[] loginFlows = new com.sforce.soap.metadata.LoginFlow[0];

    public com.sforce.soap.metadata.LoginFlow[] getLoginFlows() {
      return loginFlows;
    }

    public void setLoginFlows(com.sforce.soap.metadata.LoginFlow[] loginFlows) {
      this.loginFlows = loginFlows;
      loginFlows__is_set = true;
    }

    protected void setLoginFlows(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("loginFlows", "http://soap.sforce.com/2006/04/metadata","loginFlows","http://soap.sforce.com/2006/04/metadata","LoginFlow",0,-1,true))) {
        setLoginFlows((com.sforce.soap.metadata.LoginFlow[])__typeMapper.readObject(__in, _lookupTypeInfo("loginFlows", "http://soap.sforce.com/2006/04/metadata","loginFlows","http://soap.sforce.com/2006/04/metadata","LoginFlow",0,-1,true), com.sforce.soap.metadata.LoginFlow[].class));
      }
    }

    private void writeFieldLoginFlows(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("loginFlows", "http://soap.sforce.com/2006/04/metadata","loginFlows","http://soap.sforce.com/2006/04/metadata","LoginFlow",0,-1,true), loginFlows, loginFlows__is_set);
    }

    /**
     * element : loginHours of type {http://soap.sforce.com/2006/04/metadata}ProfileLoginHours
     * java type: com.sforce.soap.metadata.ProfileLoginHours
     */
    private boolean loginHours__is_set = false;

    private com.sforce.soap.metadata.ProfileLoginHours loginHours;

    public com.sforce.soap.metadata.ProfileLoginHours getLoginHours() {
      return loginHours;
    }

    public void setLoginHours(com.sforce.soap.metadata.ProfileLoginHours loginHours) {
      this.loginHours = loginHours;
      loginHours__is_set = true;
    }

    protected void setLoginHours(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("loginHours", "http://soap.sforce.com/2006/04/metadata","loginHours","http://soap.sforce.com/2006/04/metadata","ProfileLoginHours",0,1,true))) {
        setLoginHours((com.sforce.soap.metadata.ProfileLoginHours)__typeMapper.readObject(__in, _lookupTypeInfo("loginHours", "http://soap.sforce.com/2006/04/metadata","loginHours","http://soap.sforce.com/2006/04/metadata","ProfileLoginHours",0,1,true), com.sforce.soap.metadata.ProfileLoginHours.class));
      }
    }

    private void writeFieldLoginHours(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("loginHours", "http://soap.sforce.com/2006/04/metadata","loginHours","http://soap.sforce.com/2006/04/metadata","ProfileLoginHours",0,1,true), loginHours, loginHours__is_set);
    }

    /**
     * element : loginIpRanges of type {http://soap.sforce.com/2006/04/metadata}ProfileLoginIpRange
     * java type: com.sforce.soap.metadata.ProfileLoginIpRange[]
     */
    private boolean loginIpRanges__is_set = false;

    private com.sforce.soap.metadata.ProfileLoginIpRange[] loginIpRanges = new com.sforce.soap.metadata.ProfileLoginIpRange[0];

    public com.sforce.soap.metadata.ProfileLoginIpRange[] getLoginIpRanges() {
      return loginIpRanges;
    }

    public void setLoginIpRanges(com.sforce.soap.metadata.ProfileLoginIpRange[] loginIpRanges) {
      this.loginIpRanges = loginIpRanges;
      loginIpRanges__is_set = true;
    }

    protected void setLoginIpRanges(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("loginIpRanges", "http://soap.sforce.com/2006/04/metadata","loginIpRanges","http://soap.sforce.com/2006/04/metadata","ProfileLoginIpRange",0,-1,true))) {
        setLoginIpRanges((com.sforce.soap.metadata.ProfileLoginIpRange[])__typeMapper.readObject(__in, _lookupTypeInfo("loginIpRanges", "http://soap.sforce.com/2006/04/metadata","loginIpRanges","http://soap.sforce.com/2006/04/metadata","ProfileLoginIpRange",0,-1,true), com.sforce.soap.metadata.ProfileLoginIpRange[].class));
      }
    }

    private void writeFieldLoginIpRanges(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("loginIpRanges", "http://soap.sforce.com/2006/04/metadata","loginIpRanges","http://soap.sforce.com/2006/04/metadata","ProfileLoginIpRange",0,-1,true), loginIpRanges, loginIpRanges__is_set);
    }

    /**
     * element : objectPermissions of type {http://soap.sforce.com/2006/04/metadata}ProfileObjectPermissions
     * java type: com.sforce.soap.metadata.ProfileObjectPermissions[]
     */
    private boolean objectPermissions__is_set = false;

    private com.sforce.soap.metadata.ProfileObjectPermissions[] objectPermissions = new com.sforce.soap.metadata.ProfileObjectPermissions[0];

    public com.sforce.soap.metadata.ProfileObjectPermissions[] getObjectPermissions() {
      return objectPermissions;
    }

    public void setObjectPermissions(com.sforce.soap.metadata.ProfileObjectPermissions[] objectPermissions) {
      this.objectPermissions = objectPermissions;
      objectPermissions__is_set = true;
    }

    protected void setObjectPermissions(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("objectPermissions", "http://soap.sforce.com/2006/04/metadata","objectPermissions","http://soap.sforce.com/2006/04/metadata","ProfileObjectPermissions",0,-1,true))) {
        setObjectPermissions((com.sforce.soap.metadata.ProfileObjectPermissions[])__typeMapper.readObject(__in, _lookupTypeInfo("objectPermissions", "http://soap.sforce.com/2006/04/metadata","objectPermissions","http://soap.sforce.com/2006/04/metadata","ProfileObjectPermissions",0,-1,true), com.sforce.soap.metadata.ProfileObjectPermissions[].class));
      }
    }

    private void writeFieldObjectPermissions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("objectPermissions", "http://soap.sforce.com/2006/04/metadata","objectPermissions","http://soap.sforce.com/2006/04/metadata","ProfileObjectPermissions",0,-1,true), objectPermissions, objectPermissions__is_set);
    }

    /**
     * element : pageAccesses of type {http://soap.sforce.com/2006/04/metadata}ProfileApexPageAccess
     * java type: com.sforce.soap.metadata.ProfileApexPageAccess[]
     */
    private boolean pageAccesses__is_set = false;

    private com.sforce.soap.metadata.ProfileApexPageAccess[] pageAccesses = new com.sforce.soap.metadata.ProfileApexPageAccess[0];

    public com.sforce.soap.metadata.ProfileApexPageAccess[] getPageAccesses() {
      return pageAccesses;
    }

    public void setPageAccesses(com.sforce.soap.metadata.ProfileApexPageAccess[] pageAccesses) {
      this.pageAccesses = pageAccesses;
      pageAccesses__is_set = true;
    }

    protected void setPageAccesses(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("pageAccesses", "http://soap.sforce.com/2006/04/metadata","pageAccesses","http://soap.sforce.com/2006/04/metadata","ProfileApexPageAccess",0,-1,true))) {
        setPageAccesses((com.sforce.soap.metadata.ProfileApexPageAccess[])__typeMapper.readObject(__in, _lookupTypeInfo("pageAccesses", "http://soap.sforce.com/2006/04/metadata","pageAccesses","http://soap.sforce.com/2006/04/metadata","ProfileApexPageAccess",0,-1,true), com.sforce.soap.metadata.ProfileApexPageAccess[].class));
      }
    }

    private void writeFieldPageAccesses(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("pageAccesses", "http://soap.sforce.com/2006/04/metadata","pageAccesses","http://soap.sforce.com/2006/04/metadata","ProfileApexPageAccess",0,-1,true), pageAccesses, pageAccesses__is_set);
    }

    /**
     * element : profileActionOverrides of type {http://soap.sforce.com/2006/04/metadata}ProfileActionOverride
     * java type: com.sforce.soap.metadata.ProfileActionOverride[]
     */
    private boolean profileActionOverrides__is_set = false;

    private com.sforce.soap.metadata.ProfileActionOverride[] profileActionOverrides = new com.sforce.soap.metadata.ProfileActionOverride[0];

    public com.sforce.soap.metadata.ProfileActionOverride[] getProfileActionOverrides() {
      return profileActionOverrides;
    }

    public void setProfileActionOverrides(com.sforce.soap.metadata.ProfileActionOverride[] profileActionOverrides) {
      this.profileActionOverrides = profileActionOverrides;
      profileActionOverrides__is_set = true;
    }

    protected void setProfileActionOverrides(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("profileActionOverrides", "http://soap.sforce.com/2006/04/metadata","profileActionOverrides","http://soap.sforce.com/2006/04/metadata","ProfileActionOverride",0,-1,true))) {
        setProfileActionOverrides((com.sforce.soap.metadata.ProfileActionOverride[])__typeMapper.readObject(__in, _lookupTypeInfo("profileActionOverrides", "http://soap.sforce.com/2006/04/metadata","profileActionOverrides","http://soap.sforce.com/2006/04/metadata","ProfileActionOverride",0,-1,true), com.sforce.soap.metadata.ProfileActionOverride[].class));
      }
    }

    private void writeFieldProfileActionOverrides(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("profileActionOverrides", "http://soap.sforce.com/2006/04/metadata","profileActionOverrides","http://soap.sforce.com/2006/04/metadata","ProfileActionOverride",0,-1,true), profileActionOverrides, profileActionOverrides__is_set);
    }

    /**
     * element : recordTypeVisibilities of type {http://soap.sforce.com/2006/04/metadata}ProfileRecordTypeVisibility
     * java type: com.sforce.soap.metadata.ProfileRecordTypeVisibility[]
     */
    private boolean recordTypeVisibilities__is_set = false;

    private com.sforce.soap.metadata.ProfileRecordTypeVisibility[] recordTypeVisibilities = new com.sforce.soap.metadata.ProfileRecordTypeVisibility[0];

    public com.sforce.soap.metadata.ProfileRecordTypeVisibility[] getRecordTypeVisibilities() {
      return recordTypeVisibilities;
    }

    public void setRecordTypeVisibilities(com.sforce.soap.metadata.ProfileRecordTypeVisibility[] recordTypeVisibilities) {
      this.recordTypeVisibilities = recordTypeVisibilities;
      recordTypeVisibilities__is_set = true;
    }

    protected void setRecordTypeVisibilities(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("recordTypeVisibilities", "http://soap.sforce.com/2006/04/metadata","recordTypeVisibilities","http://soap.sforce.com/2006/04/metadata","ProfileRecordTypeVisibility",0,-1,true))) {
        setRecordTypeVisibilities((com.sforce.soap.metadata.ProfileRecordTypeVisibility[])__typeMapper.readObject(__in, _lookupTypeInfo("recordTypeVisibilities", "http://soap.sforce.com/2006/04/metadata","recordTypeVisibilities","http://soap.sforce.com/2006/04/metadata","ProfileRecordTypeVisibility",0,-1,true), com.sforce.soap.metadata.ProfileRecordTypeVisibility[].class));
      }
    }

    private void writeFieldRecordTypeVisibilities(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("recordTypeVisibilities", "http://soap.sforce.com/2006/04/metadata","recordTypeVisibilities","http://soap.sforce.com/2006/04/metadata","ProfileRecordTypeVisibility",0,-1,true), recordTypeVisibilities, recordTypeVisibilities__is_set);
    }

    /**
     * element : tabVisibilities of type {http://soap.sforce.com/2006/04/metadata}ProfileTabVisibility
     * java type: com.sforce.soap.metadata.ProfileTabVisibility[]
     */
    private boolean tabVisibilities__is_set = false;

    private com.sforce.soap.metadata.ProfileTabVisibility[] tabVisibilities = new com.sforce.soap.metadata.ProfileTabVisibility[0];

    public com.sforce.soap.metadata.ProfileTabVisibility[] getTabVisibilities() {
      return tabVisibilities;
    }

    public void setTabVisibilities(com.sforce.soap.metadata.ProfileTabVisibility[] tabVisibilities) {
      this.tabVisibilities = tabVisibilities;
      tabVisibilities__is_set = true;
    }

    protected void setTabVisibilities(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("tabVisibilities", "http://soap.sforce.com/2006/04/metadata","tabVisibilities","http://soap.sforce.com/2006/04/metadata","ProfileTabVisibility",0,-1,true))) {
        setTabVisibilities((com.sforce.soap.metadata.ProfileTabVisibility[])__typeMapper.readObject(__in, _lookupTypeInfo("tabVisibilities", "http://soap.sforce.com/2006/04/metadata","tabVisibilities","http://soap.sforce.com/2006/04/metadata","ProfileTabVisibility",0,-1,true), com.sforce.soap.metadata.ProfileTabVisibility[].class));
      }
    }

    private void writeFieldTabVisibilities(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("tabVisibilities", "http://soap.sforce.com/2006/04/metadata","tabVisibilities","http://soap.sforce.com/2006/04/metadata","ProfileTabVisibility",0,-1,true), tabVisibilities, tabVisibilities__is_set);
    }

    /**
     * element : userLicense of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean userLicense__is_set = false;

    private java.lang.String userLicense;

    public java.lang.String getUserLicense() {
      return userLicense;
    }

    public void setUserLicense(java.lang.String userLicense) {
      this.userLicense = userLicense;
      userLicense__is_set = true;
    }

    protected void setUserLicense(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("userLicense", "http://soap.sforce.com/2006/04/metadata","userLicense","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setUserLicense(__typeMapper.readString(__in, _lookupTypeInfo("userLicense", "http://soap.sforce.com/2006/04/metadata","userLicense","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldUserLicense(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("userLicense", "http://soap.sforce.com/2006/04/metadata","userLicense","http://www.w3.org/2001/XMLSchema","string",0,1,true), userLicense, userLicense__is_set);
    }

    /**
     * element : userPermissions of type {http://soap.sforce.com/2006/04/metadata}ProfileUserPermission
     * java type: com.sforce.soap.metadata.ProfileUserPermission[]
     */
    private boolean userPermissions__is_set = false;

    private com.sforce.soap.metadata.ProfileUserPermission[] userPermissions = new com.sforce.soap.metadata.ProfileUserPermission[0];

    public com.sforce.soap.metadata.ProfileUserPermission[] getUserPermissions() {
      return userPermissions;
    }

    public void setUserPermissions(com.sforce.soap.metadata.ProfileUserPermission[] userPermissions) {
      this.userPermissions = userPermissions;
      userPermissions__is_set = true;
    }

    protected void setUserPermissions(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("userPermissions", "http://soap.sforce.com/2006/04/metadata","userPermissions","http://soap.sforce.com/2006/04/metadata","ProfileUserPermission",0,-1,true))) {
        setUserPermissions((com.sforce.soap.metadata.ProfileUserPermission[])__typeMapper.readObject(__in, _lookupTypeInfo("userPermissions", "http://soap.sforce.com/2006/04/metadata","userPermissions","http://soap.sforce.com/2006/04/metadata","ProfileUserPermission",0,-1,true), com.sforce.soap.metadata.ProfileUserPermission[].class));
      }
    }

    private void writeFieldUserPermissions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("userPermissions", "http://soap.sforce.com/2006/04/metadata","userPermissions","http://soap.sforce.com/2006/04/metadata","ProfileUserPermission",0,-1,true), userPermissions, userPermissions__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", "Profile");
      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("[Profile ");
      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 {
      writeFieldApplicationVisibilities(__out, __typeMapper);
      writeFieldCategoryGroupVisibilities(__out, __typeMapper);
      writeFieldClassAccesses(__out, __typeMapper);
      writeFieldCustom(__out, __typeMapper);
      writeFieldCustomMetadataTypeAccesses(__out, __typeMapper);
      writeFieldCustomPermissions(__out, __typeMapper);
      writeFieldCustomSettingAccesses(__out, __typeMapper);
      writeFieldDescription(__out, __typeMapper);
      writeFieldExternalDataSourceAccesses(__out, __typeMapper);
      writeFieldFieldPermissions(__out, __typeMapper);
      writeFieldFlowAccesses(__out, __typeMapper);
      writeFieldLayoutAssignments(__out, __typeMapper);
      writeFieldLoginFlows(__out, __typeMapper);
      writeFieldLoginHours(__out, __typeMapper);
      writeFieldLoginIpRanges(__out, __typeMapper);
      writeFieldObjectPermissions(__out, __typeMapper);
      writeFieldPageAccesses(__out, __typeMapper);
      writeFieldProfileActionOverrides(__out, __typeMapper);
      writeFieldRecordTypeVisibilities(__out, __typeMapper);
      writeFieldTabVisibilities(__out, __typeMapper);
      writeFieldUserLicense(__out, __typeMapper);
      writeFieldUserPermissions(__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 {
      setApplicationVisibilities(__in, __typeMapper);
      setCategoryGroupVisibilities(__in, __typeMapper);
      setClassAccesses(__in, __typeMapper);
      setCustom(__in, __typeMapper);
      setCustomMetadataTypeAccesses(__in, __typeMapper);
      setCustomPermissions(__in, __typeMapper);
      setCustomSettingAccesses(__in, __typeMapper);
      setDescription(__in, __typeMapper);
      setExternalDataSourceAccesses(__in, __typeMapper);
      setFieldPermissions(__in, __typeMapper);
      setFlowAccesses(__in, __typeMapper);
      setLayoutAssignments(__in, __typeMapper);
      setLoginFlows(__in, __typeMapper);
      setLoginHours(__in, __typeMapper);
      setLoginIpRanges(__in, __typeMapper);
      setObjectPermissions(__in, __typeMapper);
      setPageAccesses(__in, __typeMapper);
      setProfileActionOverrides(__in, __typeMapper);
      setRecordTypeVisibilities(__in, __typeMapper);
      setTabVisibilities(__in, __typeMapper);
      setUserLicense(__in, __typeMapper);
      setUserPermissions(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "applicationVisibilities", applicationVisibilities);
      toStringHelper(sb, "categoryGroupVisibilities", categoryGroupVisibilities);
      toStringHelper(sb, "classAccesses", classAccesses);
      toStringHelper(sb, "custom", custom);
      toStringHelper(sb, "customMetadataTypeAccesses", customMetadataTypeAccesses);
      toStringHelper(sb, "customPermissions", customPermissions);
      toStringHelper(sb, "customSettingAccesses", customSettingAccesses);
      toStringHelper(sb, "description", description);
      toStringHelper(sb, "externalDataSourceAccesses", externalDataSourceAccesses);
      toStringHelper(sb, "fieldPermissions", fieldPermissions);
      toStringHelper(sb, "flowAccesses", flowAccesses);
      toStringHelper(sb, "layoutAssignments", layoutAssignments);
      toStringHelper(sb, "loginFlows", loginFlows);
      toStringHelper(sb, "loginHours", loginHours);
      toStringHelper(sb, "loginIpRanges", loginIpRanges);
      toStringHelper(sb, "objectPermissions", objectPermissions);
      toStringHelper(sb, "pageAccesses", pageAccesses);
      toStringHelper(sb, "profileActionOverrides", profileActionOverrides);
      toStringHelper(sb, "recordTypeVisibilities", recordTypeVisibilities);
      toStringHelper(sb, "tabVisibilities", tabVisibilities);
      toStringHelper(sb, "userLicense", userLicense);
      toStringHelper(sb, "userPermissions", userPermissions);
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy