public enum PersistenceStrategy extends Enum<PersistenceStrategy>
Enum Constant and Description |
---|
BASIC |
ELEM_COLL |
EMBEDDED |
MANY_MANY |
MANY_ONE |
ONE_MANY |
ONE_ONE |
PERS |
PERS_COLL |
PERS_MAP |
TRANSIENT |
Modifier and Type | Method and Description |
---|---|
static PersistenceStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceStrategy BASIC
public static final PersistenceStrategy MANY_ONE
public static final PersistenceStrategy ONE_MANY
public static final PersistenceStrategy ONE_ONE
public static final PersistenceStrategy MANY_MANY
public static final PersistenceStrategy ELEM_COLL
public static final PersistenceStrategy EMBEDDED
public static final PersistenceStrategy TRANSIENT
public static final PersistenceStrategy PERS
public static final PersistenceStrategy PERS_COLL
public static final PersistenceStrategy PERS_MAP
public static PersistenceStrategy[] values()
for (PersistenceStrategy c : PersistenceStrategy.values()) System.out.println(c);
public static PersistenceStrategy 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 © 2006–2020 Apache Software Foundation. All rights reserved.