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