public enum SaveAction extends Enum<SaveAction>
Java class for SaveAction.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SaveAction">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="AddOnly"/>
<enumeration value="Default"/>
<enumeration value="Nothing"/>
<enumeration value="UpdateAdd"/>
<enumeration value="UpdateOnly"/>
<enumeration value="Delete"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ADD_ONLY |
DEFAULT |
DELETE |
NOTHING |
UPDATE_ADD |
UPDATE_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static SaveAction |
fromValue(String v) |
String |
value() |
static SaveAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaveAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaveAction ADD_ONLY
public static final SaveAction DEFAULT
public static final SaveAction NOTHING
public static final SaveAction UPDATE_ADD
public static final SaveAction UPDATE_ONLY
public static final SaveAction DELETE
public static SaveAction[] values()
for (SaveAction c : SaveAction.values()) System.out.println(c);
public static SaveAction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static SaveAction fromValue(String v)
Copyright © 2017. All rights reserved.