com.sforce.soap.tooling.SummaryOperations 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 SummaryOperations.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="SummaryOperations">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="count"/>
* <enumeration value="sum"/>
* <enumeration value="min"/>
* <enumeration value="max"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "SummaryOperations")
@XmlEnum
public enum SummaryOperations {
@XmlEnumValue("count")
COUNT("count"),
@XmlEnumValue("sum")
SUM("sum"),
@XmlEnumValue("min")
MIN("min"),
@XmlEnumValue("max")
MAX("max");
private final String value;
SummaryOperations(String v) {
value = v;
}
public String value() {
return value;
}
public static SummaryOperations fromValue(String v) {
for (SummaryOperations c: SummaryOperations.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}