Class FilterSourceImpl

java.lang.Object
org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
org.hibernate.boot.model.source.internal.hbm.FilterSourceImpl
All Implemented Interfaces:
FilterSource

public class FilterSourceImpl extends AbstractHbmSourceNode implements FilterSource
Author:
Steve Ebersole
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: FilterSource
      Get the name of the filter being described.
      Specified by:
      getName in interface FilterSource
      Returns:
      The name.
    • getCondition

      public String getCondition()
      Description copied from interface: FilterSource
      Get the condition associated with the filter. Can be null in the case of a filter described further by a "filter def" which contains the condition text.
      Specified by:
      getCondition in interface FilterSource
      Returns:
      The condition defined on the filter.
      See Also:
    • shouldAutoInjectAliases

      public boolean shouldAutoInjectAliases()
      Description copied from interface: FilterSource
      Should Hibernate perform automatic alias injection into the supplied condition string? The default is to perform auto injection *unless* explicit alias(es) are supplied.
      Specified by:
      shouldAutoInjectAliases in interface FilterSource
      Returns:
      true indicates auto injection should occur; false that it should not
    • getAliasToTableMap

      public Map<String,String> getAliasToTableMap()
      Description copied from interface: FilterSource
      Get the map of explicit alias to table name mappings.
      Specified by:
      getAliasToTableMap in interface FilterSource
      Returns:
      The alias to table map
    • getAliasToEntityMap

      public Map<String,String> getAliasToEntityMap()
      Description copied from interface: FilterSource
      Get the map of explicit alias to entity name mappings.
      Specified by:
      getAliasToEntityMap in interface FilterSource
      Returns:
      The alias to entity map