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