public class FilterSourceImpl extends AbstractHbmSourceNode implements FilterSource
| Constructor and Description |
|---|
FilterSourceImpl(MappingDocument mappingDocument,
JaxbHbmFilterType filterElement) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAliasToEntityMap()
Get the map of explicit alias to entity name mappings.
|
java.util.Map<java.lang.String,java.lang.String> |
getAliasToTableMap()
Get the map of explicit alias to table name mappings.
|
java.lang.String |
getCondition()
Get the condition associated with the filter.
|
java.lang.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 java.lang.String getName()
FilterSourcegetName in interface FilterSourcepublic java.lang.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 java.util.Map<java.lang.String,java.lang.String> getAliasToTableMap()
FilterSourcegetAliasToTableMap in interface FilterSourcepublic java.util.Map<java.lang.String,java.lang.String> getAliasToEntityMap()
FilterSourcegetAliasToEntityMap in interface FilterSourceCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.