public enum ClassPersistenceModifier extends Enum<ClassPersistenceModifier>
Enum Constant and Description |
---|
NON_PERSISTENT |
PERSISTENCE_AWARE |
PERSISTENCE_CAPABLE |
Modifier and Type | Method and Description |
---|---|
static ClassPersistenceModifier |
getClassPersistenceModifier(String value)
Return ClassPersistenceModifier from String.
|
String |
toString() |
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 nullpublic String toString()
toString
in class Enum<ClassPersistenceModifier>
public static ClassPersistenceModifier getClassPersistenceModifier(String value)
value
- persistence-modifier attribute valueCopyright © 2019. All rights reserved.