protected String buildColumnString() { StringBuilder sb = new StringBuilder(); String delimiter = ", "; sb.append(delimiter).append(getIntegerNonDigitSum()); if (sb.length() > delimiter.length()) { sb.delete(0, delimiter.length()); } sb.insert(0, "{").append("}"); return sb.toString(); }
protected String buildColumnString() { StringBuilder sb = new StringBuilder(); String delimiter = ", "; sb.append(delimiter).append(getMemberId()); sb.append(delimiter).append(getMemberName()); sb.append(delimiter).append(xfUD(getBirthdate())); sb.append(delimiter).append(getMemberStatusName()); if (sb.length() > delimiter.length()) { sb.delete(0, delimiter.length()); } sb.insert(0, "{").append("}"); return sb.toString(); }
/** {@inheritDoc} */ public String buildDisplayString(String name, boolean column, boolean relation) { StringBuilder sb = new StringBuilder(); if (name != null) { sb.append(name).append(column || relation ? ":" : ""); } if (column) { sb.append(buildColumnString()); } if (relation) { sb.append(buildRelationString()); } sb.append("@").append(Integer.toHexString(hashCode())); return sb.toString(); }
/** {@inheritDoc} */ public String toStringWithRelation() { StringBuilder sb = new StringBuilder(); sb.append(toString()); return sb.toString(); }