public enum AssociationStorage extends Enum<AssociationStorage>
| Enum Constant and Description |
|---|
COLLECTION
Store the association in a dedicated MongoDB collection per association
|
GLOBAL_COLLECTION
Store the association info in a unique MongoDB collection for all associations
|
IN_ENTITY
Store association information from within the entity
|
| Modifier and Type | Method and Description |
|---|---|
static AssociationStorage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssociationStorage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssociationStorage GLOBAL_COLLECTION
public static final AssociationStorage COLLECTION
public static final AssociationStorage IN_ENTITY
public static AssociationStorage[] values()
for (AssociationStorage c : AssociationStorage.values()) System.out.println(c);
public static AssociationStorage 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 © 2010-2013 Hibernate. All Rights Reserved.