public final class FilteringHelper extends Object
Modifier and Type | Field and Description |
---|---|
static Annotation[] |
EMPTY_ANNOTATIONS
Empty annotation array.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
filterableEntityClass(Class<?> clazz)
Determine whether given class is filterable by entity-filtering.
|
static Set<String> |
getDefaultFilteringScope()
Get a set containing default filtering scope.
|
static Class<?> |
getEntityClass(Type genericType)
A convenience method to get the domain class (i.e.
|
static Map<String,Method> |
getPropertyMethods(Class<?> clazz,
boolean isGetter)
Get accessor method mappings (field -> getter/setter) for given class.
|
public static final Annotation[] EMPTY_ANNOTATIONS
public static boolean filterableEntityClass(Class<?> clazz)
java.*
.clazz
- entity class to be examined.true
whether the class is filterable, false otherwise
.public static Class<?> getEntityClass(Type genericType)
genericType
- type to obtain entity domain class for.public static Map<String,Method> getPropertyMethods(Class<?> clazz, boolean isGetter)
clazz
- entity class to obtain property methods for.isGetter
- flag determining whether to look for getters or setters.Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.