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

com.sforce.soap.metadata.FlowScreenField 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 FlowScreenField extends com.sforce.soap.metadata.FlowElement {

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

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

    private java.lang.String[] choiceReferences = new java.lang.String[0];

    public java.lang.String[] getChoiceReferences() {
      return choiceReferences;
    }

    public void setChoiceReferences(java.lang.String[] choiceReferences) {
      this.choiceReferences = choiceReferences;
      choiceReferences__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowDataType dataType;

    public com.sforce.soap.metadata.FlowDataType getDataType() {
      return dataType;
    }

    public void setDataType(com.sforce.soap.metadata.FlowDataType dataType) {
      this.dataType = dataType;
      dataType__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowDataTypeMapping[] dataTypeMappings = new com.sforce.soap.metadata.FlowDataTypeMapping[0];

    public com.sforce.soap.metadata.FlowDataTypeMapping[] getDataTypeMappings() {
      return dataTypeMappings;
    }

    public void setDataTypeMappings(com.sforce.soap.metadata.FlowDataTypeMapping[] dataTypeMappings) {
      this.dataTypeMappings = dataTypeMappings;
      dataTypeMappings__is_set = true;
    }

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

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

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

    private java.lang.String defaultSelectedChoiceReference;

    public java.lang.String getDefaultSelectedChoiceReference() {
      return defaultSelectedChoiceReference;
    }

    public void setDefaultSelectedChoiceReference(java.lang.String defaultSelectedChoiceReference) {
      this.defaultSelectedChoiceReference = defaultSelectedChoiceReference;
      defaultSelectedChoiceReference__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowElementReferenceOrValue defaultValue;

    public com.sforce.soap.metadata.FlowElementReferenceOrValue getDefaultValue() {
      return defaultValue;
    }

    public void setDefaultValue(com.sforce.soap.metadata.FlowElementReferenceOrValue 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://soap.sforce.com/2006/04/metadata","FlowElementReferenceOrValue",0,1,true))) {
        setDefaultValue((com.sforce.soap.metadata.FlowElementReferenceOrValue)__typeMapper.readObject(__in, _lookupTypeInfo("defaultValue", "http://soap.sforce.com/2006/04/metadata","defaultValue","http://soap.sforce.com/2006/04/metadata","FlowElementReferenceOrValue",0,1,true), com.sforce.soap.metadata.FlowElementReferenceOrValue.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://soap.sforce.com/2006/04/metadata","FlowElementReferenceOrValue",0,1,true), defaultValue, defaultValue__is_set);
    }

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

    private java.lang.String extensionName;

    public java.lang.String getExtensionName() {
      return extensionName;
    }

    public void setExtensionName(java.lang.String extensionName) {
      this.extensionName = extensionName;
      extensionName__is_set = true;
    }

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

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

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

    private java.lang.String fieldText;

    public java.lang.String getFieldText() {
      return fieldText;
    }

    public void setFieldText(java.lang.String fieldText) {
      this.fieldText = fieldText;
      fieldText__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowScreenFieldType fieldType;

    public com.sforce.soap.metadata.FlowScreenFieldType getFieldType() {
      return fieldType;
    }

    public void setFieldType(com.sforce.soap.metadata.FlowScreenFieldType fieldType) {
      this.fieldType = fieldType;
      fieldType__is_set = true;
    }

    protected void setFieldType(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.verifyElement(__in, _lookupTypeInfo("fieldType", "http://soap.sforce.com/2006/04/metadata","fieldType","http://soap.sforce.com/2006/04/metadata","FlowScreenFieldType",1,1,true))) {
        setFieldType((com.sforce.soap.metadata.FlowScreenFieldType)__typeMapper.readObject(__in, _lookupTypeInfo("fieldType", "http://soap.sforce.com/2006/04/metadata","fieldType","http://soap.sforce.com/2006/04/metadata","FlowScreenFieldType",1,1,true), com.sforce.soap.metadata.FlowScreenFieldType.class));
      }
    }

    private void writeFieldFieldType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("fieldType", "http://soap.sforce.com/2006/04/metadata","fieldType","http://soap.sforce.com/2006/04/metadata","FlowScreenFieldType",1,1,true), fieldType, fieldType__is_set);
    }

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

    private com.sforce.soap.metadata.FlowScreenField[] fields = new com.sforce.soap.metadata.FlowScreenField[0];

    public com.sforce.soap.metadata.FlowScreenField[] getFields() {
      return fields;
    }

    public void setFields(com.sforce.soap.metadata.FlowScreenField[] fields) {
      this.fields = fields;
      fields__is_set = true;
    }

    protected void setFields(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.isElement(__in, _lookupTypeInfo("fields", "http://soap.sforce.com/2006/04/metadata","fields","http://soap.sforce.com/2006/04/metadata","FlowScreenField",0,-1,true))) {
        setFields((com.sforce.soap.metadata.FlowScreenField[])__typeMapper.readObject(__in, _lookupTypeInfo("fields", "http://soap.sforce.com/2006/04/metadata","fields","http://soap.sforce.com/2006/04/metadata","FlowScreenField",0,-1,true), com.sforce.soap.metadata.FlowScreenField[].class));
      }
    }

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

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

    private java.lang.String helpText;

    public java.lang.String getHelpText() {
      return helpText;
    }

    public void setHelpText(java.lang.String helpText) {
      this.helpText = helpText;
      helpText__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowScreenFieldInputParameter[] inputParameters = new com.sforce.soap.metadata.FlowScreenFieldInputParameter[0];

    public com.sforce.soap.metadata.FlowScreenFieldInputParameter[] getInputParameters() {
      return inputParameters;
    }

    public void setInputParameters(com.sforce.soap.metadata.FlowScreenFieldInputParameter[] inputParameters) {
      this.inputParameters = inputParameters;
      inputParameters__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowScreenFieldInputsRevisited inputsOnNextNavToAssocScrn;

    public com.sforce.soap.metadata.FlowScreenFieldInputsRevisited getInputsOnNextNavToAssocScrn() {
      return inputsOnNextNavToAssocScrn;
    }

    public void setInputsOnNextNavToAssocScrn(com.sforce.soap.metadata.FlowScreenFieldInputsRevisited inputsOnNextNavToAssocScrn) {
      this.inputsOnNextNavToAssocScrn = inputsOnNextNavToAssocScrn;
      inputsOnNextNavToAssocScrn__is_set = true;
    }

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

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

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

    private boolean isRequired;

    public boolean getIsRequired() {
      return isRequired;
    }

    public boolean isIsRequired() {
      return isRequired;
    }

    public void setIsRequired(boolean isRequired) {
      this.isRequired = isRequired;
      isRequired__is_set = true;
    }

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

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

    /**
     * element : isVisible of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: java.lang.Boolean
     */
    private boolean isVisible__is_set = false;

    private java.lang.Boolean isVisible;

    public java.lang.Boolean getIsVisible() {
      return isVisible;
    }

    public void setIsVisible(java.lang.Boolean isVisible) {
      this.isVisible = isVisible;
      isVisible__is_set = true;
    }

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

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

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

    private java.lang.String objectFieldReference;

    public java.lang.String getObjectFieldReference() {
      return objectFieldReference;
    }

    public void setObjectFieldReference(java.lang.String objectFieldReference) {
      this.objectFieldReference = objectFieldReference;
      objectFieldReference__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowScreenFieldOutputParameter[] outputParameters = new com.sforce.soap.metadata.FlowScreenFieldOutputParameter[0];

    public com.sforce.soap.metadata.FlowScreenFieldOutputParameter[] getOutputParameters() {
      return outputParameters;
    }

    public void setOutputParameters(com.sforce.soap.metadata.FlowScreenFieldOutputParameter[] outputParameters) {
      this.outputParameters = outputParameters;
      outputParameters__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowRegionContainerType regionContainerType;

    public com.sforce.soap.metadata.FlowRegionContainerType getRegionContainerType() {
      return regionContainerType;
    }

    public void setRegionContainerType(com.sforce.soap.metadata.FlowRegionContainerType regionContainerType) {
      this.regionContainerType = regionContainerType;
      regionContainerType__is_set = true;
    }

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

    private void writeFieldRegionContainerType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("regionContainerType", "http://soap.sforce.com/2006/04/metadata","regionContainerType","http://soap.sforce.com/2006/04/metadata","FlowRegionContainerType",0,1,true), regionContainerType, regionContainerType__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 : storeOutputAutomatically of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean storeOutputAutomatically__is_set = false;

    private boolean storeOutputAutomatically;

    public boolean getStoreOutputAutomatically() {
      return storeOutputAutomatically;
    }

    public boolean isStoreOutputAutomatically() {
      return storeOutputAutomatically;
    }

    public void setStoreOutputAutomatically(boolean storeOutputAutomatically) {
      this.storeOutputAutomatically = storeOutputAutomatically;
      storeOutputAutomatically__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowInputValidationRule validationRule;

    public com.sforce.soap.metadata.FlowInputValidationRule getValidationRule() {
      return validationRule;
    }

    public void setValidationRule(com.sforce.soap.metadata.FlowInputValidationRule validationRule) {
      this.validationRule = validationRule;
      validationRule__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowVisibilityRule visibilityRule;

    public com.sforce.soap.metadata.FlowVisibilityRule getVisibilityRule() {
      return visibilityRule;
    }

    public void setVisibilityRule(com.sforce.soap.metadata.FlowVisibilityRule visibilityRule) {
      this.visibilityRule = visibilityRule;
      visibilityRule__is_set = true;
    }

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

    private void writeFieldVisibilityRule(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("visibilityRule", "http://soap.sforce.com/2006/04/metadata","visibilityRule","http://soap.sforce.com/2006/04/metadata","FlowVisibilityRule",0,1,true), visibilityRule, visibilityRule__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", "FlowScreenField");
      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("[FlowScreenField ");
      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 {
      writeFieldChoiceReferences(__out, __typeMapper);
      writeFieldDataType(__out, __typeMapper);
      writeFieldDataTypeMappings(__out, __typeMapper);
      writeFieldDefaultSelectedChoiceReference(__out, __typeMapper);
      writeFieldDefaultValue(__out, __typeMapper);
      writeFieldExtensionName(__out, __typeMapper);
      writeFieldFieldText(__out, __typeMapper);
      writeFieldFieldType(__out, __typeMapper);
      writeFieldFields(__out, __typeMapper);
      writeFieldHelpText(__out, __typeMapper);
      writeFieldInputParameters(__out, __typeMapper);
      writeFieldInputsOnNextNavToAssocScrn(__out, __typeMapper);
      writeFieldIsRequired(__out, __typeMapper);
      writeFieldIsVisible(__out, __typeMapper);
      writeFieldObjectFieldReference(__out, __typeMapper);
      writeFieldOutputParameters(__out, __typeMapper);
      writeFieldRegionContainerType(__out, __typeMapper);
      writeFieldScale(__out, __typeMapper);
      writeFieldStoreOutputAutomatically(__out, __typeMapper);
      writeFieldValidationRule(__out, __typeMapper);
      writeFieldVisibilityRule(__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 {
      setChoiceReferences(__in, __typeMapper);
      setDataType(__in, __typeMapper);
      setDataTypeMappings(__in, __typeMapper);
      setDefaultSelectedChoiceReference(__in, __typeMapper);
      setDefaultValue(__in, __typeMapper);
      setExtensionName(__in, __typeMapper);
      setFieldText(__in, __typeMapper);
      setFieldType(__in, __typeMapper);
      setFields(__in, __typeMapper);
      setHelpText(__in, __typeMapper);
      setInputParameters(__in, __typeMapper);
      setInputsOnNextNavToAssocScrn(__in, __typeMapper);
      setIsRequired(__in, __typeMapper);
      setIsVisible(__in, __typeMapper);
      setObjectFieldReference(__in, __typeMapper);
      setOutputParameters(__in, __typeMapper);
      setRegionContainerType(__in, __typeMapper);
      setScale(__in, __typeMapper);
      setStoreOutputAutomatically(__in, __typeMapper);
      setValidationRule(__in, __typeMapper);
      setVisibilityRule(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "choiceReferences", choiceReferences);
      toStringHelper(sb, "dataType", dataType);
      toStringHelper(sb, "dataTypeMappings", dataTypeMappings);
      toStringHelper(sb, "defaultSelectedChoiceReference", defaultSelectedChoiceReference);
      toStringHelper(sb, "defaultValue", defaultValue);
      toStringHelper(sb, "extensionName", extensionName);
      toStringHelper(sb, "fieldText", fieldText);
      toStringHelper(sb, "fieldType", fieldType);
      toStringHelper(sb, "fields", fields);
      toStringHelper(sb, "helpText", helpText);
      toStringHelper(sb, "inputParameters", inputParameters);
      toStringHelper(sb, "inputsOnNextNavToAssocScrn", inputsOnNextNavToAssocScrn);
      toStringHelper(sb, "isRequired", isRequired);
      toStringHelper(sb, "isVisible", isVisible);
      toStringHelper(sb, "objectFieldReference", objectFieldReference);
      toStringHelper(sb, "outputParameters", outputParameters);
      toStringHelper(sb, "regionContainerType", regionContainerType);
      toStringHelper(sb, "scale", scale);
      toStringHelper(sb, "storeOutputAutomatically", storeOutputAutomatically);
      toStringHelper(sb, "validationRule", validationRule);
      toStringHelper(sb, "visibilityRule", visibilityRule);
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy