类 FilterDefinition
- java.lang.Object
-
- org.hibernate.engine.spi.FilterDefinition
-
- 所有已实现的接口:
Serializable
public class FilterDefinition extends Object implements Serializable
A FilterDefinition defines the global attributes of a dynamic filter. This information includes its name as well as its defined parameters (name and type).- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetDefaultFilterCondition()StringgetFilterName()Get the name of the filter this configuration defines.Set<String>getParameterNames()Get a set of the parameters defined by this configuration.TypegetParameterType(String parameterName)Retrieve the type of the named parameter defined for this filter.Map<String,Type>getParameterTypes()
-
-
-
方法详细资料
-
getFilterName
public String getFilterName()
Get the name of the filter this configuration defines.- 返回:
- The filter name for this configuration.
-
getParameterNames
public Set<String> getParameterNames()
Get a set of the parameters defined by this configuration.- 返回:
- The parameters named by this configuration.
-
getParameterType
public Type getParameterType(String parameterName)
Retrieve the type of the named parameter defined for this filter.- 参数:
parameterName- The name of the filter parameter for which to return the type.- 返回:
- The type of the named parameter.
-
getDefaultFilterCondition
public String getDefaultFilterCondition()
-
-