public enum EnumTranslateStrategy extends java.lang.Enum<EnumTranslateStrategy> implements ValueEnum
| Enum Constant and Description | 
|---|
BEAN
Translates to/from a Javascript object containing one property for each property defined  within the enum. 
 | 
NAME
Translates to/from a String matching the constant name. 
 | 
ORDINAL
Translates to/from an integer matching the ordinal number of the constant within  the enumeration 
 | 
STRING
Translates to/from a String matching the  
enum.toString(). | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getValue()  | 
static EnumTranslateStrategy | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static EnumTranslateStrategy[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final EnumTranslateStrategy NAME
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "name".
public static final EnumTranslateStrategy STRING
enum.toString().
 
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "string".
public static final EnumTranslateStrategy ORDINAL
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "ordinal".
public static final EnumTranslateStrategy BEAN
DataSource.enumOrdinalProperty and DataSource.enumConstantProperty properties
 
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "bean".
public static EnumTranslateStrategy[] values()
for (EnumTranslateStrategy c : EnumTranslateStrategy.values()) System.out.println(c);
public static EnumTranslateStrategy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null