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