private CreateVolumeParams populateVolumeParams(URI volumeId,URI storageSystemId,URI neighborhoodId,String internalSiteName,boolean production,String rpCopyName,String wwn,int maxNumberOfSnapShots){
  CreateVolumeParams volumeParams=new CreateVolumeParams();
  volumeParams.setVirtualArray(neighborhoodId);
  volumeParams.setProduction(production);
  volumeParams.setInternalSiteName(internalSiteName);
  volumeParams.setStorageSystem(storageSystemId);
  volumeParams.setVolumeURI(volumeId);
  volumeParams.setRpCopyName(rpCopyName);
  volumeParams.setWwn(wwn);
  volumeParams.setMaxNumberOfSnapShots(maxNumberOfSnapShots);
  return volumeParams;
}

private CreateVolumeParams populateVolumeParams ( URI volumeId , URI storageSystemId , URI neighborhoodId , String internalSiteName , boolean production , String rpCopyName , String wwn , int maxNumberOfSnapShots ) { CreateVolumeParams volumeParams = new CreateVolumeParams ( ) ; volumeParams . setVirtualArray ( neighborhoodId ) ; volumeParams . setProduction ( production ) ; volumeParams . setInternalSiteName ( internalSiteName ) ; volumeParams . setStorageSystem ( storageSystemId ) ; volumeParams . setVolumeURI ( volumeId ) ; volumeParams . setRpCopyName ( rpCopyName ) ; volumeParams . setWwn ( wwn ) ; volumeParams . setMaxNumberOfSnapShots ( maxNumberOfSnapShots ) ; return volumeParams ; }
assemble the createvolumeparams object with the input arguments . written to keep the prepare code tidy .
