datai/docs/reference-code/com/sforce/soap/metadata/PromptElementRelativePosition.java

108 lines
1.5 KiB
Java
Raw Normal View History

2026-01-22 10:52:30 +08:00
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 PromptElementRelativePosition {
/**
* Enumeration : TopLeft
*/
TopLeft("TopLeft"),
/**
* Enumeration : TopCenter
*/
TopCenter("TopCenter"),
/**
* Enumeration : TopRight
*/
TopRight("TopRight"),
/**
* Enumeration : LeftTop
*/
LeftTop("LeftTop"),
/**
* Enumeration : LeftCenter
*/
LeftCenter("LeftCenter"),
/**
* Enumeration : LeftBottom
*/
LeftBottom("LeftBottom"),
/**
* Enumeration : RightTop
*/
RightTop("RightTop"),
/**
* Enumeration : RightCenter
*/
RightCenter("RightCenter"),
/**
* Enumeration : RightBottom
*/
RightBottom("RightBottom"),
/**
* Enumeration : BottomLeft
*/
BottomLeft("BottomLeft"),
/**
* Enumeration : BottomCenter
*/
BottomCenter("BottomCenter"),
/**
* Enumeration : BottomRight
*/
BottomRight("BottomRight"),
;
public static Map<String, String> valuesToEnums;
static {
valuesToEnums = new HashMap<String, String>();
for (PromptElementRelativePosition e : EnumSet.allOf(PromptElementRelativePosition.class)) {
valuesToEnums.put(e.toString(), e.name());
}
}
private String value;
private PromptElementRelativePosition(String value) {
this.value = value;
}
@Override
public String toString() {
return value;
}
}