public enum MultipleFieldStorage extends java.lang.Enum<MultipleFieldStorage> implements ValueEnum
multiple:true. See DataSourceField.multipleStorage.| Enum Constant and Description |
|---|
JSON
values are serialized to JSON.
|
NONE
no transformation is applied to values; server-side field value remains a Java List when passed to the
execute(Fetch|Add|Update|Remove) method of the server-side DataSource class
|
SIMPLESTRING
values are saved as a simple delimeter-separated string.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static MultipleFieldStorage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MultipleFieldStorage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultipleFieldStorage SIMPLESTRING
DataSourceField.multipleStorageSeparator. An
empty array is stored as "", and null as the database null value.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "simpleString".
public static final MultipleFieldStorage JSON
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "json".
public static final MultipleFieldStorage NONE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "none".
public static MultipleFieldStorage[] values()
for (MultipleFieldStorage c : MultipleFieldStorage.values()) System.out.println(c);
public static MultipleFieldStorage 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