com.sforce.soap.metadata.WebLinkDisplayType Maven / Gradle / Ivy
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 WebLinkDisplayType {
/**
* Enumeration : link
*/
link("link"),
/**
* Enumeration : button
*/
button("button"),
/**
* Enumeration : massActionButton
*/
massActionButton("massActionButton"),
;
public static Map valuesToEnums;
static {
valuesToEnums = new HashMap();
for (WebLinkDisplayType e : EnumSet.allOf(WebLinkDisplayType.class)) {
valuesToEnums.put(e.toString(), e.name());
}
}
private String value;
private WebLinkDisplayType(String value) {
this.value = value;
}
@Override
public String toString() {
return value;
}
}