public enum ClassPersistenceModifier extends Enum<ClassPersistenceModifier>
Enum Constant and Description |
---|
NON_PERSISTENT |
PERSISTENCE_AWARE |
PERSISTENCE_CAPABLE |
Modifier and Type | Method and Description |
---|---|
static ClassPersistenceModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassPersistenceModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassPersistenceModifier PERSISTENCE_CAPABLE
public static final ClassPersistenceModifier PERSISTENCE_AWARE
public static final ClassPersistenceModifier NON_PERSISTENT
public static ClassPersistenceModifier[] values()
for (ClassPersistenceModifier c : ClassPersistenceModifier.values()) System.out.println(c);
public static ClassPersistenceModifier 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 nullCopyright © 2005–1970 Apache Software Foundation. All rights reserved.