Example #1
0
 /** @{@inheritDoc} */
 @Override
 public String toString() {
   return super.toString() + ": " + crn.toString();
 }
Example #2
0
 /** {@inheritDoc} */
 public <UJO extends Ujo> ValidationError validate(VALUE input, Key<UJO, VALUE> key, UJO bo) {
   final boolean ok = input == null || crn.evaluate(input);
   return !ok ? createError(input, key, bo, service.map(CRN, crn.toString())) : null;
 }