public static String generateNativeGuid(DbClient dbClient,StoragePort port){
  StorageSystem device=dbClient.queryObject(StorageSystem.class,port.getStorageDevice());
  return String.format("%s+%s+" + PORT + "+%s",_deviceTypeMap.get(device.getSystemType()),device.getSerialNumber(),port.getPortNetworkId());
}

public static String generateNativeGuid ( DbClient dbClient , StoragePort port ) { StorageSystem device = dbClient . queryObject ( StorageSystem . class , port . getStorageDevice ( ) ) ; return String . format ( "%s+%s+" + PORT + "+%s" , _deviceTypeMap . get ( device . getSystemType ( ) ) , device . getSerialNumber ( ) , port . getPortNetworkId ( ) ) ; }
generates the native guid format as storagesystem + serialnumber + port + wwn for storgeport objects
