public class FilterSourceImpl extends AbstractHbmSourceNode implements FilterSource
| Constructor and Description |
|---|
FilterSourceImpl(MappingDocument mappingDocument,
JaxbHbmFilterType filterElement) |
| Modifier and Type | Method and 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.
|
String |
getCondition()
Get the condition associated with the filter.
|
String |
getName()
Get the name of the filter being described.
|
boolean |
shouldAutoInjectAliases()
Should Hibernate perform automatic alias injection into the supplied condition string? The default it to
perform auto injection *unless* explicit alias(es) are supplied.
|
mappingRoot, metadataBuildingContext, origin, sourceMappingDocumentpublic FilterSourceImpl(MappingDocument mappingDocument, JaxbHbmFilterType filterElement)
public String getName()
FilterSourcegetName in interface FilterSourcepublic String getCondition()
FilterSourcenull in the case of a filter described
further by a "filter def" which contains the condition text.getCondition in interface FilterSourceFilterDefinitionSource#getCondition()}public boolean shouldAutoInjectAliases()
FilterSourceshouldAutoInjectAliases in interface FilterSourcetrue indicates auto injection should occur; false that it should notpublic Map<String,String> getAliasToTableMap()
FilterSourcegetAliasToTableMap in interface FilterSourcepublic Map<String,String> getAliasToEntityMap()
FilterSourcegetAliasToEntityMap in interface FilterSourceCopyright © 2018 JBoss by Red Hat. All rights reserved.