public static hanode [ ] get ( nitro_service service , Long id [ ] ) throws Exception { if ( id != null && id . length > 0 ) { hanode response [ ] = new hanode [ id . length ] ; hanode obj [ ] = new hanode [ id . length ] ; for ( int i = 0 ; i < id . length ; i ++ ) { obj [ i ] = new hanode ( ) ; obj [ i ] . set_id ( id [ i ] ) ; response [ i ] = ( hanode ) obj [ i ] . get_resource ( service ) ; } return response ; } return null ; }
Use this API to fetch hanode resources of given names .