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

com.sforce.soap.metadata.FlowScreen 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 FlowScreen extends com.sforce.soap.metadata.FlowNode {

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

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

    private com.sforce.soap.metadata.FlowScreenAction[] actions = new com.sforce.soap.metadata.FlowScreenAction[0];

    public com.sforce.soap.metadata.FlowScreenAction[] getActions() {
      return actions;
    }

    public void setActions(com.sforce.soap.metadata.FlowScreenAction[] actions) {
      this.actions = actions;
      actions__is_set = true;
    }

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

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

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

    private boolean allowBack;

    public boolean getAllowBack() {
      return allowBack;
    }

    public boolean isAllowBack() {
      return allowBack;
    }

    public void setAllowBack(boolean allowBack) {
      this.allowBack = allowBack;
      allowBack__is_set = true;
    }

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

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

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

    private boolean allowFinish;

    public boolean getAllowFinish() {
      return allowFinish;
    }

    public boolean isAllowFinish() {
      return allowFinish;
    }

    public void setAllowFinish(boolean allowFinish) {
      this.allowFinish = allowFinish;
      allowFinish__is_set = true;
    }

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

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

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

    private boolean allowPause;

    public boolean getAllowPause() {
      return allowPause;
    }

    public boolean isAllowPause() {
      return allowPause;
    }

    public void setAllowPause(boolean allowPause) {
      this.allowPause = allowPause;
      allowPause__is_set = true;
    }

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

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

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

    private java.lang.String backButtonLabel;

    public java.lang.String getBackButtonLabel() {
      return backButtonLabel;
    }

    public void setBackButtonLabel(java.lang.String backButtonLabel) {
      this.backButtonLabel = backButtonLabel;
      backButtonLabel__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowConnector connector;

    public com.sforce.soap.metadata.FlowConnector getConnector() {
      return connector;
    }

    public void setConnector(com.sforce.soap.metadata.FlowConnector connector) {
      this.connector = connector;
      connector__is_set = true;
    }

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

    private void writeFieldConnector(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("connector", "http://soap.sforce.com/2006/04/metadata","connector","http://soap.sforce.com/2006/04/metadata","FlowConnector",0,1,true), connector, connector__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 : nextOrFinishButtonLabel of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean nextOrFinishButtonLabel__is_set = false;

    private java.lang.String nextOrFinishButtonLabel;

    public java.lang.String getNextOrFinishButtonLabel() {
      return nextOrFinishButtonLabel;
    }

    public void setNextOrFinishButtonLabel(java.lang.String nextOrFinishButtonLabel) {
      this.nextOrFinishButtonLabel = nextOrFinishButtonLabel;
      nextOrFinishButtonLabel__is_set = true;
    }

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

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

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

    private java.lang.String pauseButtonLabel;

    public java.lang.String getPauseButtonLabel() {
      return pauseButtonLabel;
    }

    public void setPauseButtonLabel(java.lang.String pauseButtonLabel) {
      this.pauseButtonLabel = pauseButtonLabel;
      pauseButtonLabel__is_set = true;
    }

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

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

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

    private java.lang.String pausedText;

    public java.lang.String getPausedText() {
      return pausedText;
    }

    public void setPausedText(java.lang.String pausedText) {
      this.pausedText = pausedText;
      pausedText__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowScreenRule[] rules = new com.sforce.soap.metadata.FlowScreenRule[0];

    public com.sforce.soap.metadata.FlowScreenRule[] getRules() {
      return rules;
    }

    public void setRules(com.sforce.soap.metadata.FlowScreenRule[] rules) {
      this.rules = rules;
      rules__is_set = true;
    }

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

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

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

    private boolean showFooter;

    public boolean getShowFooter() {
      return showFooter;
    }

    public boolean isShowFooter() {
      return showFooter;
    }

    public void setShowFooter(boolean showFooter) {
      this.showFooter = showFooter;
      showFooter__is_set = true;
    }

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

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

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

    private boolean showHeader;

    public boolean getShowHeader() {
      return showHeader;
    }

    public boolean isShowHeader() {
      return showHeader;
    }

    public void setShowHeader(boolean showHeader) {
      this.showHeader = showHeader;
      showHeader__is_set = true;
    }

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

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

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

    private com.sforce.soap.metadata.FlowScreenTrigger[] triggers = new com.sforce.soap.metadata.FlowScreenTrigger[0];

    public com.sforce.soap.metadata.FlowScreenTrigger[] getTriggers() {
      return triggers;
    }

    public void setTriggers(com.sforce.soap.metadata.FlowScreenTrigger[] triggers) {
      this.triggers = triggers;
      triggers__is_set = true;
    }

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

    private void writeFieldTriggers(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("triggers", "http://soap.sforce.com/2006/04/metadata","triggers","http://soap.sforce.com/2006/04/metadata","FlowScreenTrigger",0,-1,true), triggers, triggers__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", "FlowScreen");
      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("[FlowScreen ");
      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 {
      writeFieldActions(__out, __typeMapper);
      writeFieldAllowBack(__out, __typeMapper);
      writeFieldAllowFinish(__out, __typeMapper);
      writeFieldAllowPause(__out, __typeMapper);
      writeFieldBackButtonLabel(__out, __typeMapper);
      writeFieldConnector(__out, __typeMapper);
      writeFieldFields(__out, __typeMapper);
      writeFieldHelpText(__out, __typeMapper);
      writeFieldNextOrFinishButtonLabel(__out, __typeMapper);
      writeFieldPauseButtonLabel(__out, __typeMapper);
      writeFieldPausedText(__out, __typeMapper);
      writeFieldRules(__out, __typeMapper);
      writeFieldShowFooter(__out, __typeMapper);
      writeFieldShowHeader(__out, __typeMapper);
      writeFieldTriggers(__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 {
      setActions(__in, __typeMapper);
      setAllowBack(__in, __typeMapper);
      setAllowFinish(__in, __typeMapper);
      setAllowPause(__in, __typeMapper);
      setBackButtonLabel(__in, __typeMapper);
      setConnector(__in, __typeMapper);
      setFields(__in, __typeMapper);
      setHelpText(__in, __typeMapper);
      setNextOrFinishButtonLabel(__in, __typeMapper);
      setPauseButtonLabel(__in, __typeMapper);
      setPausedText(__in, __typeMapper);
      setRules(__in, __typeMapper);
      setShowFooter(__in, __typeMapper);
      setShowHeader(__in, __typeMapper);
      setTriggers(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "actions", actions);
      toStringHelper(sb, "allowBack", allowBack);
      toStringHelper(sb, "allowFinish", allowFinish);
      toStringHelper(sb, "allowPause", allowPause);
      toStringHelper(sb, "backButtonLabel", backButtonLabel);
      toStringHelper(sb, "connector", connector);
      toStringHelper(sb, "fields", fields);
      toStringHelper(sb, "helpText", helpText);
      toStringHelper(sb, "nextOrFinishButtonLabel", nextOrFinishButtonLabel);
      toStringHelper(sb, "pauseButtonLabel", pauseButtonLabel);
      toStringHelper(sb, "pausedText", pausedText);
      toStringHelper(sb, "rules", rules);
      toStringHelper(sb, "showFooter", showFooter);
      toStringHelper(sb, "showHeader", showHeader);
      toStringHelper(sb, "triggers", triggers);
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy