com.sforce.soap.tooling.FlowAssignmentOperator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sforce-tooling-api Show documentation
Show all versions of sforce-tooling-api Show documentation
Salesforce Tooling API client
The newest version!
package com.sforce.soap.tooling;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for FlowAssignmentOperator.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="FlowAssignmentOperator">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Assign"/>
* <enumeration value="Add"/>
* <enumeration value="Subtract"/>
* <enumeration value="AddItem"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "FlowAssignmentOperator")
@XmlEnum
public enum FlowAssignmentOperator {
@XmlEnumValue("Assign")
ASSIGN("Assign"),
@XmlEnumValue("Add")
ADD("Add"),
@XmlEnumValue("Subtract")
SUBTRACT("Subtract"),
@XmlEnumValue("AddItem")
ADD_ITEM("AddItem");
private final String value;
FlowAssignmentOperator(String v) {
value = v;
}
public String value() {
return value;
}
public static FlowAssignmentOperator fromValue(String v) {
for (FlowAssignmentOperator c: FlowAssignmentOperator.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}