类 FilterSourceImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
-
- org.hibernate.boot.model.source.internal.hbm.FilterSourceImpl
-
- 所有已实现的接口:
FilterSource
public class FilterSourceImpl extends AbstractHbmSourceNode implements FilterSource
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 FilterSourceImpl(MappingDocument mappingDocument, JaxbHbmFilterType filterElement)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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?-
从类继承的方法 org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
-
-
-
构造器详细资料
-
FilterSourceImpl
public FilterSourceImpl(MappingDocument mappingDocument, JaxbHbmFilterType filterElement)
-
-
方法详细资料
-
getName
public String getName()
从接口复制的说明:FilterSourceGet the name of the filter being described.- 指定者:
getName在接口中FilterSource- 返回:
- The name.
-
getCondition
public String getCondition()
从接口复制的说明:FilterSourceGet the condition associated with the filter. Can benullin the case of a filter described further by a "filter def" which contains the condition text.- 指定者:
getCondition在接口中FilterSource- 返回:
- The condition defined on the filter.
- 另请参阅:
getCondition()
-
shouldAutoInjectAliases
public boolean shouldAutoInjectAliases()
从接口复制的说明:FilterSourceShould Hibernate perform automatic alias injection into the supplied condition string? The default is to perform auto injection *unless* explicit alias(es) are supplied.- 指定者:
shouldAutoInjectAliases在接口中FilterSource- 返回:
trueindicates auto injection should occur;falsethat it should not
-
getAliasToTableMap
public Map<String,String> getAliasToTableMap()
从接口复制的说明:FilterSourceGet the map of explicit alias to table name mappings.- 指定者:
getAliasToTableMap在接口中FilterSource- 返回:
- The alias to table map
-
getAliasToEntityMap
public Map<String,String> getAliasToEntityMap()
从接口复制的说明:FilterSourceGet the map of explicit alias to entity name mappings.- 指定者:
getAliasToEntityMap在接口中FilterSource- 返回:
- The alias to entity map
-
-