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