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