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, sourceMappingDocument
public FilterSourceImpl(MappingDocument mappingDocument, JaxbHbmFilterType filterElement)
public String getName()
FilterSource
getName
in interface FilterSource
public 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 Map<String,String> getAliasToTableMap()
FilterSource
getAliasToTableMap
in interface FilterSource
public Map<String,String> getAliasToEntityMap()
FilterSource
getAliasToEntityMap
in interface FilterSource
Copyright © 2017 JBoss by Red Hat. All rights reserved.