@Test public void testBundle() { Assert.assertTrue(ConstraintsConverter.newBundle().getSupportedJavaConstraints().contains(NoDelay.class)); Assert.assertTrue(ConstraintsConverter.newBundle().getSupportedJSONConstraints().contains(new NoDelayConverter().getJSONId())); }
@Override public String getJSONId() { return "noDelay"; }
NoDelayConverter implements ConstraintConverter<NoDelay> { @Override public String getJSONId() { return "noDelay"; } }
NoDelayConverter implements ConstraintConverter<NoDelay> { @Override public String getJSONId() { return "noDelay"; }  }
NoDelayConverter implements ConstraintConverter<NoDelay> { @Override public String getJSONId() { return "noDelay"; }  @Override Class<NoDelay> getSupportedConstraint(); @Override String getJSONId(); @Override NoDelay fromJSON(Model mo, JSONObject in); @Override JSONObject toJSON(NoDelay noDelay); }
NoDelayConverter implements ConstraintConverter<NoDelay> { @Override public String getJSONId() { return "noDelay"; }  @Override Class<NoDelay> getSupportedConstraint(); @Override String getJSONId(); @Override NoDelay fromJSON(Model mo, JSONObject in); @Override JSONObject toJSON(NoDelay noDelay);  }