private static List<Object> generateCollectionConfigs(Map<String,String> nameMap){
  List<Object> output=new LinkedList<Object>();
  for (  String resourceNameString : nameMap.keySet()) {
    Map<String,Object> collectionMap=new LinkedHashMap<String,Object>();
    collectionMap.put(CONFIG_KEY_NAME_PATTERN,resourceNameString);
    collectionMap.put(CONFIG_KEY_ENTITY_NAME,nameMap.get(resourceNameString));
    output.add(collectionMap);
  }
  return output;
}

private static List < Object > generateCollectionConfigs ( Map < String , String > nameMap ) { List < Object > output = new LinkedList < Object > ( ) ; for ( String resourceNameString : nameMap . keySet ( ) ) { Map < String , Object > collectionMap = new LinkedHashMap < String , Object > ( ) ; collectionMap . put ( CONFIG_KEY_NAME_PATTERN , resourceNameString ) ; collectionMap . put ( CONFIG_KEY_ENTITY_NAME , nameMap . get ( resourceNameString ) ) ; output . add ( collectionMap ) ; } return output ; }
generates a collection configurations section .
