com.sforce.soap.tooling.FlowComparisonOperator 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 FlowComparisonOperator.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="FlowComparisonOperator">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="EqualTo"/>
* <enumeration value="NotEqualTo"/>
* <enumeration value="GreaterThan"/>
* <enumeration value="LessThan"/>
* <enumeration value="GreaterThanOrEqualTo"/>
* <enumeration value="LessThanOrEqualTo"/>
* <enumeration value="StartsWith"/>
* <enumeration value="EndsWith"/>
* <enumeration value="Contains"/>
* <enumeration value="IsNull"/>
* <enumeration value="WasSet"/>
* <enumeration value="WasSelected"/>
* <enumeration value="WasVisited"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "FlowComparisonOperator")
@XmlEnum
public enum FlowComparisonOperator {
@XmlEnumValue("EqualTo")
EQUAL_TO("EqualTo"),
@XmlEnumValue("NotEqualTo")
NOT_EQUAL_TO("NotEqualTo"),
@XmlEnumValue("GreaterThan")
GREATER_THAN("GreaterThan"),
@XmlEnumValue("LessThan")
LESS_THAN("LessThan"),
@XmlEnumValue("GreaterThanOrEqualTo")
GREATER_THAN_OR_EQUAL_TO("GreaterThanOrEqualTo"),
@XmlEnumValue("LessThanOrEqualTo")
LESS_THAN_OR_EQUAL_TO("LessThanOrEqualTo"),
@XmlEnumValue("StartsWith")
STARTS_WITH("StartsWith"),
@XmlEnumValue("EndsWith")
ENDS_WITH("EndsWith"),
@XmlEnumValue("Contains")
CONTAINS("Contains"),
@XmlEnumValue("IsNull")
IS_NULL("IsNull"),
@XmlEnumValue("WasSet")
WAS_SET("WasSet"),
@XmlEnumValue("WasSelected")
WAS_SELECTED("WasSelected"),
@XmlEnumValue("WasVisited")
WAS_VISITED("WasVisited");
private final String value;
FlowComparisonOperator(String v) {
value = v;
}
public String value() {
return value;
}
public static FlowComparisonOperator fromValue(String v) {
for (FlowComparisonOperator c: FlowComparisonOperator.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}