@Test public void testFormatConditionOperation() throws Exception { Assert.assertTrue("=".equals( generator.formatConditionOperation(FilterCriteria.Operation.EQUAL))); Assert.assertTrue(">".equals( generator.formatConditionOperation(FilterCriteria.Operation.GREATER_THAN))); Assert.assertTrue(" is not null ".equals( generator.formatConditionOperation(FilterCriteria.Operation.IS_NOT_NULL))); Assert.assertTrue(" is null ".equals( generator.formatConditionOperation(FilterCriteria.Operation.IS_NULL))); Assert.assertTrue("<".equals( generator.formatConditionOperation(FilterCriteria.Operation.LESS_THAN))); Assert.assertTrue(" like ".equals( generator.formatConditionOperation(FilterCriteria.Operation.LIKE))); Assert.assertTrue("<>".equals( generator.formatConditionOperation(FilterCriteria.Operation.NOT_EQUAL))); }
protected String formatConditionOperation(FilterCriteria.Operation operation) { return operationSymbolMap.get(operation); }
DefaultSqlGenerator implements SqlGenerator { protected String formatConditionOperation(FilterCriteria.Operation operation) { return operationSymbolMap.get(operation); } }
DefaultSqlGenerator implements SqlGenerator { protected String formatConditionOperation(FilterCriteria.Operation operation) { return operationSymbolMap.get(operation); } DefaultSqlGenerator(); }
DefaultSqlGenerator implements SqlGenerator { protected String formatConditionOperation(FilterCriteria.Operation operation) { return operationSymbolMap.get(operation); } DefaultSqlGenerator(); SqlStatement generateSelect(Topic topic, CompositeCriteria searchCriteria,
			String[] fieldNames); }
DefaultSqlGenerator implements SqlGenerator { protected String formatConditionOperation(FilterCriteria.Operation operation) { return operationSymbolMap.get(operation); } DefaultSqlGenerator(); SqlStatement generateSelect(Topic topic, CompositeCriteria searchCriteria,
			String[] fieldNames);  }