protected List<VPlexRecommendation> createVPlexRecommendations(String vplexStorageSystemId,VirtualArray varray,VirtualPool vpool,List<Recommendation> recommendations){
  List<VPlexRecommendation> vplexRecommendations=new ArrayList<VPlexRecommendation>();
  for (  Recommendation recommendation : recommendations) {
    VPlexRecommendation vplexRecommendation=new VPlexRecommendation();
    vplexRecommendation.setSourceStorageSystem(recommendation.getSourceStorageSystem());
    vplexRecommendation.setSourceStoragePool(recommendation.getSourceStoragePool());
    vplexRecommendation.setResourceCount(recommendation.getResourceCount());
    vplexRecommendation.setVPlexStorageSystem(URI.create(vplexStorageSystemId));
    vplexRecommendation.setVirtualArray(varray.getId());
    vplexRecommendation.setVirtualPool(vpool);
    vplexRecommendations.add(vplexRecommendation);
  }
  return vplexRecommendations;
}

protected List < VPlexRecommendation > createVPlexRecommendations ( String vplexStorageSystemId , VirtualArray varray , VirtualPool vpool , List < Recommendation > recommendations ) { List < VPlexRecommendation > vplexRecommendations = new ArrayList < VPlexRecommendation > ( ) ; for ( Recommendation recommendation : recommendations ) { VPlexRecommendation vplexRecommendation = new VPlexRecommendation ( ) ; vplexRecommendation . setSourceStorageSystem ( recommendation . getSourceStorageSystem ( ) ) ; vplexRecommendation . setSourceStoragePool ( recommendation . getSourceStoragePool ( ) ) ; vplexRecommendation . setResourceCount ( recommendation . getResourceCount ( ) ) ; vplexRecommendation . setVPlexStorageSystem ( URI . create ( vplexStorageSystemId ) ) ; vplexRecommendation . setVirtualArray ( varray . getId ( ) ) ; vplexRecommendation . setVirtualPool ( vpool ) ; vplexRecommendations . add ( vplexRecommendation ) ; } return vplexRecommendations ; }
sets the id of the vplex storage system into the passed recommendations .
