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

com.sforce.soap.partner.GetUserInfoResult Maven / Gradle / Ivy

The newest version!
package com.sforce.soap.partner;

/**
 * This is a generated class for the SObject Enterprise API.
 * Do not edit this file, as your changes will be lost.
 */
public class GetUserInfoResult implements com.sforce.ws.bind.XMLizable , IGetUserInfoResult{

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

    /* 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 : accessibilityMode of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean accessibilityMode__is_set = false;

    private boolean accessibilityMode;

    @Override
    public boolean getAccessibilityMode() {
      return accessibilityMode;
    }

    @Override
    public boolean isAccessibilityMode() {
      return accessibilityMode;
    }

    @Override
    public void setAccessibilityMode(boolean accessibilityMode) {
      this.accessibilityMode = accessibilityMode;
      accessibilityMode__is_set = true;
    }

    protected void setAccessibilityMode(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("accessibilityMode", "urn:partner.soap.sforce.com","accessibilityMode","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setAccessibilityMode(__typeMapper.readBoolean(__in, _lookupTypeInfo("accessibilityMode", "urn:partner.soap.sforce.com","accessibilityMode","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

    private void writeFieldAccessibilityMode(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("accessibilityMode", "urn:partner.soap.sforce.com","accessibilityMode","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), accessibilityMode, accessibilityMode__is_set);
    }

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

    private boolean chatterExternal;

    @Override
    public boolean getChatterExternal() {
      return chatterExternal;
    }

    @Override
    public boolean isChatterExternal() {
      return chatterExternal;
    }

    @Override
    public void setChatterExternal(boolean chatterExternal) {
      this.chatterExternal = chatterExternal;
      chatterExternal__is_set = true;
    }

    protected void setChatterExternal(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("chatterExternal", "urn:partner.soap.sforce.com","chatterExternal","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setChatterExternal(__typeMapper.readBoolean(__in, _lookupTypeInfo("chatterExternal", "urn:partner.soap.sforce.com","chatterExternal","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

    private void writeFieldChatterExternal(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("chatterExternal", "urn:partner.soap.sforce.com","chatterExternal","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), chatterExternal, chatterExternal__is_set);
    }

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

    private java.lang.String currencySymbol;

    @Override
    public java.lang.String getCurrencySymbol() {
      return currencySymbol;
    }

    @Override
    public void setCurrencySymbol(java.lang.String currencySymbol) {
      this.currencySymbol = currencySymbol;
      currencySymbol__is_set = true;
    }

    protected void setCurrencySymbol(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("currencySymbol", "urn:partner.soap.sforce.com","currencySymbol","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setCurrencySymbol(__typeMapper.readString(__in, _lookupTypeInfo("currencySymbol", "urn:partner.soap.sforce.com","currencySymbol","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldCurrencySymbol(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("currencySymbol", "urn:partner.soap.sforce.com","currencySymbol","http://www.w3.org/2001/XMLSchema","string",1,1,true), currencySymbol, currencySymbol__is_set);
    }

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

    private int orgAttachmentFileSizeLimit;

    @Override
    public int getOrgAttachmentFileSizeLimit() {
      return orgAttachmentFileSizeLimit;
    }

    @Override
    public void setOrgAttachmentFileSizeLimit(int orgAttachmentFileSizeLimit) {
      this.orgAttachmentFileSizeLimit = orgAttachmentFileSizeLimit;
      orgAttachmentFileSizeLimit__is_set = true;
    }

    protected void setOrgAttachmentFileSizeLimit(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("orgAttachmentFileSizeLimit", "urn:partner.soap.sforce.com","orgAttachmentFileSizeLimit","http://www.w3.org/2001/XMLSchema","int",1,1,true))) {
        setOrgAttachmentFileSizeLimit((int)__typeMapper.readInt(__in, _lookupTypeInfo("orgAttachmentFileSizeLimit", "urn:partner.soap.sforce.com","orgAttachmentFileSizeLimit","http://www.w3.org/2001/XMLSchema","int",1,1,true), int.class));
      }
    }

    private void writeFieldOrgAttachmentFileSizeLimit(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("orgAttachmentFileSizeLimit", "urn:partner.soap.sforce.com","orgAttachmentFileSizeLimit","http://www.w3.org/2001/XMLSchema","int",1,1,true), orgAttachmentFileSizeLimit, orgAttachmentFileSizeLimit__is_set);
    }

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

    private java.lang.String orgDefaultCurrencyIsoCode;

    @Override
    public java.lang.String getOrgDefaultCurrencyIsoCode() {
      return orgDefaultCurrencyIsoCode;
    }

    @Override
    public void setOrgDefaultCurrencyIsoCode(java.lang.String orgDefaultCurrencyIsoCode) {
      this.orgDefaultCurrencyIsoCode = orgDefaultCurrencyIsoCode;
      orgDefaultCurrencyIsoCode__is_set = true;
    }

    protected void setOrgDefaultCurrencyIsoCode(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("orgDefaultCurrencyIsoCode", "urn:partner.soap.sforce.com","orgDefaultCurrencyIsoCode","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setOrgDefaultCurrencyIsoCode(__typeMapper.readString(__in, _lookupTypeInfo("orgDefaultCurrencyIsoCode", "urn:partner.soap.sforce.com","orgDefaultCurrencyIsoCode","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldOrgDefaultCurrencyIsoCode(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("orgDefaultCurrencyIsoCode", "urn:partner.soap.sforce.com","orgDefaultCurrencyIsoCode","http://www.w3.org/2001/XMLSchema","string",1,1,true), orgDefaultCurrencyIsoCode, orgDefaultCurrencyIsoCode__is_set);
    }

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

    private java.lang.String orgDefaultCurrencyLocale;

    @Override
    public java.lang.String getOrgDefaultCurrencyLocale() {
      return orgDefaultCurrencyLocale;
    }

    @Override
    public void setOrgDefaultCurrencyLocale(java.lang.String orgDefaultCurrencyLocale) {
      this.orgDefaultCurrencyLocale = orgDefaultCurrencyLocale;
      orgDefaultCurrencyLocale__is_set = true;
    }

    protected void setOrgDefaultCurrencyLocale(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("orgDefaultCurrencyLocale", "urn:partner.soap.sforce.com","orgDefaultCurrencyLocale","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setOrgDefaultCurrencyLocale(__typeMapper.readString(__in, _lookupTypeInfo("orgDefaultCurrencyLocale", "urn:partner.soap.sforce.com","orgDefaultCurrencyLocale","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldOrgDefaultCurrencyLocale(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("orgDefaultCurrencyLocale", "urn:partner.soap.sforce.com","orgDefaultCurrencyLocale","http://www.w3.org/2001/XMLSchema","string",1,1,true), orgDefaultCurrencyLocale, orgDefaultCurrencyLocale__is_set);
    }

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

    private boolean orgDisallowHtmlAttachments;

    @Override
    public boolean getOrgDisallowHtmlAttachments() {
      return orgDisallowHtmlAttachments;
    }

    @Override
    public boolean isOrgDisallowHtmlAttachments() {
      return orgDisallowHtmlAttachments;
    }

    @Override
    public void setOrgDisallowHtmlAttachments(boolean orgDisallowHtmlAttachments) {
      this.orgDisallowHtmlAttachments = orgDisallowHtmlAttachments;
      orgDisallowHtmlAttachments__is_set = true;
    }

    protected void setOrgDisallowHtmlAttachments(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("orgDisallowHtmlAttachments", "urn:partner.soap.sforce.com","orgDisallowHtmlAttachments","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setOrgDisallowHtmlAttachments(__typeMapper.readBoolean(__in, _lookupTypeInfo("orgDisallowHtmlAttachments", "urn:partner.soap.sforce.com","orgDisallowHtmlAttachments","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

    private void writeFieldOrgDisallowHtmlAttachments(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("orgDisallowHtmlAttachments", "urn:partner.soap.sforce.com","orgDisallowHtmlAttachments","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), orgDisallowHtmlAttachments, orgDisallowHtmlAttachments__is_set);
    }

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

    private boolean orgHasPersonAccounts;

    @Override
    public boolean getOrgHasPersonAccounts() {
      return orgHasPersonAccounts;
    }

    @Override
    public boolean isOrgHasPersonAccounts() {
      return orgHasPersonAccounts;
    }

    @Override
    public void setOrgHasPersonAccounts(boolean orgHasPersonAccounts) {
      this.orgHasPersonAccounts = orgHasPersonAccounts;
      orgHasPersonAccounts__is_set = true;
    }

    protected void setOrgHasPersonAccounts(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("orgHasPersonAccounts", "urn:partner.soap.sforce.com","orgHasPersonAccounts","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setOrgHasPersonAccounts(__typeMapper.readBoolean(__in, _lookupTypeInfo("orgHasPersonAccounts", "urn:partner.soap.sforce.com","orgHasPersonAccounts","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

    private void writeFieldOrgHasPersonAccounts(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("orgHasPersonAccounts", "urn:partner.soap.sforce.com","orgHasPersonAccounts","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), orgHasPersonAccounts, orgHasPersonAccounts__is_set);
    }

    /**
     * element : organizationId of type {urn:partner.soap.sforce.com}ID
     * java type: java.lang.String
     */
    private boolean organizationId__is_set = false;

    private java.lang.String organizationId;

    @Override
    public java.lang.String getOrganizationId() {
      return organizationId;
    }

    @Override
    public void setOrganizationId(java.lang.String organizationId) {
      this.organizationId = organizationId;
      organizationId__is_set = true;
    }

    protected void setOrganizationId(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("organizationId", "urn:partner.soap.sforce.com","organizationId","urn:partner.soap.sforce.com","ID",1,1,true))) {
        setOrganizationId(__typeMapper.readString(__in, _lookupTypeInfo("organizationId", "urn:partner.soap.sforce.com","organizationId","urn:partner.soap.sforce.com","ID",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldOrganizationId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("organizationId", "urn:partner.soap.sforce.com","organizationId","urn:partner.soap.sforce.com","ID",1,1,true), organizationId, organizationId__is_set);
    }

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

    private boolean organizationMultiCurrency;

    @Override
    public boolean getOrganizationMultiCurrency() {
      return organizationMultiCurrency;
    }

    @Override
    public boolean isOrganizationMultiCurrency() {
      return organizationMultiCurrency;
    }

    @Override
    public void setOrganizationMultiCurrency(boolean organizationMultiCurrency) {
      this.organizationMultiCurrency = organizationMultiCurrency;
      organizationMultiCurrency__is_set = true;
    }

    protected void setOrganizationMultiCurrency(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("organizationMultiCurrency", "urn:partner.soap.sforce.com","organizationMultiCurrency","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setOrganizationMultiCurrency(__typeMapper.readBoolean(__in, _lookupTypeInfo("organizationMultiCurrency", "urn:partner.soap.sforce.com","organizationMultiCurrency","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

    private void writeFieldOrganizationMultiCurrency(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("organizationMultiCurrency", "urn:partner.soap.sforce.com","organizationMultiCurrency","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), organizationMultiCurrency, organizationMultiCurrency__is_set);
    }

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

    private java.lang.String organizationName;

    @Override
    public java.lang.String getOrganizationName() {
      return organizationName;
    }

    @Override
    public void setOrganizationName(java.lang.String organizationName) {
      this.organizationName = organizationName;
      organizationName__is_set = true;
    }

    protected void setOrganizationName(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("organizationName", "urn:partner.soap.sforce.com","organizationName","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setOrganizationName(__typeMapper.readString(__in, _lookupTypeInfo("organizationName", "urn:partner.soap.sforce.com","organizationName","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldOrganizationName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("organizationName", "urn:partner.soap.sforce.com","organizationName","http://www.w3.org/2001/XMLSchema","string",1,1,true), organizationName, organizationName__is_set);
    }

    /**
     * element : profileId of type {urn:partner.soap.sforce.com}ID
     * java type: java.lang.String
     */
    private boolean profileId__is_set = false;

    private java.lang.String profileId;

    @Override
    public java.lang.String getProfileId() {
      return profileId;
    }

    @Override
    public void setProfileId(java.lang.String profileId) {
      this.profileId = profileId;
      profileId__is_set = true;
    }

    protected void setProfileId(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("profileId", "urn:partner.soap.sforce.com","profileId","urn:partner.soap.sforce.com","ID",1,1,true))) {
        setProfileId(__typeMapper.readString(__in, _lookupTypeInfo("profileId", "urn:partner.soap.sforce.com","profileId","urn:partner.soap.sforce.com","ID",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldProfileId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("profileId", "urn:partner.soap.sforce.com","profileId","urn:partner.soap.sforce.com","ID",1,1,true), profileId, profileId__is_set);
    }

    /**
     * element : roleId of type {urn:partner.soap.sforce.com}ID
     * java type: java.lang.String
     */
    private boolean roleId__is_set = false;

    private java.lang.String roleId;

    @Override
    public java.lang.String getRoleId() {
      return roleId;
    }

    @Override
    public void setRoleId(java.lang.String roleId) {
      this.roleId = roleId;
      roleId__is_set = true;
    }

    protected void setRoleId(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("roleId", "urn:partner.soap.sforce.com","roleId","urn:partner.soap.sforce.com","ID",1,1,true))) {
        setRoleId(__typeMapper.readString(__in, _lookupTypeInfo("roleId", "urn:partner.soap.sforce.com","roleId","urn:partner.soap.sforce.com","ID",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldRoleId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("roleId", "urn:partner.soap.sforce.com","roleId","urn:partner.soap.sforce.com","ID",1,1,true), roleId, roleId__is_set);
    }

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

    private int sessionSecondsValid;

    @Override
    public int getSessionSecondsValid() {
      return sessionSecondsValid;
    }

    @Override
    public void setSessionSecondsValid(int sessionSecondsValid) {
      this.sessionSecondsValid = sessionSecondsValid;
      sessionSecondsValid__is_set = true;
    }

    protected void setSessionSecondsValid(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("sessionSecondsValid", "urn:partner.soap.sforce.com","sessionSecondsValid","http://www.w3.org/2001/XMLSchema","int",1,1,true))) {
        setSessionSecondsValid((int)__typeMapper.readInt(__in, _lookupTypeInfo("sessionSecondsValid", "urn:partner.soap.sforce.com","sessionSecondsValid","http://www.w3.org/2001/XMLSchema","int",1,1,true), int.class));
      }
    }

    private void writeFieldSessionSecondsValid(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("sessionSecondsValid", "urn:partner.soap.sforce.com","sessionSecondsValid","http://www.w3.org/2001/XMLSchema","int",1,1,true), sessionSecondsValid, sessionSecondsValid__is_set);
    }

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

    private java.lang.String userDefaultCurrencyIsoCode;

    @Override
    public java.lang.String getUserDefaultCurrencyIsoCode() {
      return userDefaultCurrencyIsoCode;
    }

    @Override
    public void setUserDefaultCurrencyIsoCode(java.lang.String userDefaultCurrencyIsoCode) {
      this.userDefaultCurrencyIsoCode = userDefaultCurrencyIsoCode;
      userDefaultCurrencyIsoCode__is_set = true;
    }

    protected void setUserDefaultCurrencyIsoCode(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("userDefaultCurrencyIsoCode", "urn:partner.soap.sforce.com","userDefaultCurrencyIsoCode","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setUserDefaultCurrencyIsoCode(__typeMapper.readString(__in, _lookupTypeInfo("userDefaultCurrencyIsoCode", "urn:partner.soap.sforce.com","userDefaultCurrencyIsoCode","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldUserDefaultCurrencyIsoCode(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("userDefaultCurrencyIsoCode", "urn:partner.soap.sforce.com","userDefaultCurrencyIsoCode","http://www.w3.org/2001/XMLSchema","string",1,1,true), userDefaultCurrencyIsoCode, userDefaultCurrencyIsoCode__is_set);
    }

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

    private java.lang.String userEmail;

    @Override
    public java.lang.String getUserEmail() {
      return userEmail;
    }

    @Override
    public void setUserEmail(java.lang.String userEmail) {
      this.userEmail = userEmail;
      userEmail__is_set = true;
    }

    protected void setUserEmail(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("userEmail", "urn:partner.soap.sforce.com","userEmail","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setUserEmail(__typeMapper.readString(__in, _lookupTypeInfo("userEmail", "urn:partner.soap.sforce.com","userEmail","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldUserEmail(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("userEmail", "urn:partner.soap.sforce.com","userEmail","http://www.w3.org/2001/XMLSchema","string",1,1,true), userEmail, userEmail__is_set);
    }

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

    private java.lang.String userFullName;

    @Override
    public java.lang.String getUserFullName() {
      return userFullName;
    }

    @Override
    public void setUserFullName(java.lang.String userFullName) {
      this.userFullName = userFullName;
      userFullName__is_set = true;
    }

    protected void setUserFullName(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("userFullName", "urn:partner.soap.sforce.com","userFullName","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setUserFullName(__typeMapper.readString(__in, _lookupTypeInfo("userFullName", "urn:partner.soap.sforce.com","userFullName","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldUserFullName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("userFullName", "urn:partner.soap.sforce.com","userFullName","http://www.w3.org/2001/XMLSchema","string",1,1,true), userFullName, userFullName__is_set);
    }

    /**
     * element : userId of type {urn:partner.soap.sforce.com}ID
     * java type: java.lang.String
     */
    private boolean userId__is_set = false;

    private java.lang.String userId;

    @Override
    public java.lang.String getUserId() {
      return userId;
    }

    @Override
    public void setUserId(java.lang.String userId) {
      this.userId = userId;
      userId__is_set = true;
    }

    protected void setUserId(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("userId", "urn:partner.soap.sforce.com","userId","urn:partner.soap.sforce.com","ID",1,1,true))) {
        setUserId(__typeMapper.readString(__in, _lookupTypeInfo("userId", "urn:partner.soap.sforce.com","userId","urn:partner.soap.sforce.com","ID",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldUserId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("userId", "urn:partner.soap.sforce.com","userId","urn:partner.soap.sforce.com","ID",1,1,true), userId, userId__is_set);
    }

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

    private java.lang.String userLanguage;

    @Override
    public java.lang.String getUserLanguage() {
      return userLanguage;
    }

    @Override
    public void setUserLanguage(java.lang.String userLanguage) {
      this.userLanguage = userLanguage;
      userLanguage__is_set = true;
    }

    protected void setUserLanguage(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("userLanguage", "urn:partner.soap.sforce.com","userLanguage","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setUserLanguage(__typeMapper.readString(__in, _lookupTypeInfo("userLanguage", "urn:partner.soap.sforce.com","userLanguage","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldUserLanguage(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("userLanguage", "urn:partner.soap.sforce.com","userLanguage","http://www.w3.org/2001/XMLSchema","string",1,1,true), userLanguage, userLanguage__is_set);
    }

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

    private java.lang.String userLocale;

    @Override
    public java.lang.String getUserLocale() {
      return userLocale;
    }

    @Override
    public void setUserLocale(java.lang.String userLocale) {
      this.userLocale = userLocale;
      userLocale__is_set = true;
    }

    protected void setUserLocale(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("userLocale", "urn:partner.soap.sforce.com","userLocale","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setUserLocale(__typeMapper.readString(__in, _lookupTypeInfo("userLocale", "urn:partner.soap.sforce.com","userLocale","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldUserLocale(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("userLocale", "urn:partner.soap.sforce.com","userLocale","http://www.w3.org/2001/XMLSchema","string",1,1,true), userLocale, userLocale__is_set);
    }

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

    private java.lang.String userName;

    @Override
    public java.lang.String getUserName() {
      return userName;
    }

    @Override
    public void setUserName(java.lang.String userName) {
      this.userName = userName;
      userName__is_set = true;
    }

    protected void setUserName(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("userName", "urn:partner.soap.sforce.com","userName","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setUserName(__typeMapper.readString(__in, _lookupTypeInfo("userName", "urn:partner.soap.sforce.com","userName","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldUserName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("userName", "urn:partner.soap.sforce.com","userName","http://www.w3.org/2001/XMLSchema","string",1,1,true), userName, userName__is_set);
    }

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

    private java.lang.String userTimeZone;

    @Override
    public java.lang.String getUserTimeZone() {
      return userTimeZone;
    }

    @Override
    public void setUserTimeZone(java.lang.String userTimeZone) {
      this.userTimeZone = userTimeZone;
      userTimeZone__is_set = true;
    }

    protected void setUserTimeZone(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("userTimeZone", "urn:partner.soap.sforce.com","userTimeZone","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setUserTimeZone(__typeMapper.readString(__in, _lookupTypeInfo("userTimeZone", "urn:partner.soap.sforce.com","userTimeZone","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldUserTimeZone(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("userTimeZone", "urn:partner.soap.sforce.com","userTimeZone","http://www.w3.org/2001/XMLSchema","string",1,1,true), userTimeZone, userTimeZone__is_set);
    }

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

    private java.lang.String userType;

    @Override
    public java.lang.String getUserType() {
      return userType;
    }

    @Override
    public void setUserType(java.lang.String userType) {
      this.userType = userType;
      userType__is_set = true;
    }

    protected void setUserType(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("userType", "urn:partner.soap.sforce.com","userType","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setUserType(__typeMapper.readString(__in, _lookupTypeInfo("userType", "urn:partner.soap.sforce.com","userType","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldUserType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("userType", "urn:partner.soap.sforce.com","userType","http://www.w3.org/2001/XMLSchema","string",1,1,true), userType, userType__is_set);
    }

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

    private java.lang.String userUiSkin;

    @Override
    public java.lang.String getUserUiSkin() {
      return userUiSkin;
    }

    @Override
    public void setUserUiSkin(java.lang.String userUiSkin) {
      this.userUiSkin = userUiSkin;
      userUiSkin__is_set = true;
    }

    protected void setUserUiSkin(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("userUiSkin", "urn:partner.soap.sforce.com","userUiSkin","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setUserUiSkin(__typeMapper.readString(__in, _lookupTypeInfo("userUiSkin", "urn:partner.soap.sforce.com","userUiSkin","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldUserUiSkin(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("userUiSkin", "urn:partner.soap.sforce.com","userUiSkin","http://www.w3.org/2001/XMLSchema","string",1,1,true), userUiSkin, userUiSkin__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());
      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 {
       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 {
        loadFields1(__in, __typeMapper);
    }

    @Override
    public String toString() {
      java.lang.StringBuilder sb = new java.lang.StringBuilder();
      sb.append("[GetUserInfoResult ");
      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 {
      writeFieldAccessibilityMode(__out, __typeMapper);
      writeFieldChatterExternal(__out, __typeMapper);
      writeFieldCurrencySymbol(__out, __typeMapper);
      writeFieldOrgAttachmentFileSizeLimit(__out, __typeMapper);
      writeFieldOrgDefaultCurrencyIsoCode(__out, __typeMapper);
      writeFieldOrgDefaultCurrencyLocale(__out, __typeMapper);
      writeFieldOrgDisallowHtmlAttachments(__out, __typeMapper);
      writeFieldOrgHasPersonAccounts(__out, __typeMapper);
      writeFieldOrganizationId(__out, __typeMapper);
      writeFieldOrganizationMultiCurrency(__out, __typeMapper);
      writeFieldOrganizationName(__out, __typeMapper);
      writeFieldProfileId(__out, __typeMapper);
      writeFieldRoleId(__out, __typeMapper);
      writeFieldSessionSecondsValid(__out, __typeMapper);
      writeFieldUserDefaultCurrencyIsoCode(__out, __typeMapper);
      writeFieldUserEmail(__out, __typeMapper);
      writeFieldUserFullName(__out, __typeMapper);
      writeFieldUserId(__out, __typeMapper);
      writeFieldUserLanguage(__out, __typeMapper);
      writeFieldUserLocale(__out, __typeMapper);
      writeFieldUserName(__out, __typeMapper);
      writeFieldUserTimeZone(__out, __typeMapper);
      writeFieldUserType(__out, __typeMapper);
      writeFieldUserUiSkin(__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 {
      setAccessibilityMode(__in, __typeMapper);
      setChatterExternal(__in, __typeMapper);
      setCurrencySymbol(__in, __typeMapper);
      setOrgAttachmentFileSizeLimit(__in, __typeMapper);
      setOrgDefaultCurrencyIsoCode(__in, __typeMapper);
      setOrgDefaultCurrencyLocale(__in, __typeMapper);
      setOrgDisallowHtmlAttachments(__in, __typeMapper);
      setOrgHasPersonAccounts(__in, __typeMapper);
      setOrganizationId(__in, __typeMapper);
      setOrganizationMultiCurrency(__in, __typeMapper);
      setOrganizationName(__in, __typeMapper);
      setProfileId(__in, __typeMapper);
      setRoleId(__in, __typeMapper);
      setSessionSecondsValid(__in, __typeMapper);
      setUserDefaultCurrencyIsoCode(__in, __typeMapper);
      setUserEmail(__in, __typeMapper);
      setUserFullName(__in, __typeMapper);
      setUserId(__in, __typeMapper);
      setUserLanguage(__in, __typeMapper);
      setUserLocale(__in, __typeMapper);
      setUserName(__in, __typeMapper);
      setUserTimeZone(__in, __typeMapper);
      setUserType(__in, __typeMapper);
      setUserUiSkin(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "accessibilityMode", accessibilityMode);
      toStringHelper(sb, "chatterExternal", chatterExternal);
      toStringHelper(sb, "currencySymbol", currencySymbol);
      toStringHelper(sb, "orgAttachmentFileSizeLimit", orgAttachmentFileSizeLimit);
      toStringHelper(sb, "orgDefaultCurrencyIsoCode", orgDefaultCurrencyIsoCode);
      toStringHelper(sb, "orgDefaultCurrencyLocale", orgDefaultCurrencyLocale);
      toStringHelper(sb, "orgDisallowHtmlAttachments", orgDisallowHtmlAttachments);
      toStringHelper(sb, "orgHasPersonAccounts", orgHasPersonAccounts);
      toStringHelper(sb, "organizationId", organizationId);
      toStringHelper(sb, "organizationMultiCurrency", organizationMultiCurrency);
      toStringHelper(sb, "organizationName", organizationName);
      toStringHelper(sb, "profileId", profileId);
      toStringHelper(sb, "roleId", roleId);
      toStringHelper(sb, "sessionSecondsValid", sessionSecondsValid);
      toStringHelper(sb, "userDefaultCurrencyIsoCode", userDefaultCurrencyIsoCode);
      toStringHelper(sb, "userEmail", userEmail);
      toStringHelper(sb, "userFullName", userFullName);
      toStringHelper(sb, "userId", userId);
      toStringHelper(sb, "userLanguage", userLanguage);
      toStringHelper(sb, "userLocale", userLocale);
      toStringHelper(sb, "userName", userName);
      toStringHelper(sb, "userTimeZone", userTimeZone);
      toStringHelper(sb, "userType", userType);
      toStringHelper(sb, "userUiSkin", userUiSkin);
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy