![JAR search and dependency download from the Maven repository](/logo.png)
com.sforce.soap.partner.SoqlConjunction Maven / Gradle / Ivy
package com.sforce.soap.partner;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for soqlConjunction.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="soqlConjunction">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="and"/>
* <enumeration value="or"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "soqlConjunction")
@XmlEnum
public enum SoqlConjunction {
@XmlEnumValue("and")
AND("and"),
@XmlEnumValue("or")
OR("or");
private final String value;
SoqlConjunction(String v) {
value = v;
}
public String value() {
return value;
}
public static SoqlConjunction fromValue(String v) {
for (SoqlConjunction c: SoqlConjunction.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy