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