/** * Return an array of AttributeNames that correspond to the ids in the metadata. * * @param graph - ondex graph * @param strIds - collection of ids * @return */ public static AttributeName[] convertAttributeNames(final ONDEXGraph graph, final Collection<String> strIds, final Collection<Class> classes) { if (strIds.size() != classes.size()) throw new RuntimeException("convertAttributeNames - arument error. The number of classes supplied is not the same as the nubmer of ids."); return convertAttributeNames(graph, strIds.toArray(new String[strIds.size()]), classes.toArray(new Class[classes.size()])); }