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