/** * return a list maps representing classDefinitions of this instance * @return the list of maps */ public List<Map<String, Object>> toListOfMaps() { ArrayList<Map<String, Object>> returnList = new ArrayList<Map<String, Object>>(this.getDefinitions().size()); for (ClassDefinition classDefinition : this.getDefinitions()) { returnList.add(classDefinition.toMap()); } return returnList; }