@Override public String getDisplayName() { if (StringUtils.isNotEmpty(displayName)) { return displayName; } return ContainerWrapper.getDisplayNameFromItem(property); }
@Override public String toString() { StringBuilder builder = new StringBuilder(); builder.append("ObjectWrapper("); builder.append(ContainerWrapper.getDisplayNameFromItem(object)); builder.append(" ("); builder.append(status); builder.append(") "); builder.append(getContainers() == null ? null : getContainers().size()); builder.append(" containers)"); return builder.toString(); }