1 /*******************************************************************************
2 * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
3 *******************************************************************************/
4 package com.att.authz.entryConverters;
6 import com.att.dao.aaf.cass.RoleDAO;
7 import com.googlecode.jcsv.writer.CSVEntryConverter;
9 public class RoleEntryConverter extends AafEntryConverter implements CSVEntryConverter<RoleDAO.Data> {
12 public String[] convertEntry(RoleDAO.Data rd) {
13 String[] columns = new String[4];
17 columns[2] = formatSet(rd.perms);
18 columns[3] = rd.description==null?"":rd.description;