Package org.hibernate.engine.spi
Class FilterDefinition
- java.lang.Object
-
- org.hibernate.engine.spi.FilterDefinition
-
- All Implemented Interfaces:
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).- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultFilterCondition()
String
getFilterName()
Get the name of the filter this configuration defines.Set<String>
getParameterNames()
Get a set of the parameters defined by this configuration.Type
getParameterType(String parameterName)
Retrieve the type of the named parameter defined for this filter.Map<String,Type>
getParameterTypes()
-
-
-
Method Detail
-
getFilterName
public String getFilterName()
Get the name of the filter this configuration defines.- Returns:
- The filter name for this configuration.
-
getParameterNames
public Set<String> getParameterNames()
Get a set of the parameters defined by this configuration.- Returns:
- The parameters named by this configuration.
-
getParameterType
public Type getParameterType(String parameterName)
Retrieve 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.
-
getDefaultFilterCondition
public String getDefaultFilterCondition()
-
-