org.hibernate.engine
Class FilterDefinition
java.lang.Object
org.hibernate.engine.FilterDefinition
- Serializable
public class FilterDefinition
extends java.lang.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).
FilterDefinition(String name, String defaultCondition, Map parameterTypes) - Construct a new FilterDefinition instance.
|
FilterDefinition
public FilterDefinition(String name,
String defaultCondition,
Map parameterTypes)
Construct a new FilterDefinition instance.
name
- The name of the filter for which this configuration is in effect.
getDefaultFilterCondition
public String getDefaultFilterCondition()
getFilterName
public String getFilterName()
Get the name of the filter this configuration defines.
- The filter name for this configuration.
getParameterNames
public Set getParameterNames()
Get a set of the parameters defined by this configuration.
- The parameters named by this configuration.
getParameterType
public Type getParameterType(String parameterName)
Retreive 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.
getParameterTypes
public Map getParameterTypes()