if (parentElement instanceof Entry) {
return getState().getReports();
}
if (parentElement instanceof Data) {
Set<Entry<String, List<Data>>> set = getState().getReports().entrySet();
Data data=(Data) parentElement;
for( Entry<String, List<Data>> entry : set ) {
if(entry.getKey().equals(data.id)){
if( entry.getValue().size()==1 )
return getState().getReports();
return entry;