@Override public String toString() { final StringMaker sm = new StringMaker(); sm.append("label", getLabel()); sm.append("description", getDescription()); sm.append("visibility", getVisibility(), ItemVisibility.NORMAL); sm.append("required", isRequired()); sm.append("persisted", isPersisted()); sm.append("persistKey", getPersistKey()); sm.append("callback", getCallback()); sm.append("widgetStyle", getWidgetStyle()); sm.append("default", getDefaultValue()); sm.append("min", getMinimumValue()); sm.append("max", getMaximumValue()); sm.append("softMin", getSoftMinimum()); sm.append("softMax", getSoftMaximum()); sm.append("stepSize", getStepSize(), NumberUtils.toNumber("1", getType())); sm.append("columnCount", getColumnCount(), 6); sm.append("choices", getChoices()); return getName() + ": " + sm.toString(); }
@Override public String toString() { final StringMaker sm = new StringMaker(); sm.append("label", getLabel()); sm.append("description", getDescription()); sm.append("visibility", getVisibility(), ItemVisibility.NORMAL); sm.append("required", isRequired()); sm.append("persisted", isPersisted()); sm.append("persistKey", getPersistKey()); sm.append("callback", getCallback()); sm.append("widgetStyle", getWidgetStyle()); sm.append("default", getDefaultValue()); sm.append("min", getMinimumValue()); sm.append("max", getMaximumValue()); sm.append("softMin", getSoftMinimum()); sm.append("softMax", getSoftMaximum()); sm.append("stepSize", getStepSize(), NumberUtils.toNumber("1", getType())); sm.append("columnCount", getColumnCount(), 6); sm.append("choices", getChoices()); return getName() + ": " + sm.toString(); }