注释类型 Filter
-
@Target({TYPE,METHOD,FIELD}) @Retention(RUNTIME) @Repeatable(Filters.class) public @interface Filter
Add filters to an entity or a target entity of a collection.- 作者:
- Emmanuel Bernard, Matthew Inger, Magnus Sandberg, Rob Worsnop
-
-
可选元素概要
可选元素 修饰符和类型 可选元素 说明 SqlFragmentAlias[]aliasesThe alias descriptors for injection.StringconditionThe filter condition.booleandeduceAliasInjectionPointsIf true, automatically determine all points within the condition fragment that an alias should be injected.
-
-
-
元素详细资料
-
name
String name
The filter name.
-
-
-
deduceAliasInjectionPoints
boolean deduceAliasInjectionPoints
If true, automatically determine all points within the condition fragment that an alias should be injected. Otherwise, injection will only replace instances of explicit "{alias}" instances orSqlFragmentAliasdescriptors.- 默认值:
- true
-
-
-
aliases
SqlFragmentAlias[] aliases
The alias descriptors for injection.- 默认值:
- {}
-
-