@Override
    @SuppressWarnings("nls")
    public String toString() {
        final int maxLen = 10;
        return "MembershipData [userId=" + userId + ", roles="
                + (roles != null ? toString(roles, maxLen) : null) + "]";
    }
@param userId the userId to set
manager/api/beans/src/main/java/io/apiman/manager/api/beans/audit/data/MembershipData.java