public class

FilterDefinition

extends Object
implements Serializable
java.lang.Object
   ↳ org.hibernate.engine.FilterDefinition

Class Overview

A FilterDefinition defines the global attributes of a dynamic filter. This information includes its name as well as its defined parameters (name and type).

Summary

Public Constructors
FilterDefinition(String name, String defaultCondition, Map parameterTypes)
Construct a new FilterDefinition instance.
Public Methods
String getDefaultFilterCondition()
String getFilterName()
Get the name of the filter this configuration defines.
Set getParameterNames()
Get a set of the parameters defined by this configuration.
Type getParameterType(String parameterName)
Retreive the type of the named parameter defined for this filter.
Map getParameterTypes()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FilterDefinition (String name, String defaultCondition, Map parameterTypes)

Construct a new FilterDefinition instance.

Parameters
name The name of the filter for which this configuration is in effect.

Public Methods

public String getDefaultFilterCondition ()

public String getFilterName ()

Get the name of the filter this configuration defines.

Returns
  • The filter name for this configuration.

public Set getParameterNames ()

Get a set of the parameters defined by this configuration.

Returns
  • The parameters named by this configuration.

public Type getParameterType (String parameterName)

Retreive the type of the named parameter defined for this filter.

Parameters
parameterName The name of the filter parameter for which to return the type.
Returns
  • The type of the named parameter.

public Map getParameterTypes ()