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