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