public enum FieldPersistenceModifier extends Enum<FieldPersistenceModifier>
Enum Constant and Description |
---|
DEFAULT |
NONE |
PERSISTENT |
TRANSACTIONAL |
Modifier and Type | Method and Description |
---|---|
static FieldPersistenceModifier |
getFieldPersistenceModifier(String value)
Return FieldPersistenceModifier from String.
|
static FieldPersistenceModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldPersistenceModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldPersistenceModifier PERSISTENT
public static final FieldPersistenceModifier TRANSACTIONAL
public static final FieldPersistenceModifier NONE
public static final FieldPersistenceModifier DEFAULT
public static FieldPersistenceModifier[] values()
for (FieldPersistenceModifier c : FieldPersistenceModifier.values()) System.out.println(c);
public static FieldPersistenceModifier 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 static FieldPersistenceModifier getFieldPersistenceModifier(String value)
value
- persistence-modifier attribute valueCopyright © 2019. All rights reserved.