* @return
*/
private static List<Criterion> getComponentCriterions(String nestedName, Object entity, String property,
String[] excludePropertes, MatchMode mode, boolean ignoreZero) {
List<Criterion> criterions = CollectUtils.newArrayList();
Component component = null;
try {
component = (Component) PropertyUtils.getProperty(entity, property);
} catch (Exception e) {
return Collections.emptyList();
}