All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.tooling.FieldUpdateOperation Maven / Gradle / Ivy

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 FieldUpdateOperation. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="FieldUpdateOperation">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="Formula"/>
 *     <enumeration value="Literal"/>
 *     <enumeration value="Null"/>
 *     <enumeration value="NextValue"/>
 *     <enumeration value="PreviousValue"/>
 *     <enumeration value="LookupValue"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "FieldUpdateOperation") @XmlEnum public enum FieldUpdateOperation { @XmlEnumValue("Formula") FORMULA("Formula"), @XmlEnumValue("Literal") LITERAL("Literal"), @XmlEnumValue("Null") NULL("Null"), @XmlEnumValue("NextValue") NEXT_VALUE("NextValue"), @XmlEnumValue("PreviousValue") PREVIOUS_VALUE("PreviousValue"), @XmlEnumValue("LookupValue") LOOKUP_VALUE("LookupValue"); private final String value; FieldUpdateOperation(String v) { value = v; } public String value() { return value; } public static FieldUpdateOperation fromValue(String v) { for (FieldUpdateOperation c: FieldUpdateOperation.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy