private static String constructNotifierForOtherEndMany( PropertyWrapper propertyWrapper, PropertyWrapper otherEnd) { return UmlgGenerationUtil.UmlgNotificationManager.getLast() + ".INSTANCE.notify(\n\t" + propertyWrapper.getTumlRuntimePropertyEnum() + ",\n\tChangeHolder.of(\n\t\t" + otherEnd.fieldname() + ",\n\t\t" + propertyWrapper.getTumlRuntimePropertyEnum() + ",\n\t\t" + "ChangeHolder.ChangeType.DELETE,\n\t\t" + "this.toJson()" + "\n\t)\n)"; }
private static String constructNotifier(PropertyWrapper propertyWrapper) { return UmlgGenerationUtil.UmlgNotificationManager.getLast() + ".INSTANCE.notify(\n\t" + propertyWrapper.getTumlRuntimePropertyEnum() + ",\n\tChangeHolder.of(\n\t\tthis." + PropertyWrapper.from(propertyWrapper.getOtherEnd()).getter() + "()" + ",\n\t\t" + propertyWrapper.getTumlRuntimePropertyEnum() + ",\n\t\t" + "ChangeHolder.ChangeType.DELETE,\n\t\t" + "this.toJson()" + "\n\t)\n)"; }