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

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

There is a newer version: 62.0.0
Show newest version
package com.sforce.soap.metadata;

/**
 * This is a generated class for the SObject Enterprise API.
 * Do not edit this file, as your changes will be lost.
 */
public class CustomField extends com.sforce.soap.metadata.Metadata {

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

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

    private java.lang.String businessOwnerGroup;

    public java.lang.String getBusinessOwnerGroup() {
      return businessOwnerGroup;
    }

    public void setBusinessOwnerGroup(java.lang.String businessOwnerGroup) {
      this.businessOwnerGroup = businessOwnerGroup;
      businessOwnerGroup__is_set = true;
    }

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

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

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

    private java.lang.String businessOwnerUser;

    public java.lang.String getBusinessOwnerUser() {
      return businessOwnerUser;
    }

    public void setBusinessOwnerUser(java.lang.String businessOwnerUser) {
      this.businessOwnerUser = businessOwnerUser;
      businessOwnerUser__is_set = true;
    }

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

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

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

    private java.lang.String businessStatus;

    public java.lang.String getBusinessStatus() {
      return businessStatus;
    }

    public void setBusinessStatus(java.lang.String businessStatus) {
      this.businessStatus = businessStatus;
      businessStatus__is_set = true;
    }

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

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

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

    private boolean caseSensitive;

    public boolean getCaseSensitive() {
      return caseSensitive;
    }

    public boolean isCaseSensitive() {
      return caseSensitive;
    }

    public void setCaseSensitive(boolean caseSensitive) {
      this.caseSensitive = caseSensitive;
      caseSensitive__is_set = true;
    }

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

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

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

    private java.lang.String complianceGroup;

    public java.lang.String getComplianceGroup() {
      return complianceGroup;
    }

    public void setComplianceGroup(java.lang.String complianceGroup) {
      this.complianceGroup = complianceGroup;
      complianceGroup__is_set = true;
    }

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

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

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

    private java.lang.String customDataType;

    public java.lang.String getCustomDataType() {
      return customDataType;
    }

    public void setCustomDataType(java.lang.String customDataType) {
      this.customDataType = customDataType;
      customDataType__is_set = true;
    }

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

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

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

    private java.lang.String defaultValue;

    public java.lang.String getDefaultValue() {
      return defaultValue;
    }

    public void setDefaultValue(java.lang.String defaultValue) {
      this.defaultValue = defaultValue;
      defaultValue__is_set = true;
    }

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

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

    /**
     * element : deleteConstraint of type {http://soap.sforce.com/2006/04/metadata}DeleteConstraint
     * java type: com.sforce.soap.metadata.DeleteConstraint
     */
    private boolean deleteConstraint__is_set = false;

    private com.sforce.soap.metadata.DeleteConstraint deleteConstraint;

    public com.sforce.soap.metadata.DeleteConstraint getDeleteConstraint() {
      return deleteConstraint;
    }

    public void setDeleteConstraint(com.sforce.soap.metadata.DeleteConstraint deleteConstraint) {
      this.deleteConstraint = deleteConstraint;
      deleteConstraint__is_set = true;
    }

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

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

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

    private boolean deprecated;

    public boolean getDeprecated() {
      return deprecated;
    }

    public boolean isDeprecated() {
      return deprecated;
    }

    public void setDeprecated(boolean deprecated) {
      this.deprecated = deprecated;
      deprecated__is_set = true;
    }

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

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

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

    private java.lang.String description;

    public java.lang.String getDescription() {
      return description;
    }

    public void setDescription(java.lang.String description) {
      this.description = description;
      description__is_set = true;
    }

    protected void setDescription(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.isElement(__in, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setDescription(__typeMapper.readString(__in, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

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

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

    private java.lang.String displayFormat;

    public java.lang.String getDisplayFormat() {
      return displayFormat;
    }

    public void setDisplayFormat(java.lang.String displayFormat) {
      this.displayFormat = displayFormat;
      displayFormat__is_set = true;
    }

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

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

    /**
     * element : encryptionScheme of type {http://soap.sforce.com/2006/04/metadata}EncryptionScheme
     * java type: com.sforce.soap.metadata.EncryptionScheme
     */
    private boolean encryptionScheme__is_set = false;

    private com.sforce.soap.metadata.EncryptionScheme encryptionScheme;

    public com.sforce.soap.metadata.EncryptionScheme getEncryptionScheme() {
      return encryptionScheme;
    }

    public void setEncryptionScheme(com.sforce.soap.metadata.EncryptionScheme encryptionScheme) {
      this.encryptionScheme = encryptionScheme;
      encryptionScheme__is_set = true;
    }

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

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

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

    private boolean escapeMarkup;

    public boolean getEscapeMarkup() {
      return escapeMarkup;
    }

    public boolean isEscapeMarkup() {
      return escapeMarkup;
    }

    public void setEscapeMarkup(boolean escapeMarkup) {
      this.escapeMarkup = escapeMarkup;
      escapeMarkup__is_set = true;
    }

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

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

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

    private java.lang.String externalDeveloperName;

    public java.lang.String getExternalDeveloperName() {
      return externalDeveloperName;
    }

    public void setExternalDeveloperName(java.lang.String externalDeveloperName) {
      this.externalDeveloperName = externalDeveloperName;
      externalDeveloperName__is_set = true;
    }

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

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

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

    private boolean externalId;

    public boolean getExternalId() {
      return externalId;
    }

    public boolean isExternalId() {
      return externalId;
    }

    public void setExternalId(boolean externalId) {
      this.externalId = externalId;
      externalId__is_set = true;
    }

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

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

    /**
     * element : fieldManageability of type {http://soap.sforce.com/2006/04/metadata}FieldManageability
     * java type: com.sforce.soap.metadata.FieldManageability
     */
    private boolean fieldManageability__is_set = false;

    private com.sforce.soap.metadata.FieldManageability fieldManageability;

    public com.sforce.soap.metadata.FieldManageability getFieldManageability() {
      return fieldManageability;
    }

    public void setFieldManageability(com.sforce.soap.metadata.FieldManageability fieldManageability) {
      this.fieldManageability = fieldManageability;
      fieldManageability__is_set = true;
    }

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

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

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

    private java.lang.String formula;

    public java.lang.String getFormula() {
      return formula;
    }

    public void setFormula(java.lang.String formula) {
      this.formula = formula;
      formula__is_set = true;
    }

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

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

    /**
     * element : formulaTreatBlanksAs of type {http://soap.sforce.com/2006/04/metadata}TreatBlanksAs
     * java type: com.sforce.soap.metadata.TreatBlanksAs
     */
    private boolean formulaTreatBlanksAs__is_set = false;

    private com.sforce.soap.metadata.TreatBlanksAs formulaTreatBlanksAs;

    public com.sforce.soap.metadata.TreatBlanksAs getFormulaTreatBlanksAs() {
      return formulaTreatBlanksAs;
    }

    public void setFormulaTreatBlanksAs(com.sforce.soap.metadata.TreatBlanksAs formulaTreatBlanksAs) {
      this.formulaTreatBlanksAs = formulaTreatBlanksAs;
      formulaTreatBlanksAs__is_set = true;
    }

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

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

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

    private java.lang.String inlineHelpText;

    public java.lang.String getInlineHelpText() {
      return inlineHelpText;
    }

    public void setInlineHelpText(java.lang.String inlineHelpText) {
      this.inlineHelpText = inlineHelpText;
      inlineHelpText__is_set = true;
    }

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

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

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

    private boolean isAIPredictionField;

    public boolean getIsAIPredictionField() {
      return isAIPredictionField;
    }

    public boolean isIsAIPredictionField() {
      return isAIPredictionField;
    }

    public void setIsAIPredictionField(boolean isAIPredictionField) {
      this.isAIPredictionField = isAIPredictionField;
      isAIPredictionField__is_set = true;
    }

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

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

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

    private boolean isConvertLeadDisabled;

    public boolean getIsConvertLeadDisabled() {
      return isConvertLeadDisabled;
    }

    public boolean isIsConvertLeadDisabled() {
      return isConvertLeadDisabled;
    }

    public void setIsConvertLeadDisabled(boolean isConvertLeadDisabled) {
      this.isConvertLeadDisabled = isConvertLeadDisabled;
      isConvertLeadDisabled__is_set = true;
    }

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

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

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

    private boolean isFilteringDisabled;

    public boolean getIsFilteringDisabled() {
      return isFilteringDisabled;
    }

    public boolean isIsFilteringDisabled() {
      return isFilteringDisabled;
    }

    public void setIsFilteringDisabled(boolean isFilteringDisabled) {
      this.isFilteringDisabled = isFilteringDisabled;
      isFilteringDisabled__is_set = true;
    }

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

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

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

    private boolean isNameField;

    public boolean getIsNameField() {
      return isNameField;
    }

    public boolean isIsNameField() {
      return isNameField;
    }

    public void setIsNameField(boolean isNameField) {
      this.isNameField = isNameField;
      isNameField__is_set = true;
    }

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

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

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

    private boolean isSortingDisabled;

    public boolean getIsSortingDisabled() {
      return isSortingDisabled;
    }

    public boolean isIsSortingDisabled() {
      return isSortingDisabled;
    }

    public void setIsSortingDisabled(boolean isSortingDisabled) {
      this.isSortingDisabled = isSortingDisabled;
      isSortingDisabled__is_set = true;
    }

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

    private void writeFieldIsSortingDisabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("isSortingDisabled", "http://soap.sforce.com/2006/04/metadata","isSortingDisabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isSortingDisabled, isSortingDisabled__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;

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

    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.isElement(__in, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setLabel(__typeMapper.readString(__in, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",0,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", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",0,1,true), label, label__is_set);
    }

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

    private int length;

    public int getLength() {
      return length;
    }

    public void setLength(int length) {
      this.length = length;
      length__is_set = true;
    }

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

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

    /**
     * element : lookupFilter of type {http://soap.sforce.com/2006/04/metadata}LookupFilter
     * java type: com.sforce.soap.metadata.LookupFilter
     */
    private boolean lookupFilter__is_set = false;

    private com.sforce.soap.metadata.LookupFilter lookupFilter;

    public com.sforce.soap.metadata.LookupFilter getLookupFilter() {
      return lookupFilter;
    }

    public void setLookupFilter(com.sforce.soap.metadata.LookupFilter lookupFilter) {
      this.lookupFilter = lookupFilter;
      lookupFilter__is_set = true;
    }

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

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

    /**
     * element : maskChar of type {http://soap.sforce.com/2006/04/metadata}EncryptedFieldMaskChar
     * java type: com.sforce.soap.metadata.EncryptedFieldMaskChar
     */
    private boolean maskChar__is_set = false;

    private com.sforce.soap.metadata.EncryptedFieldMaskChar maskChar;

    public com.sforce.soap.metadata.EncryptedFieldMaskChar getMaskChar() {
      return maskChar;
    }

    public void setMaskChar(com.sforce.soap.metadata.EncryptedFieldMaskChar maskChar) {
      this.maskChar = maskChar;
      maskChar__is_set = true;
    }

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

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

    /**
     * element : maskType of type {http://soap.sforce.com/2006/04/metadata}EncryptedFieldMaskType
     * java type: com.sforce.soap.metadata.EncryptedFieldMaskType
     */
    private boolean maskType__is_set = false;

    private com.sforce.soap.metadata.EncryptedFieldMaskType maskType;

    public com.sforce.soap.metadata.EncryptedFieldMaskType getMaskType() {
      return maskType;
    }

    public void setMaskType(com.sforce.soap.metadata.EncryptedFieldMaskType maskType) {
      this.maskType = maskType;
      maskType__is_set = true;
    }

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

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

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

    private java.lang.String metadataRelationshipControllingField;

    public java.lang.String getMetadataRelationshipControllingField() {
      return metadataRelationshipControllingField;
    }

    public void setMetadataRelationshipControllingField(java.lang.String metadataRelationshipControllingField) {
      this.metadataRelationshipControllingField = metadataRelationshipControllingField;
      metadataRelationshipControllingField__is_set = true;
    }

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

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

    /**
     * element : mktDataLakeFieldAttributes of type {http://soap.sforce.com/2006/04/metadata}MktDataLakeFieldAttributes
     * java type: com.sforce.soap.metadata.MktDataLakeFieldAttributes
     */
    private boolean mktDataLakeFieldAttributes__is_set = false;

    private com.sforce.soap.metadata.MktDataLakeFieldAttributes mktDataLakeFieldAttributes;

    public com.sforce.soap.metadata.MktDataLakeFieldAttributes getMktDataLakeFieldAttributes() {
      return mktDataLakeFieldAttributes;
    }

    public void setMktDataLakeFieldAttributes(com.sforce.soap.metadata.MktDataLakeFieldAttributes mktDataLakeFieldAttributes) {
      this.mktDataLakeFieldAttributes = mktDataLakeFieldAttributes;
      mktDataLakeFieldAttributes__is_set = true;
    }

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

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

    /**
     * element : mktDataModelFieldAttributes of type {http://soap.sforce.com/2006/04/metadata}MktDataModelFieldAttributes
     * java type: com.sforce.soap.metadata.MktDataModelFieldAttributes
     */
    private boolean mktDataModelFieldAttributes__is_set = false;

    private com.sforce.soap.metadata.MktDataModelFieldAttributes mktDataModelFieldAttributes;

    public com.sforce.soap.metadata.MktDataModelFieldAttributes getMktDataModelFieldAttributes() {
      return mktDataModelFieldAttributes;
    }

    public void setMktDataModelFieldAttributes(com.sforce.soap.metadata.MktDataModelFieldAttributes mktDataModelFieldAttributes) {
      this.mktDataModelFieldAttributes = mktDataModelFieldAttributes;
      mktDataModelFieldAttributes__is_set = true;
    }

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

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

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

    private boolean populateExistingRows;

    public boolean getPopulateExistingRows() {
      return populateExistingRows;
    }

    public boolean isPopulateExistingRows() {
      return populateExistingRows;
    }

    public void setPopulateExistingRows(boolean populateExistingRows) {
      this.populateExistingRows = populateExistingRows;
      populateExistingRows__is_set = true;
    }

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

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

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

    private int precision;

    public int getPrecision() {
      return precision;
    }

    public void setPrecision(int precision) {
      this.precision = precision;
      precision__is_set = true;
    }

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

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

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

    private java.lang.String referenceTargetField;

    public java.lang.String getReferenceTargetField() {
      return referenceTargetField;
    }

    public void setReferenceTargetField(java.lang.String referenceTargetField) {
      this.referenceTargetField = referenceTargetField;
      referenceTargetField__is_set = true;
    }

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

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

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

    private java.lang.String referenceTo;

    public java.lang.String getReferenceTo() {
      return referenceTo;
    }

    public void setReferenceTo(java.lang.String referenceTo) {
      this.referenceTo = referenceTo;
      referenceTo__is_set = true;
    }

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

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

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

    private java.lang.String relationshipLabel;

    public java.lang.String getRelationshipLabel() {
      return relationshipLabel;
    }

    public void setRelationshipLabel(java.lang.String relationshipLabel) {
      this.relationshipLabel = relationshipLabel;
      relationshipLabel__is_set = true;
    }

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

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

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

    private java.lang.String relationshipName;

    public java.lang.String getRelationshipName() {
      return relationshipName;
    }

    public void setRelationshipName(java.lang.String relationshipName) {
      this.relationshipName = relationshipName;
      relationshipName__is_set = true;
    }

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

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

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

    private int relationshipOrder;

    public int getRelationshipOrder() {
      return relationshipOrder;
    }

    public void setRelationshipOrder(int relationshipOrder) {
      this.relationshipOrder = relationshipOrder;
      relationshipOrder__is_set = true;
    }

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

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

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

    private boolean reparentableMasterDetail;

    public boolean getReparentableMasterDetail() {
      return reparentableMasterDetail;
    }

    public boolean isReparentableMasterDetail() {
      return reparentableMasterDetail;
    }

    public void setReparentableMasterDetail(boolean reparentableMasterDetail) {
      this.reparentableMasterDetail = reparentableMasterDetail;
      reparentableMasterDetail__is_set = true;
    }

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

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

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

    private boolean required;

    public boolean getRequired() {
      return required;
    }

    public boolean isRequired() {
      return required;
    }

    public void setRequired(boolean required) {
      this.required = required;
      required__is_set = true;
    }

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

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

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

    private boolean restrictedAdminField;

    public boolean getRestrictedAdminField() {
      return restrictedAdminField;
    }

    public boolean isRestrictedAdminField() {
      return restrictedAdminField;
    }

    public void setRestrictedAdminField(boolean restrictedAdminField) {
      this.restrictedAdminField = restrictedAdminField;
      restrictedAdminField__is_set = true;
    }

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

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

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

    private int scale;

    public int getScale() {
      return scale;
    }

    public void setScale(int scale) {
      this.scale = scale;
      scale__is_set = true;
    }

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

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

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

    private java.lang.String securityClassification;

    public java.lang.String getSecurityClassification() {
      return securityClassification;
    }

    public void setSecurityClassification(java.lang.String securityClassification) {
      this.securityClassification = securityClassification;
      securityClassification__is_set = true;
    }

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

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

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

    private int startingNumber;

    public int getStartingNumber() {
      return startingNumber;
    }

    public void setStartingNumber(int startingNumber) {
      this.startingNumber = startingNumber;
      startingNumber__is_set = true;
    }

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

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

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

    private boolean stripMarkup;

    public boolean getStripMarkup() {
      return stripMarkup;
    }

    public boolean isStripMarkup() {
      return stripMarkup;
    }

    public void setStripMarkup(boolean stripMarkup) {
      this.stripMarkup = stripMarkup;
      stripMarkup__is_set = true;
    }

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

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

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

    private java.lang.String summarizedField;

    public java.lang.String getSummarizedField() {
      return summarizedField;
    }

    public void setSummarizedField(java.lang.String summarizedField) {
      this.summarizedField = summarizedField;
      summarizedField__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FilterItem[] summaryFilterItems = new com.sforce.soap.metadata.FilterItem[0];

    public com.sforce.soap.metadata.FilterItem[] getSummaryFilterItems() {
      return summaryFilterItems;
    }

    public void setSummaryFilterItems(com.sforce.soap.metadata.FilterItem[] summaryFilterItems) {
      this.summaryFilterItems = summaryFilterItems;
      summaryFilterItems__is_set = true;
    }

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

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

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

    private java.lang.String summaryForeignKey;

    public java.lang.String getSummaryForeignKey() {
      return summaryForeignKey;
    }

    public void setSummaryForeignKey(java.lang.String summaryForeignKey) {
      this.summaryForeignKey = summaryForeignKey;
      summaryForeignKey__is_set = true;
    }

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

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

    /**
     * element : summaryOperation of type {http://soap.sforce.com/2006/04/metadata}SummaryOperations
     * java type: com.sforce.soap.metadata.SummaryOperations
     */
    private boolean summaryOperation__is_set = false;

    private com.sforce.soap.metadata.SummaryOperations summaryOperation;

    public com.sforce.soap.metadata.SummaryOperations getSummaryOperation() {
      return summaryOperation;
    }

    public void setSummaryOperation(com.sforce.soap.metadata.SummaryOperations summaryOperation) {
      this.summaryOperation = summaryOperation;
      summaryOperation__is_set = true;
    }

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

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

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

    private boolean trackFeedHistory;

    public boolean getTrackFeedHistory() {
      return trackFeedHistory;
    }

    public boolean isTrackFeedHistory() {
      return trackFeedHistory;
    }

    public void setTrackFeedHistory(boolean trackFeedHistory) {
      this.trackFeedHistory = trackFeedHistory;
      trackFeedHistory__is_set = true;
    }

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

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

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

    private boolean trackHistory;

    public boolean getTrackHistory() {
      return trackHistory;
    }

    public boolean isTrackHistory() {
      return trackHistory;
    }

    public void setTrackHistory(boolean trackHistory) {
      this.trackHistory = trackHistory;
      trackHistory__is_set = true;
    }

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

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

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

    private boolean trackTrending;

    public boolean getTrackTrending() {
      return trackTrending;
    }

    public boolean isTrackTrending() {
      return trackTrending;
    }

    public void setTrackTrending(boolean trackTrending) {
      this.trackTrending = trackTrending;
      trackTrending__is_set = true;
    }

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

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

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

    private boolean translateData;

    public boolean getTranslateData() {
      return translateData;
    }

    public boolean isTranslateData() {
      return translateData;
    }

    public void setTranslateData(boolean translateData) {
      this.translateData = translateData;
      translateData__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FieldType type;

    public com.sforce.soap.metadata.FieldType getType() {
      return type;
    }

    public void setType(com.sforce.soap.metadata.FieldType type) {
      this.type = type;
      type__is_set = true;
    }

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

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

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

    private boolean unique;

    public boolean getUnique() {
      return unique;
    }

    public boolean isUnique() {
      return unique;
    }

    public void setUnique(boolean unique) {
      this.unique = unique;
      unique__is_set = true;
    }

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

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

    /**
     * element : valueSet of type {http://soap.sforce.com/2006/04/metadata}ValueSet
     * java type: com.sforce.soap.metadata.ValueSet
     */
    private boolean valueSet__is_set = false;

    private com.sforce.soap.metadata.ValueSet valueSet;

    public com.sforce.soap.metadata.ValueSet getValueSet() {
      return valueSet;
    }

    public void setValueSet(com.sforce.soap.metadata.ValueSet valueSet) {
      this.valueSet = valueSet;
      valueSet__is_set = true;
    }

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

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

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

    private int visibleLines;

    public int getVisibleLines() {
      return visibleLines;
    }

    public void setVisibleLines(int visibleLines) {
      this.visibleLines = visibleLines;
      visibleLines__is_set = true;
    }

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

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

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

    private boolean writeRequiresMasterRead;

    public boolean getWriteRequiresMasterRead() {
      return writeRequiresMasterRead;
    }

    public boolean isWriteRequiresMasterRead() {
      return writeRequiresMasterRead;
    }

    public void setWriteRequiresMasterRead(boolean writeRequiresMasterRead) {
      this.writeRequiresMasterRead = writeRequiresMasterRead;
      writeRequiresMasterRead__is_set = true;
    }

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

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

    /**
     */
    @Override
    public void write(javax.xml.namespace.QName __element,
        com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
        throws java.io.IOException {
      __out.writeStartTag(__element.getNamespaceURI(), __element.getLocalPart());
      __typeMapper.writeXsiType(__out, "http://soap.sforce.com/2006/04/metadata", "CustomField");
      writeFields(__out, __typeMapper);
      __out.writeEndTag(__element.getNamespaceURI(), __element.getLocalPart());
    }

    protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out,
         com.sforce.ws.bind.TypeMapper __typeMapper)
         throws java.io.IOException {
       super.writeFields(__out, __typeMapper);
       writeFields1(__out, __typeMapper);
    }

    @Override
    public void load(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __typeMapper.consumeStartTag(__in);
      loadFields(__in, __typeMapper);
      __typeMapper.consumeEndTag(__in);
    }

    protected void loadFields(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
        super.loadFields(__in, __typeMapper);
        loadFields1(__in, __typeMapper);
    }

    @Override
    public String toString() {
      java.lang.StringBuilder sb = new java.lang.StringBuilder();
      sb.append("[CustomField ");
      sb.append(super.toString());
      toString1(sb);

      sb.append("]\n");
      return sb.toString();
    }

    private void toStringHelper(StringBuilder sb, String name, Object value) {
      sb.append(' ').append(name).append("='").append(com.sforce.ws.util.Verbose.toString(value)).append("'\n");
    }

    private void writeFields1(com.sforce.ws.parser.XmlOutputStream __out,
         com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      writeFieldBusinessOwnerGroup(__out, __typeMapper);
      writeFieldBusinessOwnerUser(__out, __typeMapper);
      writeFieldBusinessStatus(__out, __typeMapper);
      writeFieldCaseSensitive(__out, __typeMapper);
      writeFieldComplianceGroup(__out, __typeMapper);
      writeFieldCustomDataType(__out, __typeMapper);
      writeFieldDefaultValue(__out, __typeMapper);
      writeFieldDeleteConstraint(__out, __typeMapper);
      writeFieldDeprecated(__out, __typeMapper);
      writeFieldDescription(__out, __typeMapper);
      writeFieldDisplayFormat(__out, __typeMapper);
      writeFieldEncryptionScheme(__out, __typeMapper);
      writeFieldEscapeMarkup(__out, __typeMapper);
      writeFieldExternalDeveloperName(__out, __typeMapper);
      writeFieldExternalId(__out, __typeMapper);
      writeFieldFieldManageability(__out, __typeMapper);
      writeFieldFormula(__out, __typeMapper);
      writeFieldFormulaTreatBlanksAs(__out, __typeMapper);
      writeFieldInlineHelpText(__out, __typeMapper);
      writeFieldIsAIPredictionField(__out, __typeMapper);
      writeFieldIsConvertLeadDisabled(__out, __typeMapper);
      writeFieldIsFilteringDisabled(__out, __typeMapper);
      writeFieldIsNameField(__out, __typeMapper);
      writeFieldIsSortingDisabled(__out, __typeMapper);
      writeFieldLabel(__out, __typeMapper);
      writeFieldLength(__out, __typeMapper);
      writeFieldLookupFilter(__out, __typeMapper);
      writeFieldMaskChar(__out, __typeMapper);
      writeFieldMaskType(__out, __typeMapper);
      writeFieldMetadataRelationshipControllingField(__out, __typeMapper);
      writeFieldMktDataLakeFieldAttributes(__out, __typeMapper);
      writeFieldMktDataModelFieldAttributes(__out, __typeMapper);
      writeFieldPopulateExistingRows(__out, __typeMapper);
      writeFieldPrecision(__out, __typeMapper);
      writeFieldReferenceTargetField(__out, __typeMapper);
      writeFieldReferenceTo(__out, __typeMapper);
      writeFieldRelationshipLabel(__out, __typeMapper);
      writeFieldRelationshipName(__out, __typeMapper);
      writeFieldRelationshipOrder(__out, __typeMapper);
      writeFieldReparentableMasterDetail(__out, __typeMapper);
      writeFieldRequired(__out, __typeMapper);
      writeFieldRestrictedAdminField(__out, __typeMapper);
      writeFieldScale(__out, __typeMapper);
      writeFieldSecurityClassification(__out, __typeMapper);
      writeFieldStartingNumber(__out, __typeMapper);
      writeFieldStripMarkup(__out, __typeMapper);
      writeFieldSummarizedField(__out, __typeMapper);
      writeFieldSummaryFilterItems(__out, __typeMapper);
      writeFieldSummaryForeignKey(__out, __typeMapper);
      writeFieldSummaryOperation(__out, __typeMapper);
      writeFieldTrackFeedHistory(__out, __typeMapper);
      writeFieldTrackHistory(__out, __typeMapper);
      writeFieldTrackTrending(__out, __typeMapper);
      writeFieldTranslateData(__out, __typeMapper);
      writeFieldType(__out, __typeMapper);
      writeFieldUnique(__out, __typeMapper);
      writeFieldValueSet(__out, __typeMapper);
      writeFieldVisibleLines(__out, __typeMapper);
      writeFieldWriteRequiresMasterRead(__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 {
      setBusinessOwnerGroup(__in, __typeMapper);
      setBusinessOwnerUser(__in, __typeMapper);
      setBusinessStatus(__in, __typeMapper);
      setCaseSensitive(__in, __typeMapper);
      setComplianceGroup(__in, __typeMapper);
      setCustomDataType(__in, __typeMapper);
      setDefaultValue(__in, __typeMapper);
      setDeleteConstraint(__in, __typeMapper);
      setDeprecated(__in, __typeMapper);
      setDescription(__in, __typeMapper);
      setDisplayFormat(__in, __typeMapper);
      setEncryptionScheme(__in, __typeMapper);
      setEscapeMarkup(__in, __typeMapper);
      setExternalDeveloperName(__in, __typeMapper);
      setExternalId(__in, __typeMapper);
      setFieldManageability(__in, __typeMapper);
      setFormula(__in, __typeMapper);
      setFormulaTreatBlanksAs(__in, __typeMapper);
      setInlineHelpText(__in, __typeMapper);
      setIsAIPredictionField(__in, __typeMapper);
      setIsConvertLeadDisabled(__in, __typeMapper);
      setIsFilteringDisabled(__in, __typeMapper);
      setIsNameField(__in, __typeMapper);
      setIsSortingDisabled(__in, __typeMapper);
      setLabel(__in, __typeMapper);
      setLength(__in, __typeMapper);
      setLookupFilter(__in, __typeMapper);
      setMaskChar(__in, __typeMapper);
      setMaskType(__in, __typeMapper);
      setMetadataRelationshipControllingField(__in, __typeMapper);
      setMktDataLakeFieldAttributes(__in, __typeMapper);
      setMktDataModelFieldAttributes(__in, __typeMapper);
      setPopulateExistingRows(__in, __typeMapper);
      setPrecision(__in, __typeMapper);
      setReferenceTargetField(__in, __typeMapper);
      setReferenceTo(__in, __typeMapper);
      setRelationshipLabel(__in, __typeMapper);
      setRelationshipName(__in, __typeMapper);
      setRelationshipOrder(__in, __typeMapper);
      setReparentableMasterDetail(__in, __typeMapper);
      setRequired(__in, __typeMapper);
      setRestrictedAdminField(__in, __typeMapper);
      setScale(__in, __typeMapper);
      setSecurityClassification(__in, __typeMapper);
      setStartingNumber(__in, __typeMapper);
      setStripMarkup(__in, __typeMapper);
      setSummarizedField(__in, __typeMapper);
      setSummaryFilterItems(__in, __typeMapper);
      setSummaryForeignKey(__in, __typeMapper);
      setSummaryOperation(__in, __typeMapper);
      setTrackFeedHistory(__in, __typeMapper);
      setTrackHistory(__in, __typeMapper);
      setTrackTrending(__in, __typeMapper);
      setTranslateData(__in, __typeMapper);
      setType(__in, __typeMapper);
      setUnique(__in, __typeMapper);
      setValueSet(__in, __typeMapper);
      setVisibleLines(__in, __typeMapper);
      setWriteRequiresMasterRead(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "businessOwnerGroup", businessOwnerGroup);
      toStringHelper(sb, "businessOwnerUser", businessOwnerUser);
      toStringHelper(sb, "businessStatus", businessStatus);
      toStringHelper(sb, "caseSensitive", caseSensitive);
      toStringHelper(sb, "complianceGroup", complianceGroup);
      toStringHelper(sb, "customDataType", customDataType);
      toStringHelper(sb, "defaultValue", defaultValue);
      toStringHelper(sb, "deleteConstraint", deleteConstraint);
      toStringHelper(sb, "deprecated", deprecated);
      toStringHelper(sb, "description", description);
      toStringHelper(sb, "displayFormat", displayFormat);
      toStringHelper(sb, "encryptionScheme", encryptionScheme);
      toStringHelper(sb, "escapeMarkup", escapeMarkup);
      toStringHelper(sb, "externalDeveloperName", externalDeveloperName);
      toStringHelper(sb, "externalId", externalId);
      toStringHelper(sb, "fieldManageability", fieldManageability);
      toStringHelper(sb, "formula", formula);
      toStringHelper(sb, "formulaTreatBlanksAs", formulaTreatBlanksAs);
      toStringHelper(sb, "inlineHelpText", inlineHelpText);
      toStringHelper(sb, "isAIPredictionField", isAIPredictionField);
      toStringHelper(sb, "isConvertLeadDisabled", isConvertLeadDisabled);
      toStringHelper(sb, "isFilteringDisabled", isFilteringDisabled);
      toStringHelper(sb, "isNameField", isNameField);
      toStringHelper(sb, "isSortingDisabled", isSortingDisabled);
      toStringHelper(sb, "label", label);
      toStringHelper(sb, "length", length);
      toStringHelper(sb, "lookupFilter", lookupFilter);
      toStringHelper(sb, "maskChar", maskChar);
      toStringHelper(sb, "maskType", maskType);
      toStringHelper(sb, "metadataRelationshipControllingField", metadataRelationshipControllingField);
      toStringHelper(sb, "mktDataLakeFieldAttributes", mktDataLakeFieldAttributes);
      toStringHelper(sb, "mktDataModelFieldAttributes", mktDataModelFieldAttributes);
      toStringHelper(sb, "populateExistingRows", populateExistingRows);
      toStringHelper(sb, "precision", precision);
      toStringHelper(sb, "referenceTargetField", referenceTargetField);
      toStringHelper(sb, "referenceTo", referenceTo);
      toStringHelper(sb, "relationshipLabel", relationshipLabel);
      toStringHelper(sb, "relationshipName", relationshipName);
      toStringHelper(sb, "relationshipOrder", relationshipOrder);
      toStringHelper(sb, "reparentableMasterDetail", reparentableMasterDetail);
      toStringHelper(sb, "required", required);
      toStringHelper(sb, "restrictedAdminField", restrictedAdminField);
      toStringHelper(sb, "scale", scale);
      toStringHelper(sb, "securityClassification", securityClassification);
      toStringHelper(sb, "startingNumber", startingNumber);
      toStringHelper(sb, "stripMarkup", stripMarkup);
      toStringHelper(sb, "summarizedField", summarizedField);
      toStringHelper(sb, "summaryFilterItems", summaryFilterItems);
      toStringHelper(sb, "summaryForeignKey", summaryForeignKey);
      toStringHelper(sb, "summaryOperation", summaryOperation);
      toStringHelper(sb, "trackFeedHistory", trackFeedHistory);
      toStringHelper(sb, "trackHistory", trackHistory);
      toStringHelper(sb, "trackTrending", trackTrending);
      toStringHelper(sb, "translateData", translateData);
      toStringHelper(sb, "type", type);
      toStringHelper(sb, "unique", unique);
      toStringHelper(sb, "valueSet", valueSet);
      toStringHelper(sb, "visibleLines", visibleLines);
      toStringHelper(sb, "writeRequiresMasterRead", writeRequiresMasterRead);
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy