String label = "\"" + (sourceName == null || sourceName.isEmpty() && source != null ? source.eClass().getName() : sourceName) + "\" ";
Object weight = ((Rating)object).getWeight();
label += "-(" + (weight == null ? "" : weight.toString()) + ")";
label += "-> \""+ (targetName == null || targetName.isEmpty() && target != null ? target.eClass().getName() : targetName) + "\"";
return getString("_UI_Rating_type") +label;
}
}