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