public enum AssociationDocumentStorageType extends Enum<AssociationDocumentStorageType>
| Enum Constant and Description |
|---|
COLLECTION_PER_ASSOCIATION
Stores the association in a dedicated MongoDB collection per association
|
GLOBAL_COLLECTION
Stores the association info in the same MongoDB collection for all associations
|
| Modifier and Type | Method and Description |
|---|---|
static AssociationDocumentStorageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssociationDocumentStorageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssociationDocumentStorageType GLOBAL_COLLECTION
public static final AssociationDocumentStorageType COLLECTION_PER_ASSOCIATION
public static AssociationDocumentStorageType[] values()
for (AssociationDocumentStorageType c : AssociationDocumentStorageType.values()) System.out.println(c);
public static AssociationDocumentStorageType 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–2017 Hibernate. All rights reserved.