public static final class Example.NotNullOrZeroPropertySelector extends Object implements Example.PropertySelector
null
and non-zero (if numeric)Modifier and Type | Field and Description |
---|---|
static Example.NotNullOrZeroPropertySelector |
INSTANCE
Singleton access
|
Constructor and Description |
---|
Example.NotNullOrZeroPropertySelector() |
public static final Example.NotNullOrZeroPropertySelector INSTANCE
public Example.NotNullOrZeroPropertySelector()
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 © 2001-2015 Red Hat, Inc. All Rights Reserved.