public static interface Example.PropertySelector extends Serializable
A strategy for choosing property values for inclusion in the query criteria. Note that property selection (for inclusion) operates separately from excluding a property. Excluded properties are not even passed in to the PropertySelector for consideration.
| Modifier and Type | Method and Description |
|---|---|
boolean |
include(Object propertyValue,
String propertyName,
Type type)
Determine whether the given property should be used in the criteria.
|
boolean include(Object propertyValue, String propertyName, Type type)
Determine whether the given property should be used in the criteria.
propertyValue - The property value (from the example bean)propertyName - The name of the propertytype - The type of the propertytrue indicates the property should be included; false indiates it should not.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.