public enum OutputWhen extends java.lang.Enum<OutputWhen> implements ValueEnum
| Enum Constant and Description |
|---|
NEVER Field is never delivered, unless explicitly included in OperationBinding.outputs. |
SINGLE |
WHENPRESENT |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String | getValue() |
static OutputWhen | valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static OutputWhen[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final OutputWhen NEVER
OperationBinding.outputs. If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "never".
public static final OutputWhen SINGLE
fetch operation by primary key or as cache sync data after update or add operations. In both cases single record is expected to be returned. If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "single".
public static final OutputWhen WHENPRESENT
update or add operations only if the client seems to already have it for that record, i.e. it was present in submitted values. If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "whenPresent".
public static OutputWhen[] values()
for (OutputWhen c : OutputWhen.values()) System.out.println(c);
public static OutputWhen 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