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