public class ObjectContext { public void set(String characteristicName, Object value, boolean forced) { //... } }