public class AssociationStorageStrategy extends Object
AssociationKind as
well as the AssociationStorageType and AssociationDocumentType options.| Modifier and Type | Method and Description |
|---|---|
static AssociationStorageStrategy |
getInstance(AssociationKind associationKind,
AssociationStorageType associationStorage,
AssociationDocumentType associationDocumentStorage) |
boolean |
isCollectionPerAssociation() |
boolean |
isEmbeddedInEntity()
Whether the given association is to be stored embedded within the document of the owning entity.
|
boolean |
isGlobalCollection() |
public static AssociationStorageStrategy getInstance(AssociationKind associationKind, AssociationStorageType associationStorage, AssociationDocumentType associationDocumentStorage)
public boolean isEmbeddedInEntity()
AssociationStorageType and AssociationDocumentType options.true if this association is to be stored embedded within the document of the owning entity,
false otherwise.public boolean isGlobalCollection()
public boolean isCollectionPerAssociation()
Copyright © 2010-2014 Hibernate. All Rights Reserved.