GraphicLayer lyr;
Map<String,Object> attr = new HashMap<String,Object>(); attr.put(this.objectIdField, oid); Graphic graphic = new Graphic(selection, currentSymbol,attr,0);lyr.addGraphic(graphic);