Package org.hibernate.criterion
Class Example.AllPropertySelector
- java.lang.Object
-
- org.hibernate.criterion.Example.AllPropertySelector
-
- All Implemented Interfaces:
Serializable,Example.PropertySelector
- Enclosing class:
- Example
public static final class Example.AllPropertySelector extends Object implements Example.PropertySelector
Property selector that includes all properties- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Example.AllPropertySelectorINSTANCESingleton access
-
Constructor Summary
Constructors Constructor Description AllPropertySelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleaninclude(Object object, String propertyName, Type type)Determine whether the given property should be used in the criteria.
-
-
-
Field Detail
-
INSTANCE
public static final Example.AllPropertySelector INSTANCE
Singleton access
-
-
Method Detail
-
include
public boolean include(Object object, String propertyName, Type type)
Description copied from interface:Example.PropertySelectorDetermine whether the given property should be used in the criteria.- Specified by:
includein interfaceExample.PropertySelector- Parameters:
object- The property value (from the example bean)propertyName- The name of the propertytype- The type of the property- Returns:
trueindicates the property should be included;falseindicates it should not.
-
-