@Test public void testCriteriaEq() throws Exception { assertNull(HQLUtils.criteriaEq(null)); assertNull(HQLUtils.criteriaEq(" ")); assertEquals("aBc", HQLUtils.criteriaEq("aBc")); assertEquals(" aBc ", HQLUtils.criteriaEq(" aBc ")); }
public static String criteriaEq(final String value) { if (StringUtils.isBlank(value)) { return null; } return value; }
HQLUtils { public static String criteriaEq(final String value) { if (StringUtils.isBlank(value)) { return null; } return value; } }
HQLUtils { public static String criteriaEq(final String value) { if (StringUtils.isBlank(value)) { return null; } return value; } private  HQLUtils(); }
HQLUtils { public static String criteriaEq(final String value) { if (StringUtils.isBlank(value)) { return null; } return value; } private  HQLUtils(); static String criteriaIlikeAnywhere(final String value); static String criteriaLikeAnywhere(final String value); static String criteriaIeq(final String value); static String criteriaEq(final String value); static Object criteriaInTest(final Collection value); static Collection criteriaIn(final Collection value); static void appendBlacklistCriteria(final StringBuilder toAppendTo,
                                               final List<Object> params,
                                               final String selector,
                                               final List<Pair<String, List>> blacklist); static void appendFilterCriteria(final StringBuilder toAppendTo,
                                            final List<Object> params,
                                            final String selector,
                                            final Map<String, List> filter); }
HQLUtils { public static String criteriaEq(final String value) { if (StringUtils.isBlank(value)) { return null; } return value; } private  HQLUtils(); static String criteriaIlikeAnywhere(final String value); static String criteriaLikeAnywhere(final String value); static String criteriaIeq(final String value); static String criteriaEq(final String value); static Object criteriaInTest(final Collection value); static Collection criteriaIn(final Collection value); static void appendBlacklistCriteria(final StringBuilder toAppendTo,
                                               final List<Object> params,
                                               final String selector,
                                               final List<Pair<String, List>> blacklist); static void appendFilterCriteria(final StringBuilder toAppendTo,
                                            final List<Object> params,
                                            final String selector,
                                            final Map<String, List> filter);  }