121122123124125126127128129130131
Object obj = objects[0]; if ( obj instanceof ISearch ) { ISearch search = ( ISearch ) obj; exampleSearch = ( ISearch ) search.clone(); exampleSearch.setName( null ); } else if ( obj instanceof IEntry ) { IEntry entry = ( IEntry ) obj;