public enum AssociationStorageStrategy extends Enum<AssociationStorageStrategy>
AssociationKind as
well as the AssociationStorageType and AssociationDocumentStorageType options.| Enum Constant and Description |
|---|
COLLECTION_PER_ASSOCIATION |
GLOBAL_COLLECTION |
IN_ENTITY |
| Modifier and Type | Method and Description |
|---|---|
static AssociationStorageStrategy |
getInstance(AssociationKeyMetadata keyMetadata,
AssociationStorageType associationStorage,
AssociationDocumentStorageType associationDocumentStorage) |
static AssociationStorageStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssociationStorageStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssociationStorageStrategy IN_ENTITY
public static final AssociationStorageStrategy GLOBAL_COLLECTION
public static final AssociationStorageStrategy COLLECTION_PER_ASSOCIATION
public static AssociationStorageStrategy[] values()
for (AssociationStorageStrategy c : AssociationStorageStrategy.values()) System.out.println(c);
public static AssociationStorageStrategy 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 nullpublic static AssociationStorageStrategy getInstance(AssociationKeyMetadata keyMetadata, AssociationStorageType associationStorage, AssociationDocumentStorageType associationDocumentStorage)
Copyright © 2010–2016 Hibernate. All rights reserved.