com.sforce.soap.tooling.metadata.Flow Maven / Gradle / Ivy
Show all versions of sforce-tooling-api Show documentation
package com.sforce.soap.tooling.metadata;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import com.sforce.soap.tooling.FlowProcessType;
/**
* Java class for Flow complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Flow">
* <complexContent>
* <extension base="{urn:metadata.tooling.soap.sforce.com}Metadata">
* <sequence>
* <element name="actionCalls" type="{urn:metadata.tooling.soap.sforce.com}FlowActionCall" maxOccurs="unbounded" minOccurs="0"/>
* <element name="apexPluginCalls" type="{urn:metadata.tooling.soap.sforce.com}FlowApexPluginCall" maxOccurs="unbounded" minOccurs="0"/>
* <element name="assignments" type="{urn:metadata.tooling.soap.sforce.com}FlowAssignment" maxOccurs="unbounded" minOccurs="0"/>
* <element name="choices" type="{urn:metadata.tooling.soap.sforce.com}FlowChoice" maxOccurs="unbounded" minOccurs="0"/>
* <element name="constants" type="{urn:metadata.tooling.soap.sforce.com}FlowConstant" maxOccurs="unbounded" minOccurs="0"/>
* <element name="decisions" type="{urn:metadata.tooling.soap.sforce.com}FlowDecision" maxOccurs="unbounded" minOccurs="0"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="dynamicChoiceSets" type="{urn:metadata.tooling.soap.sforce.com}FlowDynamicChoiceSet" maxOccurs="unbounded" minOccurs="0"/>
* <element name="formulas" type="{urn:metadata.tooling.soap.sforce.com}FlowFormula" maxOccurs="unbounded" minOccurs="0"/>
* <element name="interviewLabel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="loops" type="{urn:metadata.tooling.soap.sforce.com}FlowLoop" maxOccurs="unbounded" minOccurs="0"/>
* <element name="processMetadataValues" type="{urn:metadata.tooling.soap.sforce.com}FlowMetadataValue" maxOccurs="unbounded" minOccurs="0"/>
* <element name="processType" type="{urn:tooling.soap.sforce.com}FlowProcessType" minOccurs="0"/>
* <element name="recordCreates" type="{urn:metadata.tooling.soap.sforce.com}FlowRecordCreate" maxOccurs="unbounded" minOccurs="0"/>
* <element name="recordDeletes" type="{urn:metadata.tooling.soap.sforce.com}FlowRecordDelete" maxOccurs="unbounded" minOccurs="0"/>
* <element name="recordLookups" type="{urn:metadata.tooling.soap.sforce.com}FlowRecordLookup" maxOccurs="unbounded" minOccurs="0"/>
* <element name="recordUpdates" type="{urn:metadata.tooling.soap.sforce.com}FlowRecordUpdate" maxOccurs="unbounded" minOccurs="0"/>
* <element name="screens" type="{urn:metadata.tooling.soap.sforce.com}FlowScreen" maxOccurs="unbounded" minOccurs="0"/>
* <element name="startElementReference" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="steps" type="{urn:metadata.tooling.soap.sforce.com}FlowStep" maxOccurs="unbounded" minOccurs="0"/>
* <element name="subflows" type="{urn:metadata.tooling.soap.sforce.com}FlowSubflow" maxOccurs="unbounded" minOccurs="0"/>
* <element name="textTemplates" type="{urn:metadata.tooling.soap.sforce.com}FlowTextTemplate" maxOccurs="unbounded" minOccurs="0"/>
* <element name="variables" type="{urn:metadata.tooling.soap.sforce.com}FlowVariable" maxOccurs="unbounded" minOccurs="0"/>
* <element name="waits" type="{urn:metadata.tooling.soap.sforce.com}FlowWait" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Flow", propOrder = {
"actionCalls",
"apexPluginCalls",
"assignments",
"choices",
"constants",
"decisions",
"description",
"dynamicChoiceSets",
"formulas",
"interviewLabel",
"label",
"loops",
"processMetadataValues",
"processType",
"recordCreates",
"recordDeletes",
"recordLookups",
"recordUpdates",
"screens",
"startElementReference",
"steps",
"subflows",
"textTemplates",
"variables",
"waits"
})
public class Flow
extends Metadata
{
protected List actionCalls;
protected List apexPluginCalls;
protected List assignments;
protected List choices;
protected List constants;
protected List decisions;
protected String description;
protected List dynamicChoiceSets;
protected List formulas;
protected String interviewLabel;
@XmlElement(required = true)
protected String label;
protected List loops;
protected List processMetadataValues;
@XmlSchemaType(name = "string")
protected FlowProcessType processType;
protected List recordCreates;
protected List recordDeletes;
protected List recordLookups;
protected List recordUpdates;
protected List screens;
protected String startElementReference;
protected List steps;
protected List subflows;
protected List textTemplates;
protected List variables;
protected List waits;
/**
* Gets the value of the actionCalls property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the actionCalls property.
*
*
* For example, to add a new item, do as follows:
*
* getActionCalls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowActionCall }
*
*
*/
public List getActionCalls() {
if (actionCalls == null) {
actionCalls = new ArrayList();
}
return this.actionCalls;
}
/**
* Gets the value of the apexPluginCalls property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the apexPluginCalls property.
*
*
* For example, to add a new item, do as follows:
*
* getApexPluginCalls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowApexPluginCall }
*
*
*/
public List getApexPluginCalls() {
if (apexPluginCalls == null) {
apexPluginCalls = new ArrayList();
}
return this.apexPluginCalls;
}
/**
* Gets the value of the assignments property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the assignments property.
*
*
* For example, to add a new item, do as follows:
*
* getAssignments().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowAssignment }
*
*
*/
public List getAssignments() {
if (assignments == null) {
assignments = new ArrayList();
}
return this.assignments;
}
/**
* Gets the value of the choices property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the choices property.
*
*
* For example, to add a new item, do as follows:
*
* getChoices().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowChoice }
*
*
*/
public List getChoices() {
if (choices == null) {
choices = new ArrayList();
}
return this.choices;
}
/**
* Gets the value of the constants property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the constants property.
*
*
* For example, to add a new item, do as follows:
*
* getConstants().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowConstant }
*
*
*/
public List getConstants() {
if (constants == null) {
constants = new ArrayList();
}
return this.constants;
}
/**
* Gets the value of the decisions property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the decisions property.
*
*
* For example, to add a new item, do as follows:
*
* getDecisions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowDecision }
*
*
*/
public List getDecisions() {
if (decisions == null) {
decisions = new ArrayList();
}
return this.decisions;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the dynamicChoiceSets property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the dynamicChoiceSets property.
*
*
* For example, to add a new item, do as follows:
*
* getDynamicChoiceSets().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowDynamicChoiceSet }
*
*
*/
public List getDynamicChoiceSets() {
if (dynamicChoiceSets == null) {
dynamicChoiceSets = new ArrayList();
}
return this.dynamicChoiceSets;
}
/**
* Gets the value of the formulas property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the formulas property.
*
*
* For example, to add a new item, do as follows:
*
* getFormulas().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowFormula }
*
*
*/
public List getFormulas() {
if (formulas == null) {
formulas = new ArrayList();
}
return this.formulas;
}
/**
* Gets the value of the interviewLabel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInterviewLabel() {
return interviewLabel;
}
/**
* Sets the value of the interviewLabel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInterviewLabel(String value) {
this.interviewLabel = value;
}
/**
* Gets the value of the label property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* Gets the value of the loops property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the loops property.
*
*
* For example, to add a new item, do as follows:
*
* getLoops().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowLoop }
*
*
*/
public List getLoops() {
if (loops == null) {
loops = new ArrayList();
}
return this.loops;
}
/**
* Gets the value of the processMetadataValues property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the processMetadataValues property.
*
*
* For example, to add a new item, do as follows:
*
* getProcessMetadataValues().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowMetadataValue }
*
*
*/
public List getProcessMetadataValues() {
if (processMetadataValues == null) {
processMetadataValues = new ArrayList();
}
return this.processMetadataValues;
}
/**
* Gets the value of the processType property.
*
* @return
* possible object is
* {@link FlowProcessType }
*
*/
public FlowProcessType getProcessType() {
return processType;
}
/**
* Sets the value of the processType property.
*
* @param value
* allowed object is
* {@link FlowProcessType }
*
*/
public void setProcessType(FlowProcessType value) {
this.processType = value;
}
/**
* Gets the value of the recordCreates property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the recordCreates property.
*
*
* For example, to add a new item, do as follows:
*
* getRecordCreates().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowRecordCreate }
*
*
*/
public List getRecordCreates() {
if (recordCreates == null) {
recordCreates = new ArrayList();
}
return this.recordCreates;
}
/**
* Gets the value of the recordDeletes property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the recordDeletes property.
*
*
* For example, to add a new item, do as follows:
*
* getRecordDeletes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowRecordDelete }
*
*
*/
public List getRecordDeletes() {
if (recordDeletes == null) {
recordDeletes = new ArrayList();
}
return this.recordDeletes;
}
/**
* Gets the value of the recordLookups property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the recordLookups property.
*
*
* For example, to add a new item, do as follows:
*
* getRecordLookups().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowRecordLookup }
*
*
*/
public List getRecordLookups() {
if (recordLookups == null) {
recordLookups = new ArrayList();
}
return this.recordLookups;
}
/**
* Gets the value of the recordUpdates property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the recordUpdates property.
*
*
* For example, to add a new item, do as follows:
*
* getRecordUpdates().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowRecordUpdate }
*
*
*/
public List getRecordUpdates() {
if (recordUpdates == null) {
recordUpdates = new ArrayList();
}
return this.recordUpdates;
}
/**
* Gets the value of the screens property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the screens property.
*
*
* For example, to add a new item, do as follows:
*
* getScreens().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowScreen }
*
*
*/
public List getScreens() {
if (screens == null) {
screens = new ArrayList();
}
return this.screens;
}
/**
* Gets the value of the startElementReference property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStartElementReference() {
return startElementReference;
}
/**
* Sets the value of the startElementReference property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStartElementReference(String value) {
this.startElementReference = value;
}
/**
* Gets the value of the steps property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the steps property.
*
*
* For example, to add a new item, do as follows:
*
* getSteps().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowStep }
*
*
*/
public List getSteps() {
if (steps == null) {
steps = new ArrayList();
}
return this.steps;
}
/**
* Gets the value of the subflows property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the subflows property.
*
*
* For example, to add a new item, do as follows:
*
* getSubflows().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowSubflow }
*
*
*/
public List getSubflows() {
if (subflows == null) {
subflows = new ArrayList();
}
return this.subflows;
}
/**
* Gets the value of the textTemplates property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the textTemplates property.
*
*
* For example, to add a new item, do as follows:
*
* getTextTemplates().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowTextTemplate }
*
*
*/
public List getTextTemplates() {
if (textTemplates == null) {
textTemplates = new ArrayList();
}
return this.textTemplates;
}
/**
* Gets the value of the variables property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the variables property.
*
*
* For example, to add a new item, do as follows:
*
* getVariables().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowVariable }
*
*
*/
public List getVariables() {
if (variables == null) {
variables = new ArrayList();
}
return this.variables;
}
/**
* Gets the value of the waits property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the waits property.
*
*
* For example, to add a new item, do as follows:
*
* getWaits().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FlowWait }
*
*
*/
public List getWaits() {
if (waits == null) {
waits = new ArrayList();
}
return this.waits;
}
}