Interface ImplicitNamingStrategy

    • Method Detail

      • determinePrimaryTableName

        Identifier determinePrimaryTableName​(ImplicitEntityNameSource source)
        Determine the implicit name of an entity's primary table.
        Parameters:
        source - The source information
        Returns:
        The implicit table name.
      • determineJoinTableName

        Identifier determineJoinTableName​(ImplicitJoinTableNameSource source)
        Determine the name of an association join table given the source naming information, when a name is not explicitly given.
        Parameters:
        source - The source information
        Returns:
        The implicit table name.
      • determineCollectionTableName

        Identifier determineCollectionTableName​(ImplicitCollectionTableNameSource source)
        Determine the name of a collection join table given the source naming information, when a name is not explicitly given.
        Parameters:
        source - The source information
        Returns:
        The implicit table name.
      • determineDiscriminatorColumnName

        Identifier determineDiscriminatorColumnName​(ImplicitDiscriminatorColumnNameSource source)
        Determine the implicit name for the discriminator column for the given entity
        Parameters:
        source - The source information
        Returns:
        The implicit discriminator column name
      • determineTenantIdColumnName

        Identifier determineTenantIdColumnName​(ImplicitTenantIdColumnNameSource source)
        Determine the implicit name for the tenant (multi-tenancy) identifier column for the given entity
        Parameters:
        source - The source information
        Returns:
        The determined tenant identifier column name
      • determineIdentifierColumnName

        Identifier determineIdentifierColumnName​(ImplicitIdentifierColumnNameSource source)
        Determine the implicit name for the identifier column for the given entity
        Parameters:
        source - The source information
        Returns:
        The determined identifier column name
      • determineBasicColumnName

        Identifier determineBasicColumnName​(ImplicitBasicColumnNameSource source)
        Determine the name of an attribute's column given the source naming information, when a name is not explicitly given.
        Parameters:
        source - The source information
        Returns:
        The implicit column name.
      • determineJoinColumnName

        Identifier determineJoinColumnName​(ImplicitJoinColumnNameSource source)
        Determine the column name related to JoinColumn. In hbm.xml terms, this would be a <key/> defined for a collection or the column associated with a many-to-one.
        Parameters:
        source - The source information
        Returns:
        The determined join column name
      • determinePrimaryKeyJoinColumnName

        Identifier determinePrimaryKeyJoinColumnName​(ImplicitPrimaryKeyJoinColumnNameSource source)
        Determine the column name related to PrimaryKeyJoinColumn. In hbm.xml terms, this would be a <key/> defined for a <join/> or a <joined-subclass/> (others?)
        Parameters:
        source - The source information
        Returns:
        The determined column name
      • determineAnyDiscriminatorColumnName

        Identifier determineAnyDiscriminatorColumnName​(ImplicitAnyDiscriminatorColumnNameSource source)
        Determine the column name related to the discriminator portion of an ANY mapping when no explicit column name is given.
        Parameters:
        source - The source information
        Returns:
        The determined column name
      • determineAnyKeyColumnName

        Identifier determineAnyKeyColumnName​(ImplicitAnyKeyColumnNameSource source)
        Determine the column name related to the key/id portion of an ANY mapping when no explicit column name is given.
        Parameters:
        source - The source information
        Returns:
        The determined identifier column name