public static final class Example.AllPropertySelector extends Object implements Example.PropertySelector
Modifier and Type | Field and Description |
---|---|
static Example.AllPropertySelector |
INSTANCE
Singleton access
|
Constructor and Description |
---|
AllPropertySelector() |
Modifier and Type | Method and Description |
---|---|
boolean |
include(Object object,
String propertyName,
Type type)
Determine whether the given property should be used in the criteria.
|
public static final Example.AllPropertySelector INSTANCE
public boolean include(Object object, String propertyName, Type type)
Example.PropertySelector
include
in interface Example.PropertySelector
object
- 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 © 2017 JBoss by Red Hat. All rights reserved.