/** {@inheritDoc} */ public String toStringWithRelation() { StringBuilder sb = new StringBuilder(); sb.append(toString()); String l = "\n "; if (_nextSchemaProductStatus != null) { sb.append(l).append(xbRDS(_nextSchemaProductStatus, "nextSchemaProductStatus")); } return sb.toString(); }
protected String buildRelationString() { StringBuilder sb = new StringBuilder(); String c = ","; if (_nextSchemaProductStatus != null) { sb.append(c).append("nextSchemaProductStatus"); } if (sb.length() > c.length()) { sb.delete(0, c.length()).insert(0, "(").append(")"); } return sb.toString(); }
protected String buildColumnString() { StringBuilder sb = new StringBuilder(); String delimiter = ", "; sb.append(delimiter).append(getRefNextTargetId()); sb.append(delimiter).append(getNextTargetCode()); 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(); }