private static void loadObject(final AbstractGetInfo<?> data, final NodeFactory node) { if (node.getInfos() != null) { final String[] keys = node.getInfos().keySet().toArray(new String[node.getInfos().keySet().size()]); for (final String key : keys) { data.setInfo(key + EMPTY, node.getInfos().get(key)); } } }
@Override public Object visiteCategory(final NodeCategory parent, final Object data) { final AbstractGetInfo cat = new ObjCategorie(parent._label, parent._id); cat.setInfo("AGE", parent._age); return cat; }