public static enum FDBRecordStoreBase.VersionstampSaveBehavior extends Enum<FDBRecordStoreBase.VersionstampSaveBehavior>
FDBRecordStoreBase.saveRecord(Message, FDBRecordVersion, VersionstampSaveBehavior)
),
directs the behavior of the save w.r.t. the record's version.
In the presence of a version, either DEFAULT
or WITH_VERSION
can be used.
For safety, NO_VERSION
should only be used with a null version.Enum Constant and Description |
---|
DEFAULT |
NO_VERSION |
WITH_VERSION |
Modifier and Type | Method and Description |
---|---|
static FDBRecordStoreBase.VersionstampSaveBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FDBRecordStoreBase.VersionstampSaveBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FDBRecordStoreBase.VersionstampSaveBehavior DEFAULT
public static final FDBRecordStoreBase.VersionstampSaveBehavior NO_VERSION
public static final FDBRecordStoreBase.VersionstampSaveBehavior WITH_VERSION
public static FDBRecordStoreBase.VersionstampSaveBehavior[] values()
for (FDBRecordStoreBase.VersionstampSaveBehavior c : FDBRecordStoreBase.VersionstampSaveBehavior.values()) System.out.println(c);
public static FDBRecordStoreBase.VersionstampSaveBehavior 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 null