Package org.hibernate.ogm.datastore.document.options

Examples of org.hibernate.ogm.datastore.document.options.AssociationStorageType


    }
  }

  @Override
  public boolean isStoredInEntityStructure(AssociationKeyMetadata associationKeyMetadata, AssociationTypeContext associationTypeContext) {
    AssociationStorageType associationStorage = associationTypeContext
        .getOptionsContext()
        .getUnique( AssociationStorageOption.class );

    return associationKeyMetadata.getAssociationKind() == AssociationKind.EMBEDDED_COLLECTION ||
        associationStorage == AssociationStorageType.IN_ENTITY;
View Full Code Here


   * Returns the {@link AssociationStorageStrategy} effectively applying for the given association. If a setting is
   * given via the option mechanism, that one will be taken, otherwise the default value as given via the
   * corresponding configuration property is applied.
   */
  private AssociationStorageStrategy getAssociationStorageStrategy(AssociationKeyMetadata keyMetadata, AssociationTypeContext associationTypeContext) {
    AssociationStorageType associationStorage = associationTypeContext
        .getOptionsContext()
        .getUnique( AssociationStorageOption.class );

    AssociationDocumentType associationDocumentType = associationTypeContext
        .getOptionsContext()
View Full Code Here

    return new Tuple();
  }

  @Override
  public boolean isStoredInEntityStructure(AssociationKey associationKey, AssociationContext associationContext) {
    AssociationStorageType associationStorage = associationContext
        .getOptionsContext()
        .getUnique( AssociationStorageOption.class );

    return associationKey.getAssociationKind() == AssociationKind.EMBEDDED_COLLECTION ||
        associationStorage == AssociationStorageType.IN_ENTITY;
View Full Code Here

   * Returns the {@link AssociationStorageStrategy} effectively applying for the given association. If a setting is
   * given via the option mechanism, that one will be taken, otherwise the default value as given via the
   * corresponding configuration property is applied.
   */
  private AssociationStorageStrategy getAssociationStorageStrategy(AssociationKey key, AssociationContext associationContext) {
    AssociationStorageType associationStorage = associationContext
        .getOptionsContext()
        .getUnique( AssociationStorageOption.class );

    AssociationDocumentType associationDocumentType = associationContext
        .getOptionsContext()
View Full Code Here

    return new Tuple();
  }

  @Override
  public boolean isStoredInEntityStructure(AssociationKey associationKey, AssociationContext associationContext) {
    AssociationStorageType associationStorage = associationContext
        .getOptionsContext()
        .getUnique( AssociationStorageOption.class );

    return associationKey.getAssociationKind() == AssociationKind.EMBEDDED_COLLECTION ||
        associationStorage == AssociationStorageType.IN_ENTITY;
View Full Code Here

   * Returns the {@link AssociationStorageStrategy} effectively applying for the given association. If a setting is
   * given via the option mechanism, that one will be taken, otherwise the default value as given via the
   * corresponding configuration property is applied.
   */
  private AssociationStorageStrategy getAssociationStorageStrategy(AssociationKey key, AssociationContext associationContext) {
    AssociationStorageType associationStorage = associationContext
        .getOptionsContext()
        .getUnique( AssociationStorageOption.class );

    AssociationDocumentType associationDocumentType = associationContext
        .getOptionsContext()
View Full Code Here

   * Returns the {@link AssociationStorageStrategy} effectively applying for the given association. If a setting is
   * given via the option mechanism, that one will be taken, otherwise the default value as given via the
   * corresponding configuration property is applied.
   */
  private AssociationStorageStrategy getAssociationStorageStrategy(AssociationKey key, AssociationContext associationContext) {
    AssociationStorageType associationStorage = associationContext
        .getOptionsContext()
        .getUnique( AssociationStorageOption.class );

    AssociationDocumentType associationDocumentType = associationContext
        .getOptionsContext()
View Full Code Here

   * Returns the {@link AssociationStorageStrategy} effectively applying for the given association. If a setting is
   * given via the option mechanism, that one will be taken, otherwise the default value as given via the
   * corresponding configuration property is applied.
   */
  private AssociationStorageStrategy getAssociationStorageStrategy(AssociationKey key, AssociationContext associationContext) {
    AssociationStorageType associationStorage = associationContext
        .getOptionsContext()
        .getUnique( AssociationStorageOption.class );

    AssociationDocumentType associationDocumentType = associationContext
        .getOptionsContext()
View Full Code Here

   * Returns the {@link AssociationStorageStrategy} effectively applying for the given association. If a setting is
   * given via the option mechanism, that one will be taken, otherwise the default value as given via the
   * corresponding configuration property is applied.
   */
  private AssociationStorageStrategy getAssociationStorageStrategy(AssociationKey key, AssociationContext associationContext) {
    AssociationStorageType associationStorage = associationContext
        .getOptionsContext()
        .getUnique( AssociationStorageOption.class );

    AssociationDocumentType associationDocumentType = associationContext
        .getOptionsContext()
View Full Code Here

    return new Tuple();
  }

  @Override
  public boolean isStoredInEntityStructure(AssociationKey associationKey, AssociationContext associationContext) {
    AssociationStorageType associationStorage = associationContext
        .getOptionsContext()
        .getUnique( AssociationStorageOption.class );

    return associationKey.getAssociationKind() == AssociationKind.EMBEDDED_COLLECTION ||
        associationStorage == AssociationStorageType.IN_ENTITY;
View Full Code Here

TOP

Related Classes of org.hibernate.ogm.datastore.document.options.AssociationStorageType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.