Interface FilterSource
- All Known Implementing Classes:
FilterSourceImpl
public interfaceFilterSourceDefines the source of filter information. May have an associatedFilterDefinition. Relates to both<filter/>and@Filter
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>getAliasToEntityMap()Get the map of explicit alias to entity name mappings.Map<String,String>getAliasToTableMap()Get the map of explicit alias to table name mappings.StringgetCondition()Get the condition associated with the filter.StringgetName()Get the name of the filter being described.booleanshouldAutoInjectAliases()Should Hibernate perform automatic alias injection into the supplied condition string? The default is to perform auto injection *unless* explicit alias(es) are supplied.
Method Detail
getName
String getName()
Get the name of the filter being described.- Returns:
- The name.
getCondition
String getCondition()
Get the condition associated with the filter. Can benullin the case of a filter described further by a "filter def" which contains the condition text.- Returns:
- The condition defined on the filter.
- See Also:
FilterSourceImpl.getCondition()
shouldAutoInjectAliases
boolean shouldAutoInjectAliases()
Should Hibernate perform automatic alias injection into the supplied condition string? The default is to perform auto injection *unless* explicit alias(es) are supplied.- Returns:
trueindicates auto injection should occur;falsethat it should not
getAliasToTableMap
Map<String,String> getAliasToTableMap()
Get the map of explicit alias to table name mappings.- Returns:
- The alias to table map