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