@Test public void testFailOnInvalidValue1() throws Exception { assertFalse(constraint.validate("VIOLET")); }
@Override public boolean validate(Object object) { if (object == null) { return true; } return resolver.validate(object); }
ObjectResolverConstraint extends AbstractConstraint { @Override public boolean validate(Object object) { if (object == null) { return true; } return resolver.validate(object); } }
ObjectResolverConstraint extends AbstractConstraint { @Override public boolean validate(Object object) { if (object == null) { return true; } return resolver.validate(object); } ObjectResolverConstraint(ObjectResolver resolver); }
ObjectResolverConstraint extends AbstractConstraint { @Override public boolean validate(Object object) { if (object == null) { return true; } return resolver.validate(object); } ObjectResolverConstraint(ObjectResolver resolver); ObjectResolver getResolver(); @Override boolean validate(Object object); @Override Description getDescription(); @Override String getErrorMessage(Object invalidValue, Locale locale); }
ObjectResolverConstraint extends AbstractConstraint { @Override public boolean validate(Object object) { if (object == null) { return true; } return resolver.validate(object); } ObjectResolverConstraint(ObjectResolver resolver); ObjectResolver getResolver(); @Override boolean validate(Object object); @Override Description getDescription(); @Override String getErrorMessage(Object invalidValue, Locale locale);  }