protected String yesNoText(EOAttribute _attribute, Boolean _bool) {
return yesNoText(_bool, !_attribute.getEntity().isPrototype());
}
public String getColumnText(Object _element, String _property) {
EOSortOrdering sortOrdering = (EOSortOrdering) _element;
String text = null;
if (EOSortOrdering.ASCENDING.equals(_property)) {
// DO NOTHING
} else if (EOSortOrdering.CASE_INSENSITIVE.equals(_property)) {
text = yesNoText(Boolean.valueOf(sortOrdering.isCaseInsensitive()), "i", "s", true);
} else {
text = super.getColumnText(_element, _property);
}
return text;
}