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