com.sforce.soap.metadata.FieldUpdateOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of force-metadata-api Show documentation
Show all versions of force-metadata-api Show documentation
Force.com Web Service Connector
package com.sforce.soap.metadata;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
/**
* This is a generated class for the SObject Enterprise API.
* Do not edit this file, as your changes will be lost.
*/
public enum FieldUpdateOperation {
/**
* Enumeration : Formula
*/
Formula("Formula"),
/**
* Enumeration : Literal
*/
Literal("Literal"),
/**
* Enumeration : Null
*/
Null("Null"),
/**
* Enumeration : NextValue
*/
NextValue("NextValue"),
/**
* Enumeration : PreviousValue
*/
PreviousValue("PreviousValue"),
/**
* Enumeration : LookupValue
*/
LookupValue("LookupValue"),
;
public static Map valuesToEnums;
static {
valuesToEnums = new HashMap();
for (FieldUpdateOperation e : EnumSet.allOf(FieldUpdateOperation.class)) {
valuesToEnums.put(e.toString(), e.name());
}
}
private String value;
private FieldUpdateOperation(String value) {
this.value = value;
}
@Override
public String toString() {
return value;
}
}