798081828384858687
Path path = ( Path ) object; pathSet.add( path.getId( ) + ':' + path.getName( ) ); } else if ( object instanceof Chosen ) { Chosen chosen = ( Chosen ) object; chosenSet.add( chosen.getId( ) + ':' + chosen.getName( ) + ':' + chosen.getHobby( ) ); } }