|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.engine.FilterDefinition
A FilterDefinition defines the global attributes of a dynamic filter. This information includes its name as well as its defined parameters (name and type).
Constructor Summary | |
FilterDefinition(String name)
Construct a new FilterDefinition instance. |
Method Summary | |
FilterDefinition |
addParameterType(String name,
Type type)
Add a named parameter to the filter definition. |
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()
|
void |
setDefaultFilterCondition(String defaultFilter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FilterDefinition(String name)
name
- The name of the filter for which this configuration is in effect.Method Detail |
public String getFilterName()
public Set getParameterNames()
public Type getParameterType(String parameterName)
parameterName
- The name of the filter parameter for which to return the type.
public FilterDefinition addParameterType(String name, Type type)
name
- The name of the parameter.type
- The parameter's type.
public String getDefaultFilterCondition()
public void setDefaultFilterCondition(String defaultFilter)
public Map getParameterTypes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |