private UnManagedConsistencyGroup createUnManagedCG(String unManagedCGNativeGuid,XtremIOConsistencyGroup consistencyGroup,URI storageSystemURI,DbClient dbClient){
  UnManagedConsistencyGroup unManagedCG=new UnManagedConsistencyGroup();
  unManagedCG.setId(URIUtil.createId(UnManagedConsistencyGroup.class));
  unManagedCG.setLabel(consistencyGroup.getName());
  unManagedCG.setName(consistencyGroup.getName());
  unManagedCG.setNativeGuid(unManagedCGNativeGuid);
  unManagedCG.setStorageSystemUri(storageSystemURI);
  unManagedCG.setNumberOfVols(consistencyGroup.getNumOfVols());
  dbClient.createObject(unManagedCG);
  return unManagedCG;
}

private UnManagedConsistencyGroup createUnManagedCG ( String unManagedCGNativeGuid , XtremIOConsistencyGroup consistencyGroup , URI storageSystemURI , DbClient dbClient ) { UnManagedConsistencyGroup unManagedCG = new UnManagedConsistencyGroup ( ) ; unManagedCG . setId ( URIUtil . createId ( UnManagedConsistencyGroup . class ) ) ; unManagedCG . setLabel ( consistencyGroup . getName ( ) ) ; unManagedCG . setName ( consistencyGroup . getName ( ) ) ; unManagedCG . setNativeGuid ( unManagedCGNativeGuid ) ; unManagedCG . setStorageSystemUri ( storageSystemURI ) ; unManagedCG . setNumberOfVols ( consistencyGroup . getNumOfVols ( ) ) ; dbClient . createObject ( unManagedCG ) ; return unManagedCG ; }
creates a new unmanagedconsistencygroup object in the database
