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