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

com.sforce.soap.partner.DescribeSObjectResult 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 DescribeSObjectResult implements com.sforce.ws.bind.XMLizable , IDescribeSObjectResult{

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

    /* 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 : actionOverrides of type {urn:partner.soap.sforce.com}ActionOverride
     * java type: com.sforce.soap.partner.ActionOverride[]
     */
    private boolean actionOverrides__is_set = false;

    private com.sforce.soap.partner.ActionOverride[] actionOverrides = new com.sforce.soap.partner.ActionOverride[0];

    @Override
    public com.sforce.soap.partner.ActionOverride[] getActionOverrides() {
      return actionOverrides;
    }

    @Override
    public void setActionOverrides(com.sforce.soap.partner.IActionOverride[] actionOverrides) {
      this.actionOverrides = castArray(com.sforce.soap.partner.ActionOverride.class, actionOverrides);
      actionOverrides__is_set = true;
    }

    protected void setActionOverrides(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("actionOverrides", "urn:partner.soap.sforce.com","actionOverrides","urn:partner.soap.sforce.com","ActionOverride",0,-1,true))) {
        setActionOverrides((com.sforce.soap.partner.ActionOverride[])__typeMapper.readObject(__in, _lookupTypeInfo("actionOverrides", "urn:partner.soap.sforce.com","actionOverrides","urn:partner.soap.sforce.com","ActionOverride",0,-1,true), com.sforce.soap.partner.ActionOverride[].class));
      }
    }

    private void writeFieldActionOverrides(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("actionOverrides", "urn:partner.soap.sforce.com","actionOverrides","urn:partner.soap.sforce.com","ActionOverride",0,-1,true), actionOverrides, actionOverrides__is_set);
    }

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

    private boolean activateable;

    @Override
    public boolean getActivateable() {
      return activateable;
    }

    @Override
    public boolean isActivateable() {
      return activateable;
    }

    @Override
    public void setActivateable(boolean activateable) {
      this.activateable = activateable;
      activateable__is_set = true;
    }

    protected void setActivateable(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("activateable", "urn:partner.soap.sforce.com","activateable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setActivateable(__typeMapper.readBoolean(__in, _lookupTypeInfo("activateable", "urn:partner.soap.sforce.com","activateable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private java.lang.String associateEntityType;

    @Override
    public java.lang.String getAssociateEntityType() {
      return associateEntityType;
    }

    @Override
    public void setAssociateEntityType(java.lang.String associateEntityType) {
      this.associateEntityType = associateEntityType;
      associateEntityType__is_set = true;
    }

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

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

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

    private java.lang.String associateParentEntity;

    @Override
    public java.lang.String getAssociateParentEntity() {
      return associateParentEntity;
    }

    @Override
    public void setAssociateParentEntity(java.lang.String associateParentEntity) {
      this.associateParentEntity = associateParentEntity;
      associateParentEntity__is_set = true;
    }

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

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

    /**
     * element : childRelationships of type {urn:partner.soap.sforce.com}ChildRelationship
     * java type: com.sforce.soap.partner.ChildRelationship[]
     */
    private boolean childRelationships__is_set = false;

    private com.sforce.soap.partner.ChildRelationship[] childRelationships = new com.sforce.soap.partner.ChildRelationship[0];

    @Override
    public com.sforce.soap.partner.ChildRelationship[] getChildRelationships() {
      return childRelationships;
    }

    @Override
    public void setChildRelationships(com.sforce.soap.partner.IChildRelationship[] childRelationships) {
      this.childRelationships = castArray(com.sforce.soap.partner.ChildRelationship.class, childRelationships);
      childRelationships__is_set = true;
    }

    protected void setChildRelationships(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("childRelationships", "urn:partner.soap.sforce.com","childRelationships","urn:partner.soap.sforce.com","ChildRelationship",0,-1,true))) {
        setChildRelationships((com.sforce.soap.partner.ChildRelationship[])__typeMapper.readObject(__in, _lookupTypeInfo("childRelationships", "urn:partner.soap.sforce.com","childRelationships","urn:partner.soap.sforce.com","ChildRelationship",0,-1,true), com.sforce.soap.partner.ChildRelationship[].class));
      }
    }

    private void writeFieldChildRelationships(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("childRelationships", "urn:partner.soap.sforce.com","childRelationships","urn:partner.soap.sforce.com","ChildRelationship",0,-1,true), childRelationships, childRelationships__is_set);
    }

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

    private boolean compactLayoutable;

    @Override
    public boolean getCompactLayoutable() {
      return compactLayoutable;
    }

    @Override
    public boolean isCompactLayoutable() {
      return compactLayoutable;
    }

    @Override
    public void setCompactLayoutable(boolean compactLayoutable) {
      this.compactLayoutable = compactLayoutable;
      compactLayoutable__is_set = true;
    }

    protected void setCompactLayoutable(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("compactLayoutable", "urn:partner.soap.sforce.com","compactLayoutable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setCompactLayoutable(__typeMapper.readBoolean(__in, _lookupTypeInfo("compactLayoutable", "urn:partner.soap.sforce.com","compactLayoutable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private boolean createable;

    @Override
    public boolean getCreateable() {
      return createable;
    }

    @Override
    public boolean isCreateable() {
      return createable;
    }

    @Override
    public void setCreateable(boolean createable) {
      this.createable = createable;
      createable__is_set = true;
    }

    protected void setCreateable(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("createable", "urn:partner.soap.sforce.com","createable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setCreateable(__typeMapper.readBoolean(__in, _lookupTypeInfo("createable", "urn:partner.soap.sforce.com","createable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

    @Override
    public boolean getCustom() {
      return custom;
    }

    @Override
    public boolean isCustom() {
      return custom;
    }

    @Override
    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.verifyElement(__in, _lookupTypeInfo("custom", "urn:partner.soap.sforce.com","custom","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setCustom(__typeMapper.readBoolean(__in, _lookupTypeInfo("custom", "urn:partner.soap.sforce.com","custom","http://www.w3.org/2001/XMLSchema","boolean",1,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", "urn:partner.soap.sforce.com","custom","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), custom, custom__is_set);
    }

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

    private boolean customSetting;

    @Override
    public boolean getCustomSetting() {
      return customSetting;
    }

    @Override
    public boolean isCustomSetting() {
      return customSetting;
    }

    @Override
    public void setCustomSetting(boolean customSetting) {
      this.customSetting = customSetting;
      customSetting__is_set = true;
    }

    protected void setCustomSetting(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("customSetting", "urn:partner.soap.sforce.com","customSetting","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setCustomSetting(__typeMapper.readBoolean(__in, _lookupTypeInfo("customSetting", "urn:partner.soap.sforce.com","customSetting","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private boolean dataTranslationEnabled;

    @Override
    public boolean getDataTranslationEnabled() {
      return dataTranslationEnabled;
    }

    @Override
    public boolean isDataTranslationEnabled() {
      return dataTranslationEnabled;
    }

    @Override
    public void setDataTranslationEnabled(boolean dataTranslationEnabled) {
      this.dataTranslationEnabled = dataTranslationEnabled;
      dataTranslationEnabled__is_set = true;
    }

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

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

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

    private boolean deepCloneable;

    @Override
    public boolean getDeepCloneable() {
      return deepCloneable;
    }

    @Override
    public boolean isDeepCloneable() {
      return deepCloneable;
    }

    @Override
    public void setDeepCloneable(boolean deepCloneable) {
      this.deepCloneable = deepCloneable;
      deepCloneable__is_set = true;
    }

    protected void setDeepCloneable(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("deepCloneable", "urn:partner.soap.sforce.com","deepCloneable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setDeepCloneable(__typeMapper.readBoolean(__in, _lookupTypeInfo("deepCloneable", "urn:partner.soap.sforce.com","deepCloneable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private java.lang.String defaultImplementation;

    @Override
    public java.lang.String getDefaultImplementation() {
      return defaultImplementation;
    }

    @Override
    public void setDefaultImplementation(java.lang.String defaultImplementation) {
      this.defaultImplementation = defaultImplementation;
      defaultImplementation__is_set = true;
    }

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

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

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

    private boolean deletable;

    @Override
    public boolean getDeletable() {
      return deletable;
    }

    @Override
    public boolean isDeletable() {
      return deletable;
    }

    @Override
    public void setDeletable(boolean deletable) {
      this.deletable = deletable;
      deletable__is_set = true;
    }

    protected void setDeletable(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("deletable", "urn:partner.soap.sforce.com","deletable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setDeletable(__typeMapper.readBoolean(__in, _lookupTypeInfo("deletable", "urn:partner.soap.sforce.com","deletable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private boolean deprecatedAndHidden;

    @Override
    public boolean getDeprecatedAndHidden() {
      return deprecatedAndHidden;
    }

    @Override
    public boolean isDeprecatedAndHidden() {
      return deprecatedAndHidden;
    }

    @Override
    public void setDeprecatedAndHidden(boolean deprecatedAndHidden) {
      this.deprecatedAndHidden = deprecatedAndHidden;
      deprecatedAndHidden__is_set = true;
    }

    protected void setDeprecatedAndHidden(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("deprecatedAndHidden", "urn:partner.soap.sforce.com","deprecatedAndHidden","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setDeprecatedAndHidden(__typeMapper.readBoolean(__in, _lookupTypeInfo("deprecatedAndHidden", "urn:partner.soap.sforce.com","deprecatedAndHidden","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private boolean feedEnabled;

    @Override
    public boolean getFeedEnabled() {
      return feedEnabled;
    }

    @Override
    public boolean isFeedEnabled() {
      return feedEnabled;
    }

    @Override
    public void setFeedEnabled(boolean feedEnabled) {
      this.feedEnabled = feedEnabled;
      feedEnabled__is_set = true;
    }

    protected void setFeedEnabled(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("feedEnabled", "urn:partner.soap.sforce.com","feedEnabled","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setFeedEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("feedEnabled", "urn:partner.soap.sforce.com","feedEnabled","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

    /**
     * element : fields of type {urn:partner.soap.sforce.com}Field
     * java type: com.sforce.soap.partner.Field[]
     */
    private boolean fields__is_set = false;

    private com.sforce.soap.partner.Field[] fields = new com.sforce.soap.partner.Field[0];

    @Override
    public com.sforce.soap.partner.Field[] getFields() {
      return fields;
    }

    @Override
    public void setFields(com.sforce.soap.partner.IField[] fields) {
      this.fields = castArray(com.sforce.soap.partner.Field.class, fields);
      fields__is_set = true;
    }

    protected void setFields(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("fields", "urn:partner.soap.sforce.com","fields","urn:partner.soap.sforce.com","Field",0,-1,true))) {
        setFields((com.sforce.soap.partner.Field[])__typeMapper.readObject(__in, _lookupTypeInfo("fields", "urn:partner.soap.sforce.com","fields","urn:partner.soap.sforce.com","Field",0,-1,true), com.sforce.soap.partner.Field[].class));
      }
    }

    private void writeFieldFields(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("fields", "urn:partner.soap.sforce.com","fields","urn:partner.soap.sforce.com","Field",0,-1,true), fields, fields__is_set);
    }

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

    private boolean hasSubtypes;

    @Override
    public boolean getHasSubtypes() {
      return hasSubtypes;
    }

    @Override
    public boolean isHasSubtypes() {
      return hasSubtypes;
    }

    @Override
    public void setHasSubtypes(boolean hasSubtypes) {
      this.hasSubtypes = hasSubtypes;
      hasSubtypes__is_set = true;
    }

    protected void setHasSubtypes(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("hasSubtypes", "urn:partner.soap.sforce.com","hasSubtypes","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setHasSubtypes(__typeMapper.readBoolean(__in, _lookupTypeInfo("hasSubtypes", "urn:partner.soap.sforce.com","hasSubtypes","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private boolean idEnabled;

    @Override
    public boolean getIdEnabled() {
      return idEnabled;
    }

    @Override
    public boolean isIdEnabled() {
      return idEnabled;
    }

    @Override
    public void setIdEnabled(boolean idEnabled) {
      this.idEnabled = idEnabled;
      idEnabled__is_set = true;
    }

    protected void setIdEnabled(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("idEnabled", "urn:partner.soap.sforce.com","idEnabled","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setIdEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("idEnabled", "urn:partner.soap.sforce.com","idEnabled","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private java.lang.String implementedBy;

    @Override
    public java.lang.String getImplementedBy() {
      return implementedBy;
    }

    @Override
    public void setImplementedBy(java.lang.String implementedBy) {
      this.implementedBy = implementedBy;
      implementedBy__is_set = true;
    }

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

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

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

    private java.lang.String implementsInterfaces;

    @Override
    public java.lang.String getImplementsInterfaces() {
      return implementsInterfaces;
    }

    @Override
    public void setImplementsInterfaces(java.lang.String implementsInterfaces) {
      this.implementsInterfaces = implementsInterfaces;
      implementsInterfaces__is_set = true;
    }

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

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

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

    private boolean isInterface;

    @Override
    public boolean getIsInterface() {
      return isInterface;
    }

    @Override
    public boolean isIsInterface() {
      return isInterface;
    }

    @Override
    public void setIsInterface(boolean isInterface) {
      this.isInterface = isInterface;
      isInterface__is_set = true;
    }

    protected void setIsInterface(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("isInterface", "urn:partner.soap.sforce.com","isInterface","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setIsInterface(__typeMapper.readBoolean(__in, _lookupTypeInfo("isInterface", "urn:partner.soap.sforce.com","isInterface","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private boolean isSubtype;

    @Override
    public boolean getIsSubtype() {
      return isSubtype;
    }

    @Override
    public boolean isIsSubtype() {
      return isSubtype;
    }

    @Override
    public void setIsSubtype(boolean isSubtype) {
      this.isSubtype = isSubtype;
      isSubtype__is_set = true;
    }

    protected void setIsSubtype(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("isSubtype", "urn:partner.soap.sforce.com","isSubtype","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setIsSubtype(__typeMapper.readBoolean(__in, _lookupTypeInfo("isSubtype", "urn:partner.soap.sforce.com","isSubtype","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private java.lang.String keyPrefix;

    @Override
    public java.lang.String getKeyPrefix() {
      return keyPrefix;
    }

    @Override
    public void setKeyPrefix(java.lang.String keyPrefix) {
      this.keyPrefix = keyPrefix;
      keyPrefix__is_set = true;
    }

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

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

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

    private java.lang.String label;

    @Override
    public java.lang.String getLabel() {
      return label;
    }

    @Override
    public void setLabel(java.lang.String label) {
      this.label = label;
      label__is_set = true;
    }

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

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

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

    private java.lang.String labelPlural;

    @Override
    public java.lang.String getLabelPlural() {
      return labelPlural;
    }

    @Override
    public void setLabelPlural(java.lang.String labelPlural) {
      this.labelPlural = labelPlural;
      labelPlural__is_set = true;
    }

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

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

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

    private boolean layoutable;

    @Override
    public boolean getLayoutable() {
      return layoutable;
    }

    @Override
    public boolean isLayoutable() {
      return layoutable;
    }

    @Override
    public void setLayoutable(boolean layoutable) {
      this.layoutable = layoutable;
      layoutable__is_set = true;
    }

    protected void setLayoutable(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("layoutable", "urn:partner.soap.sforce.com","layoutable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setLayoutable(__typeMapper.readBoolean(__in, _lookupTypeInfo("layoutable", "urn:partner.soap.sforce.com","layoutable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private boolean listviewable;

    @Override
    public boolean getListviewable() {
      return listviewable;
    }

    @Override
    public boolean isListviewable() {
      return listviewable;
    }

    @Override
    public void setListviewable(boolean listviewable) {
      this.listviewable = listviewable;
      listviewable__is_set = true;
    }

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

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

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

    private boolean lookupLayoutable;

    @Override
    public boolean getLookupLayoutable() {
      return lookupLayoutable;
    }

    @Override
    public boolean isLookupLayoutable() {
      return lookupLayoutable;
    }

    @Override
    public void setLookupLayoutable(boolean lookupLayoutable) {
      this.lookupLayoutable = lookupLayoutable;
      lookupLayoutable__is_set = true;
    }

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

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

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

    private boolean mergeable;

    @Override
    public boolean getMergeable() {
      return mergeable;
    }

    @Override
    public boolean isMergeable() {
      return mergeable;
    }

    @Override
    public void setMergeable(boolean mergeable) {
      this.mergeable = mergeable;
      mergeable__is_set = true;
    }

    protected void setMergeable(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("mergeable", "urn:partner.soap.sforce.com","mergeable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setMergeable(__typeMapper.readBoolean(__in, _lookupTypeInfo("mergeable", "urn:partner.soap.sforce.com","mergeable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private boolean mruEnabled;

    @Override
    public boolean getMruEnabled() {
      return mruEnabled;
    }

    @Override
    public boolean isMruEnabled() {
      return mruEnabled;
    }

    @Override
    public void setMruEnabled(boolean mruEnabled) {
      this.mruEnabled = mruEnabled;
      mruEnabled__is_set = true;
    }

    protected void setMruEnabled(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("mruEnabled", "urn:partner.soap.sforce.com","mruEnabled","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setMruEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("mruEnabled", "urn:partner.soap.sforce.com","mruEnabled","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private java.lang.String name;

    @Override
    public java.lang.String getName() {
      return name;
    }

    @Override
    public void setName(java.lang.String name) {
      this.name = name;
      name__is_set = true;
    }

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

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

    /**
     * element : namedLayoutInfos of type {urn:partner.soap.sforce.com}NamedLayoutInfo
     * java type: com.sforce.soap.partner.NamedLayoutInfo[]
     */
    private boolean namedLayoutInfos__is_set = false;

    private com.sforce.soap.partner.NamedLayoutInfo[] namedLayoutInfos = new com.sforce.soap.partner.NamedLayoutInfo[0];

    @Override
    public com.sforce.soap.partner.NamedLayoutInfo[] getNamedLayoutInfos() {
      return namedLayoutInfos;
    }

    @Override
    public void setNamedLayoutInfos(com.sforce.soap.partner.INamedLayoutInfo[] namedLayoutInfos) {
      this.namedLayoutInfos = castArray(com.sforce.soap.partner.NamedLayoutInfo.class, namedLayoutInfos);
      namedLayoutInfos__is_set = true;
    }

    protected void setNamedLayoutInfos(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("namedLayoutInfos", "urn:partner.soap.sforce.com","namedLayoutInfos","urn:partner.soap.sforce.com","NamedLayoutInfo",0,-1,true))) {
        setNamedLayoutInfos((com.sforce.soap.partner.NamedLayoutInfo[])__typeMapper.readObject(__in, _lookupTypeInfo("namedLayoutInfos", "urn:partner.soap.sforce.com","namedLayoutInfos","urn:partner.soap.sforce.com","NamedLayoutInfo",0,-1,true), com.sforce.soap.partner.NamedLayoutInfo[].class));
      }
    }

    private void writeFieldNamedLayoutInfos(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("namedLayoutInfos", "urn:partner.soap.sforce.com","namedLayoutInfos","urn:partner.soap.sforce.com","NamedLayoutInfo",0,-1,true), namedLayoutInfos, namedLayoutInfos__is_set);
    }

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

    private java.lang.String networkScopeFieldName;

    @Override
    public java.lang.String getNetworkScopeFieldName() {
      return networkScopeFieldName;
    }

    @Override
    public void setNetworkScopeFieldName(java.lang.String networkScopeFieldName) {
      this.networkScopeFieldName = networkScopeFieldName;
      networkScopeFieldName__is_set = true;
    }

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

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

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

    private boolean queryable;

    @Override
    public boolean getQueryable() {
      return queryable;
    }

    @Override
    public boolean isQueryable() {
      return queryable;
    }

    @Override
    public void setQueryable(boolean queryable) {
      this.queryable = queryable;
      queryable__is_set = true;
    }

    protected void setQueryable(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("queryable", "urn:partner.soap.sforce.com","queryable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setQueryable(__typeMapper.readBoolean(__in, _lookupTypeInfo("queryable", "urn:partner.soap.sforce.com","queryable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

    /**
     * element : recordTypeInfos of type {urn:partner.soap.sforce.com}RecordTypeInfo
     * java type: com.sforce.soap.partner.RecordTypeInfo[]
     */
    private boolean recordTypeInfos__is_set = false;

    private com.sforce.soap.partner.RecordTypeInfo[] recordTypeInfos = new com.sforce.soap.partner.RecordTypeInfo[0];

    @Override
    public com.sforce.soap.partner.RecordTypeInfo[] getRecordTypeInfos() {
      return recordTypeInfos;
    }

    @Override
    public void setRecordTypeInfos(com.sforce.soap.partner.IRecordTypeInfo[] recordTypeInfos) {
      this.recordTypeInfos = castArray(com.sforce.soap.partner.RecordTypeInfo.class, recordTypeInfos);
      recordTypeInfos__is_set = true;
    }

    protected void setRecordTypeInfos(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("recordTypeInfos", "urn:partner.soap.sforce.com","recordTypeInfos","urn:partner.soap.sforce.com","RecordTypeInfo",0,-1,true))) {
        setRecordTypeInfos((com.sforce.soap.partner.RecordTypeInfo[])__typeMapper.readObject(__in, _lookupTypeInfo("recordTypeInfos", "urn:partner.soap.sforce.com","recordTypeInfos","urn:partner.soap.sforce.com","RecordTypeInfo",0,-1,true), com.sforce.soap.partner.RecordTypeInfo[].class));
      }
    }

    private void writeFieldRecordTypeInfos(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("recordTypeInfos", "urn:partner.soap.sforce.com","recordTypeInfos","urn:partner.soap.sforce.com","RecordTypeInfo",0,-1,true), recordTypeInfos, recordTypeInfos__is_set);
    }

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

    private boolean replicateable;

    @Override
    public boolean getReplicateable() {
      return replicateable;
    }

    @Override
    public boolean isReplicateable() {
      return replicateable;
    }

    @Override
    public void setReplicateable(boolean replicateable) {
      this.replicateable = replicateable;
      replicateable__is_set = true;
    }

    protected void setReplicateable(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("replicateable", "urn:partner.soap.sforce.com","replicateable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setReplicateable(__typeMapper.readBoolean(__in, _lookupTypeInfo("replicateable", "urn:partner.soap.sforce.com","replicateable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private boolean retrieveable;

    @Override
    public boolean getRetrieveable() {
      return retrieveable;
    }

    @Override
    public boolean isRetrieveable() {
      return retrieveable;
    }

    @Override
    public void setRetrieveable(boolean retrieveable) {
      this.retrieveable = retrieveable;
      retrieveable__is_set = true;
    }

    protected void setRetrieveable(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("retrieveable", "urn:partner.soap.sforce.com","retrieveable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setRetrieveable(__typeMapper.readBoolean(__in, _lookupTypeInfo("retrieveable", "urn:partner.soap.sforce.com","retrieveable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private boolean searchLayoutable;

    @Override
    public boolean getSearchLayoutable() {
      return searchLayoutable;
    }

    @Override
    public boolean isSearchLayoutable() {
      return searchLayoutable;
    }

    @Override
    public void setSearchLayoutable(boolean searchLayoutable) {
      this.searchLayoutable = searchLayoutable;
      searchLayoutable__is_set = true;
    }

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

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

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

    private boolean searchable;

    @Override
    public boolean getSearchable() {
      return searchable;
    }

    @Override
    public boolean isSearchable() {
      return searchable;
    }

    @Override
    public void setSearchable(boolean searchable) {
      this.searchable = searchable;
      searchable__is_set = true;
    }

    protected void setSearchable(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("searchable", "urn:partner.soap.sforce.com","searchable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setSearchable(__typeMapper.readBoolean(__in, _lookupTypeInfo("searchable", "urn:partner.soap.sforce.com","searchable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

    /**
     * element : supportedScopes of type {urn:partner.soap.sforce.com}ScopeInfo
     * java type: com.sforce.soap.partner.ScopeInfo[]
     */
    private boolean supportedScopes__is_set = false;

    private com.sforce.soap.partner.ScopeInfo[] supportedScopes = new com.sforce.soap.partner.ScopeInfo[0];

    @Override
    public com.sforce.soap.partner.ScopeInfo[] getSupportedScopes() {
      return supportedScopes;
    }

    @Override
    public void setSupportedScopes(com.sforce.soap.partner.IScopeInfo[] supportedScopes) {
      this.supportedScopes = castArray(com.sforce.soap.partner.ScopeInfo.class, supportedScopes);
      supportedScopes__is_set = true;
    }

    protected void setSupportedScopes(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("supportedScopes", "urn:partner.soap.sforce.com","supportedScopes","urn:partner.soap.sforce.com","ScopeInfo",0,-1,true))) {
        setSupportedScopes((com.sforce.soap.partner.ScopeInfo[])__typeMapper.readObject(__in, _lookupTypeInfo("supportedScopes", "urn:partner.soap.sforce.com","supportedScopes","urn:partner.soap.sforce.com","ScopeInfo",0,-1,true), com.sforce.soap.partner.ScopeInfo[].class));
      }
    }

    private void writeFieldSupportedScopes(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("supportedScopes", "urn:partner.soap.sforce.com","supportedScopes","urn:partner.soap.sforce.com","ScopeInfo",0,-1,true), supportedScopes, supportedScopes__is_set);
    }

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

    private boolean triggerable;

    @Override
    public boolean getTriggerable() {
      return triggerable;
    }

    @Override
    public boolean isTriggerable() {
      return triggerable;
    }

    @Override
    public void setTriggerable(boolean triggerable) {
      this.triggerable = triggerable;
      triggerable__is_set = true;
    }

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

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

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

    private boolean undeletable;

    @Override
    public boolean getUndeletable() {
      return undeletable;
    }

    @Override
    public boolean isUndeletable() {
      return undeletable;
    }

    @Override
    public void setUndeletable(boolean undeletable) {
      this.undeletable = undeletable;
      undeletable__is_set = true;
    }

    protected void setUndeletable(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("undeletable", "urn:partner.soap.sforce.com","undeletable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setUndeletable(__typeMapper.readBoolean(__in, _lookupTypeInfo("undeletable", "urn:partner.soap.sforce.com","undeletable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private boolean updateable;

    @Override
    public boolean getUpdateable() {
      return updateable;
    }

    @Override
    public boolean isUpdateable() {
      return updateable;
    }

    @Override
    public void setUpdateable(boolean updateable) {
      this.updateable = updateable;
      updateable__is_set = true;
    }

    protected void setUpdateable(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("updateable", "urn:partner.soap.sforce.com","updateable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
        setUpdateable(__typeMapper.readBoolean(__in, _lookupTypeInfo("updateable", "urn:partner.soap.sforce.com","updateable","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
      }
    }

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

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

    private java.lang.String urlDetail;

    @Override
    public java.lang.String getUrlDetail() {
      return urlDetail;
    }

    @Override
    public void setUrlDetail(java.lang.String urlDetail) {
      this.urlDetail = urlDetail;
      urlDetail__is_set = true;
    }

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

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

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

    private java.lang.String urlEdit;

    @Override
    public java.lang.String getUrlEdit() {
      return urlEdit;
    }

    @Override
    public void setUrlEdit(java.lang.String urlEdit) {
      this.urlEdit = urlEdit;
      urlEdit__is_set = true;
    }

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

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

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

    private java.lang.String urlNew;

    @Override
    public java.lang.String getUrlNew() {
      return urlNew;
    }

    @Override
    public void setUrlNew(java.lang.String urlNew) {
      this.urlNew = urlNew;
      urlNew__is_set = true;
    }

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

    private void writeFieldUrlNew(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("urlNew", "urn:partner.soap.sforce.com","urlNew","http://www.w3.org/2001/XMLSchema","string",1,1,true), urlNew, urlNew__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("[DescribeSObjectResult ");
      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 {
      writeFieldActionOverrides(__out, __typeMapper);
      writeFieldActivateable(__out, __typeMapper);
      writeFieldAssociateEntityType(__out, __typeMapper);
      writeFieldAssociateParentEntity(__out, __typeMapper);
      writeFieldChildRelationships(__out, __typeMapper);
      writeFieldCompactLayoutable(__out, __typeMapper);
      writeFieldCreateable(__out, __typeMapper);
      writeFieldCustom(__out, __typeMapper);
      writeFieldCustomSetting(__out, __typeMapper);
      writeFieldDataTranslationEnabled(__out, __typeMapper);
      writeFieldDeepCloneable(__out, __typeMapper);
      writeFieldDefaultImplementation(__out, __typeMapper);
      writeFieldDeletable(__out, __typeMapper);
      writeFieldDeprecatedAndHidden(__out, __typeMapper);
      writeFieldFeedEnabled(__out, __typeMapper);
      writeFieldFields(__out, __typeMapper);
      writeFieldHasSubtypes(__out, __typeMapper);
      writeFieldIdEnabled(__out, __typeMapper);
      writeFieldImplementedBy(__out, __typeMapper);
      writeFieldImplementsInterfaces(__out, __typeMapper);
      writeFieldIsInterface(__out, __typeMapper);
      writeFieldIsSubtype(__out, __typeMapper);
      writeFieldKeyPrefix(__out, __typeMapper);
      writeFieldLabel(__out, __typeMapper);
      writeFieldLabelPlural(__out, __typeMapper);
      writeFieldLayoutable(__out, __typeMapper);
      writeFieldListviewable(__out, __typeMapper);
      writeFieldLookupLayoutable(__out, __typeMapper);
      writeFieldMergeable(__out, __typeMapper);
      writeFieldMruEnabled(__out, __typeMapper);
      writeFieldName(__out, __typeMapper);
      writeFieldNamedLayoutInfos(__out, __typeMapper);
      writeFieldNetworkScopeFieldName(__out, __typeMapper);
      writeFieldQueryable(__out, __typeMapper);
      writeFieldRecordTypeInfos(__out, __typeMapper);
      writeFieldReplicateable(__out, __typeMapper);
      writeFieldRetrieveable(__out, __typeMapper);
      writeFieldSearchLayoutable(__out, __typeMapper);
      writeFieldSearchable(__out, __typeMapper);
      writeFieldSupportedScopes(__out, __typeMapper);
      writeFieldTriggerable(__out, __typeMapper);
      writeFieldUndeletable(__out, __typeMapper);
      writeFieldUpdateable(__out, __typeMapper);
      writeFieldUrlDetail(__out, __typeMapper);
      writeFieldUrlEdit(__out, __typeMapper);
      writeFieldUrlNew(__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 {
      setActionOverrides(__in, __typeMapper);
      setActivateable(__in, __typeMapper);
      setAssociateEntityType(__in, __typeMapper);
      setAssociateParentEntity(__in, __typeMapper);
      setChildRelationships(__in, __typeMapper);
      setCompactLayoutable(__in, __typeMapper);
      setCreateable(__in, __typeMapper);
      setCustom(__in, __typeMapper);
      setCustomSetting(__in, __typeMapper);
      setDataTranslationEnabled(__in, __typeMapper);
      setDeepCloneable(__in, __typeMapper);
      setDefaultImplementation(__in, __typeMapper);
      setDeletable(__in, __typeMapper);
      setDeprecatedAndHidden(__in, __typeMapper);
      setFeedEnabled(__in, __typeMapper);
      setFields(__in, __typeMapper);
      setHasSubtypes(__in, __typeMapper);
      setIdEnabled(__in, __typeMapper);
      setImplementedBy(__in, __typeMapper);
      setImplementsInterfaces(__in, __typeMapper);
      setIsInterface(__in, __typeMapper);
      setIsSubtype(__in, __typeMapper);
      setKeyPrefix(__in, __typeMapper);
      setLabel(__in, __typeMapper);
      setLabelPlural(__in, __typeMapper);
      setLayoutable(__in, __typeMapper);
      setListviewable(__in, __typeMapper);
      setLookupLayoutable(__in, __typeMapper);
      setMergeable(__in, __typeMapper);
      setMruEnabled(__in, __typeMapper);
      setName(__in, __typeMapper);
      setNamedLayoutInfos(__in, __typeMapper);
      setNetworkScopeFieldName(__in, __typeMapper);
      setQueryable(__in, __typeMapper);
      setRecordTypeInfos(__in, __typeMapper);
      setReplicateable(__in, __typeMapper);
      setRetrieveable(__in, __typeMapper);
      setSearchLayoutable(__in, __typeMapper);
      setSearchable(__in, __typeMapper);
      setSupportedScopes(__in, __typeMapper);
      setTriggerable(__in, __typeMapper);
      setUndeletable(__in, __typeMapper);
      setUpdateable(__in, __typeMapper);
      setUrlDetail(__in, __typeMapper);
      setUrlEdit(__in, __typeMapper);
      setUrlNew(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "actionOverrides", actionOverrides);
      toStringHelper(sb, "activateable", activateable);
      toStringHelper(sb, "associateEntityType", associateEntityType);
      toStringHelper(sb, "associateParentEntity", associateParentEntity);
      toStringHelper(sb, "childRelationships", childRelationships);
      toStringHelper(sb, "compactLayoutable", compactLayoutable);
      toStringHelper(sb, "createable", createable);
      toStringHelper(sb, "custom", custom);
      toStringHelper(sb, "customSetting", customSetting);
      toStringHelper(sb, "dataTranslationEnabled", dataTranslationEnabled);
      toStringHelper(sb, "deepCloneable", deepCloneable);
      toStringHelper(sb, "defaultImplementation", defaultImplementation);
      toStringHelper(sb, "deletable", deletable);
      toStringHelper(sb, "deprecatedAndHidden", deprecatedAndHidden);
      toStringHelper(sb, "feedEnabled", feedEnabled);
      toStringHelper(sb, "fields", fields);
      toStringHelper(sb, "hasSubtypes", hasSubtypes);
      toStringHelper(sb, "idEnabled", idEnabled);
      toStringHelper(sb, "implementedBy", implementedBy);
      toStringHelper(sb, "implementsInterfaces", implementsInterfaces);
      toStringHelper(sb, "isInterface", isInterface);
      toStringHelper(sb, "isSubtype", isSubtype);
      toStringHelper(sb, "keyPrefix", keyPrefix);
      toStringHelper(sb, "label", label);
      toStringHelper(sb, "labelPlural", labelPlural);
      toStringHelper(sb, "layoutable", layoutable);
      toStringHelper(sb, "listviewable", listviewable);
      toStringHelper(sb, "lookupLayoutable", lookupLayoutable);
      toStringHelper(sb, "mergeable", mergeable);
      toStringHelper(sb, "mruEnabled", mruEnabled);
      toStringHelper(sb, "name", name);
      toStringHelper(sb, "namedLayoutInfos", namedLayoutInfos);
      toStringHelper(sb, "networkScopeFieldName", networkScopeFieldName);
      toStringHelper(sb, "queryable", queryable);
      toStringHelper(sb, "recordTypeInfos", recordTypeInfos);
      toStringHelper(sb, "replicateable", replicateable);
      toStringHelper(sb, "retrieveable", retrieveable);
      toStringHelper(sb, "searchLayoutable", searchLayoutable);
      toStringHelper(sb, "searchable", searchable);
      toStringHelper(sb, "supportedScopes", supportedScopes);
      toStringHelper(sb, "triggerable", triggerable);
      toStringHelper(sb, "undeletable", undeletable);
      toStringHelper(sb, "updateable", updateable);
      toStringHelper(sb, "urlDetail", urlDetail);
      toStringHelper(sb, "urlEdit", urlEdit);
      toStringHelper(sb, "urlNew", urlNew);
    }


    @SuppressWarnings("unchecked")
    private  T[] castArray(Class clazz, U[] array) {
        if (array == null) {
            return null;
        }
        T[] retVal = (T[]) java.lang.reflect.Array.newInstance(clazz, array.length);
        for (int i=0; i < array.length; i++) {
            retVal[i] = (T)array[i];
        }

        return retVal;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy