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
- Author:
- Steve Ebersole
-
Constructor Summary
ConstructorsConstructorDescriptionFilterSourceImpl(MappingDocument mappingDocument, JaxbHbmFilterType filterElement) -
Method Summary
Modifier and TypeMethodDescriptionGet the map of explicit alias to entity name mappings.Get the map of explicit alias to table name mappings.Get the condition associated with the filter.getName()Get the name of the filter being described.booleanShould Hibernate perform automatic alias injection into the supplied condition string?Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
Constructor Details
-
FilterSourceImpl
-
-
Method Details
-
getName
Description copied from interface:FilterSourceGet the name of the filter being described.- Specified by:
getNamein interfaceFilterSource- Returns:
- The name.
-
getCondition
Description copied from interface:FilterSourceGet the condition associated with the filter. Can benullin the case of a filter described further by a "filter def" which contains the condition text.- Specified by:
getConditionin interfaceFilterSource- Returns:
- The condition defined on the filter.
- See Also:
-
shouldAutoInjectAliases
public boolean shouldAutoInjectAliases()Description copied from interface:FilterSourceShould 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:
shouldAutoInjectAliasesin interfaceFilterSource- Returns:
trueindicates auto injection should occur;falsethat it should not
-
getAliasToTableMap
Description copied from interface:FilterSourceGet the map of explicit alias to table name mappings.- Specified by:
getAliasToTableMapin interfaceFilterSource- Returns:
- The alias to table map
-
getAliasToEntityMap
Description copied from interface:FilterSourceGet the map of explicit alias to entity name mappings.- Specified by:
getAliasToEntityMapin interfaceFilterSource- Returns:
- The alias to entity map
-