public enum AssociationStorageType extends Enum<AssociationStorageType>
| 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 AssociationStorageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssociationStorageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssociationStorageType GLOBAL_COLLECTION
public static final AssociationStorageType COLLECTION
public static final AssociationStorageType IN_ENTITY
public static AssociationStorageType[] values()
for (AssociationStorageType c : AssociationStorageType.values()) System.out.println(c);
public static AssociationStorageType 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.