@Override public String toString() { return new StringBuilder() .append(getDisplayName()) .append(" : ") .append(getDisplayValue()) .toString(); }
@Override public String toString() { return new StringBuilder() .append(getDisplayName()) .append(" : ") .append(getDisplayValue()) .toString(); }
/** * Returns <code>true</code> if any property on UI was filled for search. * If none returns <code>false</code>. Put all filled properties to new list. * * @return <code>true</code> if any property on UI was filled for search. * If none returns <code>false</code>. */ public boolean isAnyPropertyFilled() { filledPropsForSearch.clear(); boolean result = false; for(TableProperty prop : propForSearch) { if (prop.getValue() != null && StringUtils.isNotEmpty(prop.getDisplayValue())){ filledPropsForSearch.add(prop); result = true; } } return result; }