class ViewHelper {

    public String memberText(GroupDocumentation g, GroupMember m)
    {
        StringBuffer sb = new StringBuffer(m.getId());

        if(!m.isSizeIndicator())
        {
            // Not the size indicator so add 1..max
            sb.append("1 to " + g.getMax());
        }

        return sb.toString();
    }

}