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, sourceMappingDocument
public FilterSourceImpl(MappingDocument mappingDocument, JaxbHbmFilterType filterElement)
public java.lang.String getName()
FilterSource
getName
in interface FilterSource
public java.lang.String getCondition()
FilterSource
null
in the case of a filter described
further by a "filter def" which contains the condition text.getCondition
in interface FilterSource
FilterDefinitionSource#getCondition()}
public boolean shouldAutoInjectAliases()
FilterSource
shouldAutoInjectAliases
in interface FilterSource
true
indicates auto injection should occur; false
that it should notpublic java.util.Map<java.lang.String,java.lang.String> getAliasToTableMap()
FilterSource
getAliasToTableMap
in interface FilterSource
public java.util.Map<java.lang.String,java.lang.String> getAliasToEntityMap()
FilterSource
getAliasToEntityMap
in interface FilterSource
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.