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