public static ManagedObjectReference [ ] createMORs ( ManagedObject [ ] mos ) { if ( mos == null ) { throw new IllegalArgumentException ( ) ; } ManagedObjectReference [ ] mors = new ManagedObjectReference [ mos . length ] ; for ( int i = 0 ; i < mos . length ; i ++ ) { mors [ i ] = mos [ i ] . getMOR ( ) ; } return mors ; }
Takes an array of ManagedObjects and returns the MOR for each MO