public enum OrderCorrectionType extends java.lang.Enum<OrderCorrectionType>
OrderCorrection
,
CollectionMapping
Enum Constant and Description |
---|
EXCEPTION
Don't correct, throw QueryException with error code QueryException.LIST_ORDER_FIELD_WRONG_VALUE
Example: a list of three objects:
in the data base: {null, objectA}; {2, objectB}, {5, ObjectC};
read into application - exception.
|
READ
Order of the list read into application is corrected, but no knowledge
is kept about the invalid list order left in the data base.
|
READ_WRITE
Order of the list read into application is corrected, and remembered
that the invalid list order left in the data base.
|
Modifier and Type | Method and Description |
---|---|
static OrderCorrectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrderCorrectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderCorrectionType READ
public static final OrderCorrectionType READ_WRITE
public static final OrderCorrectionType EXCEPTION
public static OrderCorrectionType[] values()
for (OrderCorrectionType c : OrderCorrectionType.values()) System.out.println(c);
public static OrderCorrectionType 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