Enum Constant and Description |
---|
BASIC
All records that match the current filter are fetched.
|
LOCAL
All records available from the DataSource are fetched.
|
PAGED
Only requested ranges of records are fetched, with predictive fetch ahead.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static FetchMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FetchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FetchMode BASIC
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "basic".
public static final FetchMode PAGED
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "paged".
public static final FetchMode LOCAL
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "local".
public static FetchMode[] values()
for (FetchMode c : FetchMode.values()) System.out.println(c);
public static FetchMode 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