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