Example #1
0
 /** @see java.lang.Comparable#compareTo(Object) */
 @Override
 public int compareTo(final KeyCriterion inKeyCriterion) {
   return position - inKeyCriterion.getPosition();
 }
 @Override
 public String getValue(final KeyCriterion inCriterion) { // NOPMD by lbenno
   final ValueForSQL lSQLValue = new ValueForSQL(inCriterion.getValue());
   return String.format("%1$s%2$s%1$s", lSQLValue.getDelimiter(), lSQLValue.getValueAsString());
 }