code: private Object populateEntityFromSlice(EntityMetadata m, List<String> relationNames, boolean isWrapReq, Object e,
              Map<ByteBuffer, List<ColumnOrSuperColumn>> columnOrSuperColumnsFromRow) throws CharacterCodingException
      {
          ThriftDataResultHelper dataGenerator = new ThriftDataResultHelper();
          for (ByteBuffer key : columnOrSuperColumnsFromRow.keySet())
          {
              Object id = PropertyAccessorHelper.getObject(m.getIdAttribute().getJavaType(), key.array());
              ThriftRow tr = new ThriftRow();
              tr.setColumnFamilyName(m.getTableName());
              tr.setId(id);
              tr = dataGenerator.translateToThriftRow(columnOrSuperColumnsFromRow, m.isCounterColumnType(), m.getType(),
                      tr);
              e = populateEntity(tr, m, e, relationNames, isWrapReq);
          }
          return e;
      }
docs: Populate entity from slice.
  
  @param m the m
  @param relationNames the relation names
  @param isWrapReq the is wrap req
  @param e the e
  @param columnOrSuperColumnsFromRow the column or super columns from row
  @return the object
  @throws CharacterCodingException the character coding exception