code: private Map<String, ColumnDefinition> makeColumnMap(ColumnDefinition[] columns)
     {
        Map<String, ColumnDefinition> map = new HashMap<String, ColumnDefinition>();
        for (ColumnDefinition def : columns)
        {
           map.put(def.getName(), def);
        }
        return map;
     }
docs: Convert an array of column definitions into a map keyed by column name.
  
  @param columns array of column definitions
  @return map of column definitions